데비안 베타에 wine32 패키지를 설치하려고 합니다. 내 컴퓨터 중 하나에서는 문제 없이 작동하지만 이 컴퓨터에서는 작동하지 않습니다.
sudo dpkg --add-architecture i386
sudo apt update && sudo apt full-upgrade
sudo apt install wine
그러면 다음 패키지가 설치됩니다.
libwine wine wine64
추천하고wine32
하지만 sudo apt install wine32
나에게 준 :
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcurl3-gnutls : Depends: librtmp1 (>= 2.3) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
고쳐 쓰다:
설치를 시도하면 libcurl3-gnutls:i386
동일한 결과가 나타납니다.
sudo apt install libcurl3-gnutls:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcurl3-gnutls : Depends: librtmp1 (>= 2.3) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
이 문제를 해결할 수 없습니다. 어떤 아이디어가 있나요?
답변1
librtmp1:i386
수동으로 다운로드 하고 설치하여 문제를 해결할 수 있었는데 dpkg
, 종속성이 누락되었다는 메시지가 표시되었습니다. 그런 다음 다음을 통해 이러한 패키지를 설치하여 후자를 해결할 수 있습니다 apt
.
sudo apt install libgmp10:i386 libgnutls30:i386 libhogweed6:i386 libnettle8:i386 zlib1g:i386 libp11-kit0:i386 libtasn1-6:i386 libffi8:i386
그 다음에:
sudo apt install libcurl3-gnutls:i386
마침내:
sudo apt install wine32
나는 hack apt가 왜 이 종속성을 스스로 해결할 수 없는지 이해하지 못합니다. 하지만 다른 사람이 이 질문에 넘어지는 경우를 대비해. 이것이 해결책입니다.
답변2
Bullseye 버전의 데비안에서도 같은 문제가 발생했습니다. librtmp1 때문에 win32를 설치할 수 없습니다.
# apt install librtmp1:i386
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libcurl3-gnutls : Depends: librtmp1 (>= 2.3) but it is not installable
dpkg를 사용하여 librtmp1의 i386 버전을 수동으로 설치해 보았습니다. 실패했지만 문제를 해결하기 위한 몇 가지 팁을 제공했습니다.
# dpkg -i ~avd/Downloads/librtmp1_2.4+20151223.gitfa8646d.1-2+b2_i386.deb
Selecting previously unselected package librtmp1:i386.
(Reading database ... 424606 files and directories currently installed.)
Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2+b2_i386.deb ...
De-configuring librtmp1:amd64 (2:2.4~20160119.gitfa8646dae-dmo7) ...
Unpacking librtmp1:i386 (2.4+20151223.gitfa8646d.1-2+b2) ...
dpkg: error processing package librtmp1:i386 (--install):
package librtmp1:i386 2.4+20151223.gitfa8646d.1-2+b2 cannot be configured because librtmp1:amd64 is at a different version (2:2.4~20160119.gitfa8646dae-dmo7)
dpkg: error processing package librtmp1:amd64 (--install):
package librtmp1:amd64 2:2.4~20160119.gitfa8646dae-dmo7 cannot be configured because librtmp1:i386 is at a different version (2.4+20151223.gitfa8646d.1-2+b2)
Processing triggers for libc-bin (2.31-13+deb11u5) ...
Errors were encountered while processing:
librtmp1:i386
librtmp1:amd64
# apt policy librtmp1:i386
librtmp1:i386:
Installed: 2.4+20151223.gitfa8646d.1-2+b2
Candidate: 2.4+20151223.gitfa8646d.1-2+b2
Version table:
*** 2.4+20151223.gitfa8646d.1-2+b2 100
100 http://deb.debian.org/debian bullseye/main i386 Packages
100 /var/lib/dpkg/status
# apt policy librtmp1
librtmp1:
Installed: 2:2.4~20160119.gitfa8646dae-dmo7
Candidate: 2:2.4~20160119.gitfa8646dae-dmo7
Version table:
*** 2:2.4~20160119.gitfa8646dae-dmo7 100
100 /var/lib/dpkg/status
2.4+20151223.gitfa8646d.1-2+b2 100
100 http://deb.debian.org/debian bullseye/main amd64 Packages
버전이 다릅니다. librtmp1을 동일한 버전의 i386 패키지로 다운그레이드하고 유지됨으로 표시했습니다.
# apt-get install librtmp1=2.4+20151223.gitfa8646d.1-2+b2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
android-libcrypto-utils giblib1 imagemagick-7-common libb2-1 libbotan-2-17 libcmis-0.5-5v5 libffms2-4 libgdl-3-5
libgdl-3-common libigdgmm11 libmagick++-7-5 libmagickcore-7-9 libmagickwand-7-9 libmwaw-0.3-3 libnumbertext-1.0-0
libnumbertext-data libopencsd0 liborcus-0.16-0 liborcus-parser-0.16-0 libplacebo104 libqrcodegencpp1 libraqm0
libsixel1 libtspi1 libzip4 linux-headers-5.10.0-10-common linux-headers-5.10.0-16-common
linux-headers-5.10.0-9-common linux-perf-5.10 python3-cssutils python3-pyxattr python3-toml rtmpdump sse3-support
vapoursynth vapoursynth-ffms2 youtube-dl
Use 'apt autoremove' to remove them.
The following packages will be DOWNGRADED:
librtmp1
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
2 not fully installed or removed.
Need to get 60.8 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://deb.debian.org/debian bullseye/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2+b2 [60.8 kB]
Fetched 60.8 kB in 0s (582 kB/s)
dpkg: warning: downgrading librtmp1:amd64 from 2:2.4~20160119.gitfa8646dae-dmo7 to 2.4+20151223.gitfa8646d.1-2+b2
(Reading database ... 424608 files and directories currently installed.)
Preparing to unpack .../librtmp1_2.4+20151223.gitfa8646d.1-2+b2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) over (2:2.4~20160119.gitfa8646dae-dmo7) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b2) ...
Setting up librtmp1:i386 (2.4+20151223.gitfa8646d.1-2+b2) ...
Processing triggers for libc-bin (2.31-13+deb11u5) ...
# apt-mark hold librtmp1
거기에서 wine32를 설치할 수 있습니다.