Ubuntu 升级在“apt-get -f install”处挂起

Ubuntu 升级在“apt-get -f install”处挂起

我对我的 Ubuntu 盒子做了一些事情,但我不知道是什么...说实话,我甚至不确定我是怎么来到这里的,我已经看了它很久了......

$ uname -r
4.4.0-127-generic

我有以下图片标题

flare@Flare:~$ sudo dpkg --list | grep linux-image
ii  linux-image-4.4.0-112-generic       4.4.0-112.135                             
ii  linux-image-extra-4.4.0-112-generic 4.4.0-112.135                             
flare@Flare:~$ sudo dpkg --list | grep linux-headers
ri  linux-headers-4.4.0-112             4.4.0-112.135                             
rH  linux-headers-4.4.0-112-generic     4.4.0-112.135 

当我尝试奔跑

$ sudo apt-get update; sudo apt-get dist-upgrade -y

一切看起来都很好然后它结束了......

Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 linux-generic : Depends: linux-image-generic (= 4.4.0.127.133) but it is not installed
                 Depends: linux-headers-generic (= 4.4.0.127.133) but it is not installed
E: Unmet dependencies. Try using -f.

当我跑步时

$ sudo apt-get -f install

它挂了

Fetched 58.6 MB in 9s (6,401 kB/s)
(Reading database ... 62742 files and directories currently installed.)
Removing linux-headers-4.4.0-112-generic (4.4.0-112.135) ...

我能做些什么吗?谢谢!

flare@Flare:~$ sudo df -h
[sudo] password for flare:
Filesystem                  Size  Used Avail Use% Mounted on
udev                        2.0G     0  2.0G   0% /dev
tmpfs                       396M  5.6M  390M   2% /run
/dev/mapper/Flare--vg-root   90G  2.5G   83G   3% /
tmpfs                       2.0G     0  2.0G   0% /dev/shm
tmpfs                       5.0M     0  5.0M   0% /run/lock
tmpfs                       2.0G     0  2.0G   0% /sys/fs/cgroup
/dev/sda1                   236M   56M  168M  25% /boot
cgmfs                       100K     0  100K   0% /run/cgmanager/fs
tmpfs                       396M     0  396M   0% /run/user/1000

相关内容