![处理时遇到错误:intellij-idea-community](https://linux22.com/image/1089360/%E5%A4%84%E7%90%86%E6%97%B6%E9%81%87%E5%88%B0%E9%94%99%E8%AF%AF%EF%BC%9Aintellij-idea-community.png)
每当我尝试安装任何程序时,我都会不断收到此错误:
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