在 Ubuntu 23.04 上安装 GUI 时,我收到错误:
/usr/lib/tmpfiles.d/colord.conf:1: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/colord.conf:2: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/colord.conf:3: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:1: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:2: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:3: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:4: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:5: Failed to resolve user 'speech-dispatcher': No such file or directory
我在 Google 上搜索过,但根本找不到任何与此相关的信息。
upower.service is a disabled or a static unit, not starting it.
Setting up libgnome-bluetooth-3.0-13:amd64 (42.5-3) ...
Setting up libjavascriptcoregtk-4.0-18:amd64 (2.42.2-0ubuntu0.23.04.1) ...
Setting up fonts-tlwg-sawasdee (1:0.7.3-1) ...
Setting up libnet-http-perl (6.22-1) ...
Setting up libcolorhug2:amd64 (1.4.6-2.2) ...
Setting up libgstreamer-plugins-base1.0-0:amd64 (1.22.1-1ubuntu1.1) ...
Setting up fonts-guru (2:1.3) ...
Setting up dconf-service (0.40.0-4) ...
Setting up mythes-en-us (1:7.5.0-1) ...
Setting up xinput (1.6.3-1build2) ...
Setting up systemd (252.5-2ubuntu3.2) ...
/usr/lib/tmpfiles.d/colord.conf:1: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/colord.conf:2: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/colord.conf:3: Failed to resolve user 'colord': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:1: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:2: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:3: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:4: Failed to resolve user 'speech-dispatcher': No such file or directory
/usr/lib/tmpfiles.d/speech-dispatcher.conf:5: Failed to resolve user 'speech-dispatcher': No such file or directory
Setting up network-manager (1.42.4-1ubuntu2) ...
Created symlink /etc/systemd/system/dbus-org.freedesktop.nm-dispatcher.service → /lib/systemd/system/NetworkManager-dispatcher.service.
Created symlink /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service → /lib/systemd/system/NetworkManager-wait-online.service.
Created symlink /etc/systemd/system/multi-user.target.wants/NetworkManager.service → /lib/systemd/system/NetworkManager.service.
Setting up libpagemaker-0.0-0:amd64 (0.0.4-1build3) ...
Setting up whoopsie-preferences (23) ...
Setting up fonts-taml (2:1.4) ...
Setting up libmwaw-0.3-3:amd64 (0.3.21-1build1) ...
Setting up media-player-info (24-2) ...
Setting up gir1.2-atspi-2.0:amd64 (2.48.0-1) ...
Setting up fonts-tlwg-typist (1:0.7.3-1) ...
Setting up fonts-tlwg-umpush (1:0.7.3-1) ...
Setting up libaprutil1-ldap:amd64 (1.6.3-1ubuntu1.1) ...
Setting up gir1.2-javascriptcoregtk-4.0:amd64 (2.42.2-0ubuntu0.23.04.1) ...
Setting up libcdr-0.1-1:amd64 (0.1.6-2build4) ...
Setting up fonts-gujr (2:1.5) ...
Setting up xfonts-utils (1:7.7+6build2) ...
Setting up liblangtag1:amd64 (0.6.4-2) ...
Setting up gir1.2-accountsservice-1.0:amd64 (22.08.8-1ubuntu7.1) ...
Setting up libaprutil1-dbd-sqlite3:amd64 (1.6.3-1ubuntu1.1) ...
Setting up hyphen-en-us (2.8.8-7build2) ...
Setting up python3-sss (2.8.1-1ubuntu1) ...
Setting up fonts-tlwg-mono (1:0.7.3-1) ...
Setting up apport (2.26.1-0ubuntu2.1) ...
apport-autoreport.service is a disabled or a static unit not running, not starting it.
答案1
我为任何版本的 Ubuntu 安装的、用于建立 X-Windows 系统的软件包是:
ubuntu-desktop - Ubuntu 桌面系统
假设您安装了服务器并且有一个命令行提示符,您可以运行:
sudo apt-get install ubuntu-desktop
然后坐一会儿。
如果您直接尝试安装 Ubuntu 桌面版,那么这应该会自动发生。换句话说,您不需要安装任何东西。如果失败,那么您可能会收到您在问题中指出的错误。