sudo apt --fix-broken install 报错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
头像
durongze
帖子: 53
注册时间: 2013-01-26 14:09

sudo apt --fix-broken install 报错

#1

帖子 durongze » 2019-12-10 20:03

duyongze@dell-pc:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
thunderbird
Suggested packages:
ttf-lyx
The following packages will be upgraded:
thunderbird
1 upgraded, 0 newly installed, 0 to remove and 218 not upgraded.
3 not fully installed or removed.
Need to get 0 B/41.1 MB of archives.
After this operation, 134 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
E: Sub-process dpkg --set-selections returned an error code (100)
E: Couldn't clean the currently selected dpkg states



dpkg还没有安装,咋整捏?
头像
astolia
论坛版主
帖子: 6703
注册时间: 2008-09-18 13:11

Re: sudo apt --fix-broken install 报错

#2

帖子 astolia » 2019-12-14 11:39

durongze 写了: 2019-12-10 20:03 dpkg还没有安装,咋整捏?
dpkg默认就有,什么叫还没有安装?手贱误删了?
头像
durongze
帖子: 53
注册时间: 2013-01-26 14:09

Re: sudo apt --fix-broken install 报错

#3

帖子 durongze » 2021-07-30 0:14

astolia 写了: 2019-12-14 11:39
durongze 写了: 2019-12-10 20:03 dpkg还没有安装,咋整捏?
dpkg默认就有,什么叫还没有安装?手贱误删了?
早都重装了,当时好像是手动给删掉了,
回复