每次尝试安装任何软件包时,都会出现相同的错误。它与任何软件包都引用相同的依赖项。这会导致软件中心崩溃。
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
sync-my-l2p:i386 : Depends: libqt5core5a:i386 (>= 5.2.0) but it is not installed
Depends: libqt5gui5:i386 (>= 5.0.2) but it is not installed or
libqt5gui5-gles:i386 (>= 5.0.2) but it is not installable
Depends: libqt5network5:i386 (>= 5.0.2) but it is not installed
Depends: libqt5widgets5:i386 (>= 5.0.2) but it is not installed
Depends: libqt5xml5:i386 (>= 5.0.2) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
每当我尝试安装任何软件包时,都会发生相同的情况。
输出
laptop:~$ apt-mark showhold
laptop:~$ sudo apt-get install sync-my-l2p:i386 libqt5core5a:i386 libqt5gui5:i386 libqt5network5:i386 libqt5widgets5:i386 libqt5xml5:i386
[sudo] password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sync-my-l2p:i386 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libqt5core5a:i386 : Depends: libicu52:i386 (>= 52~m1-1~) but it is not going to be installed
libqt5gui5:i386 : Depends: libegl1-mesa:i386 (>= 7.8.1) or
libegl1-x11:i386
Depends: libgbm1:i386 (>= 8.1~0) but it is not going to be installed
Depends: libgles2-mesa:i386 (>= 7.8.1) or
libgles2:i386
Depends: libqt5dbus5:i386 (>= 5.0.2) but it is not going to be installed
Depends: libxcb-icccm4:i386 (>= 0.4.1) but it is not going to be installed
Depends: libxcb-image0:i386 (>= 0.3.9) but it is not going to be installed
Depends: libxcb-keysyms1:i386 (>= 0.3.9) but it is not going to be installed
Depends: libxcb-randr0:i386 (>= 1.3) but it is not going to be installed
Depends: libxcb-render-util0:i386 (>= 0.3.8) but it is not going to be installed
Depends: libxcb-shape0:i386 but it is not going to be installed
Depends: libxcb-xfixes0:i386 but it is not going to be installed
Depends: libxcb-xkb1:i386 but it is not going to be installed
Depends: libxkbcommon-x11-0:i386 (>= 0.4.0) but it is not going to be installed
libqt5network5:i386 : Depends: libqt5dbus5:i386 (>= 5.0.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
遇到新错误!
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
由于apt-get无法安装依赖项,我认为您为错误的体系结构安装了该软件。尝试清除垃圾sync-my-l2p
。您可以使用以下命令:
sudo apt-get purge sync-my-l2p
sudo dpkg -P sync-my-l2p
然后使用:
sudo apt-get autoremove
如果要再次安装sync-my-l2p,请尝试查找amd64版本。
问候
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句