web-dev-qa-db-fra.com

sudo apt-get install & Sudo apt-get -f install retournant une erreur

Chaque fois que j'essaie d'installer un paquet, j'obtiens la même erreur. Il fait référence aux mêmes dépendances avec n'importe quel package. cela provoque le crash du centre logiciel.

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

La même chose se produit chaque fois que j'essaie d'installer des packages.

Production

    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).

Une nouvelle erreur rencontrée !!!

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
1
Atul

Comme apt-get n'est pas en mesure d'installer les dépendances, je pense que vous avez installé le logiciel pour une mauvaise architecture. essayez de purger le sync-my-l2p. vous pouvez utiliser les commandes suivantes:

Sudo apt-get purge sync-my-l2p
Sudo dpkg -P sync-my-l2p

puis utilisez:

Sudo apt-get autoremove

Si vous souhaitez réinstaller sync-my-l2p, essayez de trouver la version AMD64.

Cordialement

0
punit

Essayez de mettre à niveau libqt5gui5 en utilisant Sudo apt-get upgrade libqt5gui5.

0
se0D2