从 14.04 升级到 ubuntu 16.04 LTS 后,启动出现问题

从 14.04 升级到 ubuntu 16.04 LTS 后,启动出现问题

我使用软件更新程序将 Ubuntu 14.04 LTS 升级到 Xenial 16.04,但不幸的是,在安装一些字体时,升级冻结了。由于它长时间没有响应,我无法做其他任何事情,所以我强制硬重启。这直接将我带到了一个终端(没有 GUI),我在那里运行:

sudo dpkg --configure -a

它运行并修复了很多问题,但在配置软件包“cgmanager”和“systemd-shim”时遇到了两个错误。我重新启动并登录(这次加载了 gui)以运行

sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get -f install

一切顺利完成。

从那时起,我的启动顺序似乎就乱七八糟了。看起来启动顺序在某一时刻重新启动了,而且看起来非常不稳定。没有文本输出,但我的屏幕时开时关,调整了一个带有 ubuntu 紫色/黑色背景的框的大小,ubuntu 加载启动画面只出现了很短的时间。然后它加载登录屏幕,但使用默认的 ubuntu 背景图像,但随后切换到我的背景图像,就像重新加载了登录屏幕一样。

这让我相信我没有完全升级,或者至少存在一些配置问题。

在我的 /var/log/syslog 中我发现正确的内核已加载并且“quiet splash”参数已设置:

