我已经将台式机从4.4.0-36更新到了4.4.0-38内核(没关系)。重新启动后,我无法再登录计算机。
使用grub的Advanced,我选择了旧的4.4.0-36内核,并尝试删除新的4.4.0-38。
上述错误的详细信息。当尝试使用以下命令删除内核时:
sudo apt-get purge linux-image-4.4.0-34-generic
=>
The following packages have unmet dependencies: linux-headers-4.4.0-38-generic : Depends: linux-headers-4.4.0-38 but it is not going to be installed E: Unmet dependencies.
或者
sudo apt-get purge linux-image-4.4.0-38-generic
=>
The following packages have unmet dependencies: linux-headers-4.4.0-38-generic : Depends: linux-headers-4.4.0-38 but it is not going to be installed linux-image-extra-4.4.0-38-generic : Depends: linux-image-4.4.0-38-generic but it is not going to be installed linux-image-generic-lts-xenial : Depends: linux-image-4.4.0-38-generic but it is not going to be installed E: Unmet dependencies.
和
sudo apt-get -f install
不会解决。
我发现了这个问题,升级时没有足够的可用磁盘空间,并用它释放了我的ubuntu分区上的空间。
作为临时修复,我使用了“设置”较旧的”内核作为默认grub条目,以将默认内核设置为4.4.0-36,以便使用计算机。
与David Foerster讨论之后,我阅读了以下apt-get:设备(12.04)上没有剩余空间,我发现inode的可用空间为1%。您可以使用以下方法对此进行修正:
df -ih /usr/src
我的结果是:
Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda6 550K 540K 11K 99% /
在遇到这个问题之前,我发现了这个问题:升级时没有足够的可用磁盘空间,并用它释放了我的ubuntu分区上的空间,但没有释放出inode的空间。因此,使用上面的问题apt-get:设备(12.04)上没有空间了,我这样做了,现在我的问题就解决了。
从现在开始,我将使用“升级时没有足够的可用磁盘空间”和以下apt-get释放空间:设备(12.04)上没有剩余空间来避免这种问题。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句