kubuntu muon 包管理器停止工作

kubuntu muon 包管理器停止工作

我今天使用 kubuntu,更新 muon 包管理器后它卡在 64%,所以我关闭了它。之后,当我尝试更新、重新安装或安装软件时,管理器卡住了。所以我怎样才能从终端重新安装 muon 包管理器呢?

我尝试

sudo apt-get 安装 muon

我收到了这条信息

Reading package lists... Done
Building dependency tree       
Reading state information... Done
muon is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libopencv-dev : Depends: libopencv-core-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-ml-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-imgproc-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-video-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-objdetect-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-gpu-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-highgui-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-calib3d-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-flann-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-features2d-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-legacy-dev (= 2.3.1-4ppa1) but it is not going to be installed
                 Depends: libopencv-contrib-dev (= 2.3.1-4ppa1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

那该怎么办呢?我需要重新安装它,因为它不工作

~$ sudo dpkg --configure -a

dpkg: dependency problems prevent configuration of libopencv-dev:
 libopencv-dev depends on libopencv-core-dev (= 2.3.1-4ppa1); however:
  Package libopencv-core-dev is not installed.
 libopencv-dev depends on libopencv-ml-dev (= 2.3.1-4ppa1); however:
  Package libopencv-ml-dev is not installed.
 libopencv-dev depends on libopencv-imgproc-dev (= 2.3.1-4ppa1); however:
  Package libopencv-imgproc-dev is not installed.
 libopencv-dev depends on libopencv-video-dev (= 2.3.1-4ppa1); however:
  Package libopencv-video-dev is not installed.
 libopencv-dev depends on libopencv-objdetect-dev (= 2.3.1-4ppa1); however:
  Package libopencv-objdetect-dev is not installed.
 libopencv-dev depends on libopencv-gpu-dev (= 2.3.1-4ppa1); however:
  Package libopencv-gpu-dev is not installed.
 libopencv-dev depends on libopencv-highgui-dev (= 2.3.1-4ppa1); however:
  Package libopencv-highgui-dev is not installed.
 libopencv-dev depends on libopencv-calib3d-dev (= 2.3.1-4ppa1); however:
  Package libopencv-calib3d-dev is not installed.
 libopencv-dev depends on libopencv-flann-dev (= 2.3.1-4ppa1); however:
  Package libopencv-flann-dev is not installed.
 libopencv-dev depends on libopencv-features2d-dev (= 2.3.1-4ppa1); however:
  Package libopencv-features2d-dev is not installed.
 libopencv-dev depends on libopencv-legacy-dev (= 2.3.1-4ppa1); however:
  Package libopencv-legacy-dev is not installed.
 libopencv-dev depends on libopencv-contrib-dev (= 2.3.1-4ppa1); however:
  Package libopencv-contrib-dev is not installed.
dpkg: error processing libopencv-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libopencv-dev

sudo apt-get install -f
sudo dpkg --configure -a

还是同样的问题...我认为出现这个问题是因为今天更新了 kubuntu

答案1

我也有这个问题。

尝试在终端(“Konsole”)中运行这些命令:

sudo apt-get 安装 -f
sudo dpkg--configure-a

答案2

我也有这个...让我能正常工作的是重新安装 muon:

sudo apt-get purge muon
sudo apt-get install muon

答案3

我在全新安装时遇到过这个问题。为了解决这个问题,我添加了一个新版本的 Muon,它被认为是实验性的。请记住,使用不熟悉的 PPA 存在风险,因此请阅读如果你有任何疑问。我使用的 PPA 是 ppa:echidnaman/qapt 形式这里是从那里获得使用此修复程序的信息的。

答案4

好吧,只需按下键盘上的Ctrl++即可打开终端。打开后,运行以下命令。AltT

sudo apt-get -f install

相关内容