无法在 ubuntu 23.10 上安装 gnome 环境

无法在 ubuntu 23.10 上安装 gnome 环境

我之前使用的是 ubuntu 23.04 和 gnome。更新到 ubuntu 23.10 后,它已转移到 budgie。我在登录页面上没有找到任何用于切换环境的齿轮图标。这是我运行的命令sudo apt install ubuntu-gnome-desktop。这是终端中的输出

Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gdm3 : Depends: libgdm1 (= 44.1-1ubuntu1) but 45~beta-1ubuntu1 is to be installed
        Recommends: ubuntu-session but it is not installable or
                    gnome-session but it is not installable or
                    x-session-manager
 gir1.2-gnomebg-4.0 : Depends: gir1.2-gnomedesktop-4.0 (= 44.0-1) but 44.0-2 is to be installed
 gir1.2-mutter-12 : Depends: libmutter-12-0 (= 44.1-1ubuntu1) but 44.3-0ubuntu1.1 is to be installed
                    Depends: gir1.2-json-1.0 (>= 0.13.2-1~) but it is not going to be installed
 gir1.2-polkit-1.0 : Depends: libpolkit-agent-1-0 (= 0.105-33) but 123-1 is to be installed
                     Depends: libpolkit-gobject-1-0 (= 0.105-33) but 123-1 is to be installed
 gstreamer1.0-pipewire : Depends: pipewire (= 0.3.71-1) but 0.3.79-2 is to be installed
                         Depends: libpipewire-0.3-0 (= 0.3.71-1) but 0.3.79-2 is to be installed
 nautilus : Depends: libnautilus-extension4 (= 1:44.1-1ubuntu1) but 1:45~rc-1ubuntu1 is to be installed
            Depends: tracker (>= 3) but it is not going to be installed
            Depends: tracker-miner-fs (>= 3) but it is not going to be installed
            Depends: tracker-extract (>= 3) but it is not going to be installed
 ubuntu-desktop : Depends: ubuntu-session but it is not installable
                  Recommends: fonts-liberation2 but it is not going to be installed
                  Recommends: system-config-printer but it is not installable
                  Recommends: yaru-theme-gnome-shell but it is not going to be installed
 ubuntu-desktop-minimal : Depends: ubuntu-session but it is not installable
                          Recommends: fonts-liberation2 but it is not going to be installed
                          Recommends: system-config-printer but it is not installable
                          Recommends: yaru-theme-gnome-shell but it is not going to be installed
 ubuntu-gnome-desktop : Depends: gnome-session but it is not installable
E: Unable to correct problems, you have held broken packages.

有人可以帮我把桌面环境改为 gnome 的步骤吗?

答案1

这是我为修复损坏的更新所做的事情:

apt purge gnome-shell
apt purge ubuntu-desktop
apt autoremove -y
apt install --reinstall ubuntu-gnome-desktop

相关内容