我已经升级了我的ubuntu艺术到仿生测试版。但是我在使用命令sudo apt update && sudo apt upgrade后得到了这个错误,下面是错误消息:
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up i2p (0.9.34-1ubuntu3) ...
/var/lib/dpkg/info/i2p.config: 14: /etc/default/i2p: RUN_AS_ROOT: not found
dpkg: error processing package i2p (--configure):
installed i2p package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
i2p
E: Sub-process /usr/bin/dpkg returned an error code (1)我一直在尝试sudo apt install -f和sudo dpkg --configure -a,它们总是会出现同样的错误。
发布于 2018-04-27 07:14:30
试一试
sudo dpkg --configure --pending这将显示问题包,然后您只需使用
sudo apt remove sudo apt-get remove <package_name>然后跑
sudo apt-get update
sudo apt-get upgradehttps://askubuntu.com/questions/1028649
复制相似问题