当我输入时apt-get install upgrade
,出现错误:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up linux-netizen (1.0.1-1) ...
chrome: no process found
dpkg: error processing linux-netizen (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-netizen
E: Sub-process /usr/bin/dpkg returned an error code (1)
所以我尝试了一些方法来解决这个问题:
sudo apt-get install -f
和
sudo apt-get install --configure -a
但所有方法都不起作用。请帮帮我......
答案1
首先删除包:
sudo dpkg -r linux-netizen
然后删除 dpkg 状态文件中该包的条目:
所以跑
gksudo gedit /var/lib/dpkg/status
然后搜索并删除以Package: linux-netizen
然后升级。