web-dev-qa-db-ja.com

sudo apt-get install&Sudo apt-get -f installエラーを返す

パッケージをインストールしようとするたびに、同じエラーが発生します。パッケージと同じ依存関係を指します。これにより、ソフトウェアセンターがクラッシュします。

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
1
Atul

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バージョンを見つけてください。

よろしく

0
punit

アップグレードしてみてくださいlibqt5gui5を使用してSudo apt-get upgrade libqt5gui5

0
se0D2