我刚刚加入,并不是一个高级 Ubuntu 用户,所以请原谅我的无能。
安装失败后,我尝试删除 stremio:
sudo apt-get remove stremio
输出为:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package stremio needs to be reinstalled, but I can't find an archive for it.
有没有办法完全删除它而不重新安装?谢谢您的回答!
编辑:嗨,谢谢你的帮助!我尝试了命令
sudo dpkg --purge --force-all stremio
我得到了以下输出:
dpkg: Waring: overriding problem because --force enabled:
dpkg: Warning: package is in a very bad inconsistent state; you should
reinstall it before attempting a removal
(Reading database ... 225876 files and directories currently installed
.)
Removing stremio (4.4.116-1) ...
/var/lib/dpkg/info/stremio.perm: line 7: cd: purge):/opt/stremio/icons: No such file or directory
dpkg: error processing package stremio (--purge):
installed stremio package pre-removal script subprocess returned error exit status 1
xdg-desktop-menu: file '/opt/stremio/smartcode-stremio.desktop' does not exist
/var/lib/dpkg/info/stremio.postinst: line 7: cd /opt/stremio/icons: No such file or directory
dpkg: error while cleaning up:
installed stremio package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
stremio
我很抱歉我的格式化/编码技能很差,希望您或多或少地看到了问题所在。我想,没有其他选择。我必须先重新安装 stremio,然后将其删除...顺便说一句,我正在使用 ubuntu 20.04.1 LTS
无论如何,感谢你们的帮助!干杯!