今天,当我启动装有 Ubuntu 24.04.1 LTS 的计算机时,出现以下消息:
Oh no! Something has gone wrong.
A problem has ocurred and the system can't recover. Please contact a system administrator
当使用打开另一个 tty 时,Ctrl+Alt+F1
我能够从终端登录。
执行时startx
出现错误,其中包括:
xf86EnableIO: failed to enable I7O ports 0000-03ff (Operation not permitted)
did not find extension DRI_Mesa version 1
我决定从头开始安装 Ubuntu。之后,在某个时候,我注意到有一个新的 MESA 库可供安装。以下是执行典型安装后得到的文本和照片apt-get upgrade
$ sudo apt-get update && sudo apt-get upgrade -y
...
Fetched 2,781 kB in 7s (421 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following upgrades have been deferred due to phasing:
grub-common grub2-common python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-gtk
The following packages have been kept back:
libegl-mesa0 libgbm1 libglapi-mesa libglx-mesa0 libxatracker2 mesa-vulkan-drivers
The following packages will be upgraded:
libgl1-mesa-dri
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 34.6 kB of archives.
After this operation, 33.6 MB disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 libgl1-mesa-dri amd64 24.2.8-1ubuntu1~24.04.1 [34.6 kB]
Fetched 34.6 kB in 1s (53.3 kB/s)
(Reading database ... 194937 files and directories currently installed.)
Preparing to unpack .../libgl1-mesa-dri_24.2.8-1ubuntu1~24.04.1_amd64.deb ...
Unpacking libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1~24.04.1) over (24.0.9-0ubuntu0.1) ...
Setting up libgl1-mesa-dri:amd64 (24.2.8-1ubuntu1~24.04.1) ...
N: Some packages may have been kept back due to phasing.
决定重新启动,看看一切是否正常……然后砰的一声。和之前一样,出现了同样的“哦不!”错误屏幕。
所以我今天在全新安装 Ubuntu 时也遇到了同样的问题。