简体   繁体   中英

Ubuntu apt-get install error from nonexisting files

Couple of days ago I tried to install intellij. From that moment every time I want to install anything using command sudo apt-get install I get an error:

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)

I can't install anything. I tried to delete all intellij files which I've found, but there is probably some script which tries to install those files. Could you help me?

Example

此行解决了问题sudo dpkg --force-remove-reinstreq --remove intellij-idea-community

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM