更新后无法使用 KDE —— 如何在不丢失配置的情况下恢复

更新后无法使用 KDE —— 如何在不丢失配置的情况下恢复

周一在 Kubuntu 12.04 机器上运行更新后,我在登录屏幕中失去了选择 KDE 的选项(有一条消息,内容大致为“选项 kde* 已被删除”)。只剩下“默认”和“故障安全”。使用“默认”会导致黑屏,只能看到 KDE 风格的鼠标光标,使用“故障安全”则让我回到登录屏幕。

与此同时,我安装了 Unity(以及gdm它)。然后我尝试

sudo dpkg --reconfigure kdm

但这只会恢复 KDE 登录屏幕(带有额外的 GNOME/Unity 会话选项)。看起来要么是某些 KDE 软件包被卸载了,要么是某些配置已损坏。关于前者:

$ dpkg --get-selections | grep kde
apport-kde                  install
apturl-kde                  install
firefox-kde-support             install
gdebi-kde                   install
jockey-kde                  install
kde-baseapps-bin                install
kde-baseapps-data               install
kde-config-gtk                  install
kde-config-touchpad             install
kde-runtime                 install
kde-runtime-data                install
kde-style-oxygen                install
kde-wallpapers-default              install
kde-window-manager              install
kde-window-manager-common           install
kde-workspace-bin               deinstall
kde-workspace-data              install
kde-workspace-kgreet-plugins            install
kde-zeroconf                    install
kdebase-bin                 install
kdebase-runtime                 install
kdebase-runtime-data                deinstall
kdebase-workspace-bin               deinstall
kdebase-workspace-data              deinstall
kdegames-card-data              install
kdegraphics-libs-data               install
kdegraphics-mobipocket              install
kdegraphics-strigi-analyzer         install
kdegraphics-strigi-plugins          install
kdegraphics-thumbnailers            install
kdelibs-bin                 install
kdelibs5-data                   install
kdelibs5-plugins                install
kdemultimedia-kio-plugins           install
kdenetwork-filesharing              install
kdepasswd                   install
kdepim-groupware                deinstall
kdepim-kresources               install
kdepim-runtime                  install
kdepim-strigi-plugins               install
kdepimlibs-kio-plugins              install
kdesudo                     install
kdewallpapers                   install
language-pack-kde-en                install
language-pack-kde-en-base           install
language-selector-kde               install
libakonadi-kde4                 install
libdebconf-kde0                 install
libkde3support4                 install
libkdeclarative5                install
libkdecorations4                install
libkdecore5                 install
libkdegames5                    deinstall
libkdegames5a                   install
libkdepim4                  install
libkdepimdbusinterfaces4            install
libkdesu5                   install
libkdeui5                   install
libkdewebkit5                   install
libreoffice-kde                 install
polkit-kde-1                    install
python-kde4                 install
software-properties-kde             install
system-config-printer-kde           install
update-manager-kde              install
usb-creator-kde                 install
xsettings-kde                   install

我认为某些软件包可能丢失了,但我不确定,并且我不想进行实验,因为担心丢失我的 KDE 特定配置和/或使情况变得更糟。

照这个思路来说:如何在不丢失配置的情况下恢复登录时的 KDE 选项?

答案1

也许一些 KDE 包被删除了?

尝试sudo apt-get install kubuntu-desktop

相关内容