在执行当前 LTS 版本的中间阶段do-release-upgrade
,它在安装软件包 36% 时崩溃。最后一条消息是:
proc: bad value for 'hidepid'
the daemon crashed mid-transaction
我如何才能了解更多信息,以及如何修复它并完成升级?
更新:在此之前,有很多行:Installing packages
一开始:
dpkg: dependency problems prevent configuration of packagekit-tools:
packagekit-tools depends on packagekit (= 1.2.5-2ubuntu2); however:
Package packagekit is not installed.
dpkg: error processing package packagekit-tools (--configure):
dependency problems - leaving unconfigured
如果我再次尝试这样做:
# do-release-upgrade
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS development release
set Prompt=normal in /etc/update-manager/release-upgrades.
$ cat /etc/issue
Ubuntu 22.04.1 LTS \n \l
因此安装至少部分成功(在最新内核上重启失败,但在之前的内核上重启成功)。但在登录时显示:
805 updates can be applied immediately.
30 of these updates are standard security updates.
我首先这样做了aptitude install packagekit
,然后aptitude update && aptitude full-upgrade && reboot
它似乎起作用了:干净启动、最新版本、最新内核。