KDE Neon Ubuntu 更新后崩溃

KDE Neon Ubuntu 更新后崩溃

尝试更新到 Ubuntu 18.04 后,我遇到了一个问题。当我重新启动系统时,Ubuntu 以终端模式启动。我想在不重新安装操作系统的情况下修复此问题。我尝试从 grub 恢复模式启动,但没有帮助。

然后我尝试输入命令,结果显示这里。运行此命令后出现错误。

dpkg --configure -a

他们来了:

dpkg: error processing package neon-desktop (--configure)
dependencies problem - leaving unconfigured

我尝试运行sudo apt-get install --reinstall neon-desktop,但收到​​以下未满足的依赖项错误。

sudo apt install --reinstall neon-desktop
[sudo] password for kocmuk:  
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
neon-desktop : Depends: baloo-kf5 but it is not going to be installed
               Depends: breeze but it is not going to be installed
               Depends: distro-release-notifier but it is not going to be installed
               Depends: kde-cli-tools but it is not going to be installed
               Depends: khotkeys but it is not going to be installed
               Depends: kio but it is not going to be installed
               Depends: kio-extras but it is not going to be installed
               Depends: kkmenuedit but it is not going to be installed
               Depends: ksysguard but it is not going to be installed
               Depends: distro-release-notifier but it is not going to be installed
               Depends: kwin but it is not going to be installed
               Depends: kwrited but it is not going to be installed
               Depends: plasma-desktop but it is not going to be installed
               Depends: powerdevil but it is not going to be installed
               Depends: sdd-theme-breeze but it is not going to be installed
               Depends: systemsettings but it is not going to be installed
               Depends: xorg but it is not going to be installed
               Recommends: ark but it is not going to be installed
               Recommends: bluedevil but it is not going to be installed
               Recommends: dolphin but it is not going to be installed
               Recommends: drkonqi-pk-debug-installer but it is not going to be installed
               Recommends: frameworkintegration but it is not going to be installed
               Recommends: gwenview but it is not going to be installed
               Recommends: kde-config-gtk-style but it is not going to be installed
               Recommends: kde-config-plymouth but it is not going to be installed
               Recommends: kde-config-sddn but it is not going to be installed
               Recommends: kde-spectacle but it is not going to be installed
               Recommends: kdegraphics but it is not going to be installed
               Recommends: kdialog but it is not going to be installed
               Recommends: konsole but it is not going to be installed
               Recommends: kscreen but it is not going to be installed
               Recommends: ksshaskpass but it is not going to be installed
               Recommends: kwin-addons but it is not going to be installed
               Recommends: kwrite but it is not going to be installed
               Recommends: milou but it is not going to be installed
               Recommends: okular but it is not going to be installed
               Recommends: plasma-browser-integration but it is not going to be installed
               Recommends: plasma-calendar-addons but it is not going to be installed
               Recommends: plasma-dataengines but it is not going to be installed
               Recommends: plasma-discover but it is not going to be installed
               Recommends: plasma-discover-updater but it is not going to be installed
               Recommends: plasma-nm but it is not going to be installed
               Recommends: plasma-pa but it is not going to be installed
               Recommends: plasma-runners-addons but it is not going to be installed
               Recommends: plasma-vault but it is not going to be installed
               Recommends: plasma-wallpapers-addons but it is not going to be installed  
               Recommends: plasma-widgets-addons but it is not going to be installed
               Recommends: plasma-workspace-wayland but it is not going to be installed                         
               Recommends: polkit-kde-agent-1 but it is not going to be installed
               Recommends: print-manager but it is not going to be installed
               Recommends: user-manager but it is not going to be installed
               Recommends: xserver-xorg-input-evdev but it is not going to be installed
               Recommends: xserver-xorg-input-synaptics but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution). 

答案1

升级到新的 Ubuntu 版本后,第三方存储库和 ppa 将被禁用。您需要检查它们是否支持新版本(就您而言bionic)并将它们更改为新版本。然后您可以重新启用它们。


sources.list在文件中找到 KDE Neon 存储库的相关条目

看起来应该是这样的:

# deb http://archive.neon.kde.org/user xenial main 

根据您的安装方式,您会在 /etc/apt/sources.list或(更可能) 中的某个文件中找到它/etc/apt/sources.list.d/

您也可以使用以下命令来查找该文件:

grep -rlF 'archive.neon.kde.org' /etc/apt/

更改xenial为,然后通过从该行中bionic删除 来重新启用存储库。#

然后运行:

sudo apt-get update
sudo apt-get install -f

相关内容