WineでWindowsアプリケーションを実行しようとすると、次のメッセージが表示されます。
it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"
だからrootとしてwine32をインストールしようとしましたが、次のような結果が得られました。
$ sudo apt install wine32
Reading package lists... Done
Building dependency tree
Reading state information... Done
wine32:i386 is already the newest version (4.0-2).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
Depends: libwine:i386 (= 4.0-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
インストールしようとしましたが、libc6:i386
エラーlibwine:i386
が発生しました。
$ sudo apt install libc6:i386
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:
libc6 : Breaks: libc6:i386 (!= 2.29-7) but 2.28-10 is to be installed
libc6:i386 : Depends: libgcc1:i386 but it is not going to be installed
Recommends: libidn2-0:i386 (>= 2.0.5~) but it is not going to be installed
Breaks: libc6 (!= 2.28-10) but 2.29-7 is to be installed
libcrypt1 : Breaks: libc6:i386 (< 2.29-4) but 2.28-10 is to be installed
wine32:i386 : Depends: libwine:i386 (= 4.0-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
そして:
$ sudo apt install libwine:i386
[sudo] password for optiplex:
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:
libwine:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
Depends: libfontconfig1:i386 (>= 2.12.6) but it is not going to be installed
Depends: libfreetype6:i386 (>= 2.6.2) but it is not going to be installed
Depends: libncurses6:i386 (>= 6) but it is not going to be installed
Depends: libtinfo6:i386 (>= 6) but it is not going to be installed
Depends: libasound2:i386 (>= 1.0.16) but it is not going to be installed
Depends: libglib2.0-0:i386 (>= 2.12.0) but it is not going to be installed
Depends: libgphoto2-6:i386 (>= 2.5.10) but it is not going to be installed
Depends: libgphoto2-port12:i386 (>= 2.5.10) but it is not going to be installed
Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.0.0) but it is not going to be installed
Depends: libgstreamer1.0-0:i386 (>= 1.4.0) but it is not going to be installed
Depends: liblcms2-2:i386 (>= 2.2+git20110628) but it is not going to be installed
Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
Depends: libmpg123-0:i386 (>= 1.13.7) but it is not going to be installed
Depends: libopenal1:i386 (>= 1.14) but it is not going to be installed
Depends: libpcap0.8:i386 (>= 0.9.8) but it is not going to be installed
Depends: libpulse0:i386 (>= 0.99.1) but it is not going to be installed
Depends: libudev1:i386 (>= 183) but it is not going to be installed
Depends: libvkd3d1:i386 (>= 1.0) but it is not going to be installed
Depends: libx11-6:i386 but it is not going to be installed
Depends: libxext6:i386 but it is not going to be installed
Depends: libxml2:i386 (>= 2.9.0) but it is not going to be installed
Depends: ocl-icd-libopencl1:i386 but it is not going to be installed or
libopencl1:i386
Depends: zlib1g:i386 (>= 1:1.1.4) but it is not going to be installed
Recommends: libcapi20-3:i386 but it is not going to be installed
Recommends: libcups2:i386 (>= 1.4.0) but it is not going to be installed
Recommends: libdbus-1-3:i386 (>= 1.9.14) but it is not going to be installed
Recommends: libgl1:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libgnutls30:i386 (>= 3.6.5) but it is not going to be installed
Recommends: libgsm1:i386 (>= 1.0.18) but it is not going to be installed
Recommends: libgssapi-krb5-2:i386 (>= 1.6.dfsg.2) but it is not going to be installed
Recommends: libjpeg62-turbo:i386 (>= 1.3.1) but it is not going to be installed
Recommends: libkrb5-3:i386 (>= 1.6.dfsg.2) but it is not going to be installed
Recommends: libodbc1:i386 (>= 2.3.1) but it is not going to be installed
Recommends: libosmesa6:i386 (>= 10.2~) but it is not going to be installed
Recommends: libpng16-16:i386 (>= 1.6.2-1) but it is not going to be installed
Recommends: libsdl2-2.0-0:i386 (>= 2.0.9) but it is not going to be installed
Recommends: libtiff5:i386 (>= 4.0.3) but it is not going to be installed
Recommends: libv4l-0:i386 (>= 0.5.0) but it is not going to be installed
Recommends: libvulkan1:i386 but it is not going to be installed
Recommends: libxcomposite1:i386 (>= 1:0.3-1) but it is not going to be installed
Recommends: libxcursor1:i386 (> 1.1.2) but it is not going to be installed
Recommends: libxfixes3:i386 but it is not going to be installed
Recommends: libxi6:i386 but it is not going to be installed
Recommends: libxinerama1:i386 but it is not going to be installed
Recommends: libxrandr2:i386 but it is not going to be installed
Recommends: libxrender1:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 (>= 1.1.25) but it is not going to be installed
Recommends: libxxf86vm1:i386 but it is not going to be installed
Recommends: libgl1-mesa-dri:i386 but it is not going to be installed
Recommends: libasound2-plugins:i386 but it is not going to be installed
wine32:i386 : Depends: libc6:i386 (>= 2.28) but it is not going to be installed
E:満たされていない依存関係。パッケージなしで「apt --fix-broken install」を試してください(またはソリューションを指定)。
これはapt --fix-broken install
うまくいきましたが、libc6またはlibwineを再実行しても問題は解決しませんでした。
同じ問題に対する他の答えとフォーラムの投稿があることを知っていて、その解決策を試してみましたが、新しいものを手に入れませんでした。
この問題を解決するのに役立つ人はいますか?
時間をいただきありがとうございます!
Optiplex 755でDebian 10を実行しています。
編集する
出力apt policy libc6:{amd64,i386}
:(Stephen Kittの要求に応じて)
$ apt policy libc6:{amd64,i386}
libc6:
Installed: 2.29-7
Candidate: 2.29-7
Version table:
*** 2.29-7 100
100 /var/lib/dpkg/status
2.28-10 500
500 http://ftp.au.debian.org/debian buster/main amd64 Packages
libc6:i386:
Installed: (none)
Candidate: 2.28-10
Version table:
2.28-10 500
500 http://ftp.au.debian.org/debian buster/main i386 Packages
答え1
お客様の設定は Debian 10 と将来の Debian 11 の間にあり、パッケージのバージョンはリポジトリで使用できなくなります。複数のアーキテクチャ用パッケージ(このamd64
場合i386
)はまったく同じバージョンでインストールする必要があります。これは現在のシステム状態ではもう不可能です。
必要な状態がDebian 10であると仮定すると、インストールできないすべてのパッケージをダウングレードする必要があります。
sudo apt install libc6/stable
など。
完了したら、インストールする準備が整いましたwine32
。
答え2
同じ問題が発生し、解決策を見つけるのに数時間を費やしました。いよいよ得られるようになりました。まず、問題は(私のように)Debianを使用していてローリングバージョンをインストールしましたが、すべてのライブラリを更新していないことです。
1つの解決策は、すべてのライブラリをダウングレードすることです。 (私はこれをしたことがなく、どうすればいいのかわかりませんが、このソリューションはどこでも推奨されています。
私がした他の解決策:-
Kali-Linux Rollingのsource.listファイルを変更します。 (過去にいくつかの問題のためにKali-Linux Stableに変更しましたが、インストールできない主な理由でもありましたwin32
。)
これで実行が完了したらsudo apt update && apt upgrade
。
次に、をi386
実行して実行できるスキーマをインストールしますsudo dpkg --add-architecture i386
。その後、win32
実行してインストールします。apt install win32
頑張ってください。