Aug  8 10:22:35 PC83 kernel: [    0.000000] Linux version 4.4.0-31-generic (buildd@lgw01-16) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 (Ubuntu 4.4.0-31.50-generic 4.4.13)
Aug  8 10:22:35 PC83 kernel: [    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-31-generic root=UUID=8966e632-6b98-48ad-9ebb-46f41e62e711 ro quiet splash vt.handoff=7

然而我的系统日志中出现了一些错误:

Aug  8 10:31:55 PC83 systemd[1]: Started User Manager for UID 1011.
Aug  8 10:31:55 PC83 org.ayatana.bamf[4161]: bamfdaemon start/running, process 4219
Aug  8 10:31:55 PC83 org.a11y.Bus[4161]: ** (process:4230): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided b
y any .service files
Aug  8 10:31:55 PC83 org.a11y.Bus[4161]: Activating service name='org.a11y.atspi.Registry'
Aug  8 10:31:55 PC83 org.a11y.Bus[4161]: Successfully activated service 'org.a11y.atspi.Registry'
Aug  8 10:31:55 PC83 org.a11y.atspi.Registry[4235]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug  8 10:31:56 PC83 systemd[1]: Started CUPS Scheduler.
Aug  8 10:31:56 PC83 rtkit-daemon[2824]: Successfully made thread 4418 of process 4418 (n/a) owned by '1001' high priority at nice level -11.
Aug  8 10:31:56 PC83 rtkit-daemon[2824]: Supervising 4 threads of 2 processes of 2 users.
Aug  8 10:31:57 PC83 colord[2143]: (colord:2143): Cd-WARNING **: failed to get session [pid 4415]: No such device or address
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Supervising 4 threads of 2 processes of 2 users.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Successfully made thread 4437 of process 4418 (n/a) owned by '1001' RT at priority 5.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Supervising 5 threads of 2 processes of 2 users.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Supervising 5 threads of 2 processes of 2 users.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Successfully made thread 4439 of process 4418 (n/a) owned by '1001' RT at priority 5.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Supervising 6 threads of 2 processes of 2 users.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Successfully made thread 4441 of process 4441 (n/a) owned by '1001' high priority at nice level -11.
Aug  8 10:31:57 PC83 rtkit-daemon[2824]: Supervising 7 threads of 3 processes of 2 users.
Aug  8 10:31:57 PC83 pulseaudio[4441]: [pulseaudio] pid.c: Daemon already running.
Aug  8 10:31:57 PC83 dbus[1967]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
Aug  8 10:31:57 PC83 systemd[1]: Starting Locale Service...
Aug  8 10:31:57 PC83 dbus[1967]: [system] Successfully activated service 'org.freedesktop.locale1'
Aug  8 10:31:57 PC83 systemd[1]: Started Locale Service.
Aug  8 10:31:57 PC83 org.gnome.ScreenSaver[4161]: ** (gnome-screensaver:4358): WARNING **: Couldn't get presence status: The name org.gnome.SessionManager was not provided by any .service files
Aug  8 10:31:57 PC83 gnome-session[4301]: gnome-session-binary[4301]: WARNING: Could not parse desktop file gnome-user-share.desktop or it references a not found TryExec binary
Aug  8 10:31:57 PC83 gnome-session-binary[4301]: WARNING: Could not parse desktop file gnome-user-share.desktop or it references a not found TryExec binary
Aug  8 10:31:57 PC83 gnome-session[4301]: SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
Aug  8 10:31:57 PC83 gnome-session[4301]: SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
Aug  8 10:31:57 PC83 gnome-session[4301]: SSH_AUTH_SOCK=/run/user/1001/keyring/ssh
Aug  8 10:31:57 PC83 gnome-session-binary[4301]: Entering running state
Aug  8 10:31:57 PC83 gnome-session[4301]: (process:4474): indicator-application-service-WARNING **: Unable to get watcher name 'org.kde.StatusNotifierWatcher'
Aug  8 10:31:57 PC83 gnome-session[4301]: (process:4474): indicator-application-service-WARNING **: Name Lost
Aug  8 10:31:57 PC83 dbus[1967]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service'
Aug  8 10:31:57 PC83 systemd[1]: Starting Disk Manager...
Aug  8 10:31:57 PC83 udisksd[4528]: udisks daemon version 2.1.7 starting
Aug  8 10:31:57 PC83 gnome-session[4301]: (gnome-software:4470): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Fa
iled: Action org.freedesktop.packagekit.trigger-offline-update is not registered
Aug  8 10:31:57 PC83 gnome-session[4301]: (gnome-software:4470): Gs-WARNING **: Failed to create permission org.freedesktop.packagekit.trigger-offline-update: GDBus.Error:org.freedesktop.PolicyKit1.Error.Fa
iled: Action org.freedesktop.packagekit.trigger-offline-update is not registered
Aug  8 10:31:57 PC83 dbus[1967]: [system] Activating service name='org.freedesktop.fwupd' (using servicehelper)
Aug  8 10:31:58 PC83 dbus[1967]: [system] Successfully activated service 'org.freedesktop.UDisks2'
Aug  8 10:31:58 PC83 systemd[1]: Started Disk Manager.
Aug  8 10:31:58 PC83 udisksd[4528]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Aug  8 10:31:58 PC83 org.gtk.vfs.AfcVolumeMonitor[4161]: Volume monitor alive
Aug  8 10:31:58 PC83 gnome-session[4301]: Starting Dropbox...Initializing nautilus-dropbox 2015.10.28
Aug  8 10:31:59 PC83 org.freedesktop.fwupd[1967]: (fwupd:4539): Fu-WARNING **: Failed to coldplug: UEFI firmware updating not supported
Aug  8 10:31:59 PC83 dbus[1967]: [system] Successfully activated service 'org.freedesktop.fwupd'
Aug  8 10:31:59 PC83 org.gnome.ScreenSaver[4161]: ** Message: Lost the name, shutting down.

具体来说:

Aug  8 10:31:55 PC83 org.a11y.Bus[4161]: ** (process:4230): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided b
y any .service files

Aug  8 10:31:59 PC83 org.freedesktop.fwupd[1967]: (fwupd:4539): Fu-WARNING **: Failed to coldplug: UEFI firmware updating not supported
Aug  8 10:31:59 PC83 dbus[1967]: [system] Successfully activated service 'org.freedesktop.fwupd'

看起来 org.freedesktop.DBus 未正确启动。我该如何正确解析总线并启动它?

我还能尝试什么来找到启动问题或任何其他配置冲突的根源?

任何帮助是极大的赞赏 :)

更新:

所以最后整个系统变得太不稳定了,我没法继续工作,所以我决定硬着头皮重新安装 Ubuntu。然而,这不是解决这个问题。启动顺序仍然很不稳定,在不同的背景图像上闪烁。这让我相信这可能是 BIOS 问题,没有正确加载操作系统等?有什么想法吗?

相关内容