每当我尝试安装任何程序时,我都会不断收到此错误:
Setting up intellij-idea-community (2016.3.4-1) ...
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)
可能存在什么问题?
答案1
如果您同意删除intellij-idea-community
。
sudo dpkg --remove --force-remove-reinstreq --dry-run intellij-idea-community
输出--dry-run
看起来还好吗?如果可以,运行
sudo dpkg --remove --force-remove-reinstreq intellij-idea-community