![无法安装 gdm linux mint](https://linux22.com/image/1590256/%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20gdm%20linux%20mint.png)
我正在从默认的 Linux Mint 切换到 Gnome。但是,当我尝试在 Linux Mint XFCE 19 上安装 Gnome 桌面管理器时,我遇到了此错误:
lukaka@SetLucas-PC:~$ sudo apt-get install gdm
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gdm is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gdm' has no installation candidate
lukaka@SetLucas-PC:~$
我如何安装 gdm?
答案1
我没有意识到gdm
它已经过时了,所以我需要安装它gdm3
。
lukaka@SetLucas-PC:~$ sudo apt-get install gdm3
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cdparanoia cdrdao cdrskin k3b-data libk3b7 libkf5cddb-data libkf5cddb5
libkf5notifyconfig-data libkf5notifyconfig5 libllvm6.0:i386
libmusicbrainz5cc2v5 linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic
linux-headers-4.15.0-36 linux-headers-4.15.0-36-generic
linux-image-4.15.0-34-generic linux-image-4.15.0-36-generic
linux-modules-4.15.0-34-generic linux-modules-4.15.0-36-generic
linux-modules-extra-4.15.0-36-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
libpam-fprintd
The following NEW packages will be installed:
gdm3
0 upgraded, 1 newly installed, 0 to remove and 56 not upgraded.
Need to get 268 kB of archives.
After this operation, 1,815 kB of additional disk space will be used.
Get:1 http://la-mirrors.evowise.com/ubuntu bionic-updates/main amd64 gdm3 amd64 3.28.3-0ubuntu18.04.4 [268 kB]
Fetched 268 kB in 0s (2,011 kB/s)
Preconfiguring packages ...
Selecting previously unselected package gdm3.
(Reading database ... 515287 files and directories currently installed.)
Preparing to unpack .../gdm3_3.28.3-0ubuntu18.04.4_amd64.deb ...
Unpacking gdm3 (3.28.3-0ubuntu18.04.4) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot
Setting up gdm3 (3.28.3-0ubuntu18.04.4) ...
Creating config file /etc/gdm3/greeter.dconf-defaults with new version
gdm.service is not active, cannot reload.
invoke-rc.d: initscript gdm3, action "reload" failed.
Processing triggers for systemd (237-3ubuntu10.21) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for dbus (1.12.2-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for ureadahead (0.100.0-21) ...
lukaka@SetLucas-PC:~$