来自不存在的文件

时间:2017-09-30 15:07:48

标签: ubuntu intellij-idea install apt-get

几天前我尝试安装intellij。从那一刻起,每当我想使用命令sudo apt-get install安装任何东西时,我都会收到错误:

tar: /opt/ideaIC-*: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
dpkg: error processing package intellij-idea-community (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 intellij-idea-community
E: Sub-process /usr/bin/dpkg returned an error code (1)

我无法安装任何东西。我试图删除我找到的所有intellij文件,但可能有一些脚本试图安装这些文件。 你能帮帮我吗?

Example

1 个答案:

答案 0 :(得分:0)

此行修复了问题 sudo dpkg --force-remove-reinstreq --remove intellij-idea-community