从 18.04.6 更新到 20.04.6 后,即使有 3 个恢复模式选项,GNU GRUB 也会出现内核崩溃

从 18.04.6 更新到 20.04.6 后,即使有 3 个恢复模式选项,GNU GRUB 也会出现内核崩溃

从 ubuntu 18.04 更新到 20.04。出现以下错误:

A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. E:Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi', E:Sub-process returned an error code

我还看到一些与以下内容相关的错误:

appstreamcli: symbol lookup error: appstreamcli: undefined symbol: AS_APPSTREAM_METADATA_PATHS

第二天回来后,可以正常登录机器;甚至说它正在运行 Ubuntu 20.04.6。尝试“sudo apt update”并收到错误:

sudo: pam_open_session: module is unknown

重新启动后,计算机只进入 GNU GRUB 加载器,“高级选项”中的所有 6 个选项(其中 3 个是恢复)导致:

"end Kernel panic - not syncing: Attempted to kill init".

现在制作可启动的 USB 驱动器。有什么方法可以避免删除所有文件吗?幸运的是,重要文件已备份到一些已安装的硬盘上;但是,主目录中仍有一些文件需要恢复。

相关内容