在尝试更新到Ubuntu18.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). 发布于 2019-10-30 06:30:02
任何升级到一个新的Ubuntu版本,第三方存储库和ppa的将被禁用。您需要检查它们是否支持新版本(在您的例子中是bionic),并将它们更改为新版本。然后你可以重新启用它们。
在sources.list文件中查找KDE存储库的相关条目
应该是这样的:
# 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 -fhttps://askubuntu.com/questions/1125648
复制相似问题