几天前我尝试安装 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 文件,但可能有一些脚本试图安装这些文件。 你能帮帮我吗?
最佳答案
这一行解决了问题
sudo dpkg --force-remove-reinstreq --remove intellij-idea-community
关于Ubuntu apt-get 从不存在的文件安装错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46503992/