我使用的是 ubuntu 14.04 LTS,它一直弹出一条消息,要求我升级到 16.04。所以有一天我点击了“是”。但后来,它失败了,它说它将恢复到旧系统(即 14.04)。这几乎是成功的,除了其中一个启动屏幕显示“Ubuntu 16.04”。到目前为止,我还没有注意到其他差异。升级错误消息是:
Could not install 'linux-image-extra-4.4.0-34-generic'
The upgrade will continue but the 'linux-image-extra-4.4.0-34-generic' package may not be in a working state. Please consider submitting a bug report about it.
subprocess installed post-installation script returned error exit status 1
Could not install 'initramfs-tools'
The upgrade will continue but the 'initramfs-tools' package may not be in a working state. Please consider submitting a bug report about it.
subprocess installed post-installation script returned error exit status 1
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A recovery will run now (dpkg --configure -a).
我估计升级失败的原因至少有一点可能是磁盘已满/boot
。所以我清理了一下,然后尝试再次升级。但现在我不知道该怎么做了。自动提醒不再跳出来了。我尝试了命令行,响应如下:
sudo do-release-upgrade
Checking for a new Ubuntu release
No new release found
那么我该如何重新启用升级?
答案1
看来您的升级部分成功,除了可能没有更新到最新的内核。由于您现在已经在 /boot 中腾出了空间,您可以尝试安装元包,linux-generic-lts-xenial
它将为您提供最新的 xenial 内核。
如果升级的其他部分没有成功,我不知道如何诊断。