데비안에 wine32를 설치할 수 없습니다

데비안에 wine32를 설치할 수 없습니다

Wine에서 Windows 응용프로그램을 실행하려고 하는데 다음과 같은 메시지가 나타납니다.

it looks like wine32 is missing, you should install it.
as root, please execute "apt-get install wine32"

그래서 루트로서 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

동일한 문제가 발생하여 해결책을 찾는 데 몇 시간을 보냈습니다. 드디어 얻을 수 있게 되었습니다. 첫째, 문제는 당신이 (나처럼) 데비안을 사용하고 있고 롤링 버전을 설치했지만 모든 라이브러리를 업데이트하지 않았다는 것입니다.

한 가지 해결책은 모든 라이브러리를 다운그레이드하는 것입니다. (저는 이 작업을 수행한 적이 없고 어떻게 해야 할지 모르지만 이 솔루션은 모든 곳에서 권장되었습니다.

내가 한 다른 솔루션:-

Kali-Linux Rolling의 source.list 파일을 변경합니다. (과거에 몇 가지 문제로 인해 Kali-Linux Stable로 변경했는데, 설치가 안되는 주된 이유이기도 했습니다 win32.)

이제 실행이 완료되면 sudo apt update && apt upgrade.

그런 다음 를 i386실행하여 수행할 수 있는 스키마를 설치합니다 sudo dpkg --add-architecture i386. 그런 다음 win32실행하여 설치하십시오.apt install win32

행운을 빕니다.

관련 정보