왜 Debian 9에 Wine을 설치할 수 없나요?

왜 Debian 9에 Wine을 설치할 수 없나요?

웹페이지의 수동 지침을 따르세요. 위키는 데비안에 와인을 설치합니다

sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" |sudo tee -a  /etc/apt/sources.list
sudo apt update

이제 와인을 설치하십시오.

sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
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:
 winehq-stable : Depends: wine-stable (= 5.0.0~stretch)
E: Unable to correct problems, you have held broken packages.

Wine-Stable을 설치해 보세요.

sudo apt install --install-recommends wine-stable
Reading package lists... Done
Building dependency tree       
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:
 wine-stable : Depends: wine-stable-i386 (= 5.0.0~stretch)
E: Unable to correct problems, you have held broken packages.

의존성이 너무 많습니다.

sudo apt install  wine-stable-i386
Reading package lists... Done
Building dependency tree       
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:
 wine-stable-i386:i386 : Depends: libasound2-plugins: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: libsdl2-2.0-0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

내 운영 체제의 일부 구성입니다.

cat /etc/issue
Debian GNU/Linux 9 \n \l
ls /etc/apt/sources.list.d
google-chrome.list  google-chrome.list.save  wine-obs.list
cat  /etc/apt/sources.list.d/wine-obs.list
deb http://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Debian_9.0 ./

제거해도 소용이 없습니다. 여기에 이미지 설명을 입력하세요. 종속성 문제가 여전히 존재합니다.
여기에 이미지 설명을 입력하세요. 쓸모 없는 sudo apt dist-upgrade.

여기에 이미지 설명을 입력하세요. 포장을 제거하고 검사합니다.

sudo apt purge wine.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'libwine-dev' for regex 'wine.'
Note, selecting 'winetricks' for regex 'wine.'
Note, selecting 'wine-devel-amd64' for regex 'wine.'
Note, selecting 'wine-staging-compat' for regex 'wine.'
Note, selecting 'wine-devel' for regex 'wine.'
Note, selecting 'wine-binfmt' for regex 'wine.'
Note, selecting 'wine32-preloader:i386' for regex 'wine.'
Note, selecting 'gnome-wine-icon-theme' for regex 'wine.'
Note, selecting 'wine32-development-tools' for regex 'wine.'
Note, selecting 'wine-devel-dbg' for regex 'wine.'
Note, selecting 'wine-devel-dev' for regex 'wine.'
Note, selecting 'wine64-development' for regex 'wine.'
Note, selecting 'wine-stable-dbg' for regex 'wine.'
Note, selecting 'wine-stable-dev' for regex 'wine.'
Note, selecting 'winehq-devel' for regex 'wine.'
Note, selecting 'wine1.4-amd64' for regex 'wine.'
Note, selecting 'wine-staging-i386' for regex 'wine.'
Note, selecting 'wine64-preloader' for regex 'wine.'
Note, selecting 'wine64-development-tools' for regex 'wine.'
Note, selecting 'wine1.6-dev' for regex 'wine.'
Note, selecting 'wine1.4' for regex 'wine.'
Note, selecting 'wine1.5' for regex 'wine.'
Note, selecting 'wine1.6' for regex 'wine.'
Note, selecting 'wine1.7' for regex 'wine.'
Note, selecting 'wine1.8' for regex 'wine.'
Note, selecting 'wine1.9' for regex 'wine.'
Note, selecting 'wine1.5-amd64' for regex 'wine.'
Note, selecting 'wine2.0' for regex 'wine.'
Note, selecting 'wine32-development' for regex 'wine.'
Note, selecting 'wine-devel-i386' for regex 'wine.'
Note, selecting 'wine1.7-i386' for regex 'wine.'
Note, selecting 'wine1.6-amd64' for regex 'wine.'
Note, selecting 'wine-development' for regex 'wine.'
Note, selecting 'wine32-tools' for regex 'wine.'
Note, selecting 'wine1.6-i386' for regex 'wine.'
Note, selecting 'wine-stable' for regex 'wine.'
Note, selecting 'libwine-development-dev' for regex 'wine.'
Note, selecting 'shiki-wine-theme' for regex 'wine.'
Note, selecting 'wine32' for regex 'wine.'
Note, selecting 'wine64' for regex 'wine.'
Note, selecting 'wine1.5-i386' for regex 'wine.'
Note, selecting 'libwine-development' for regex 'wine.'
Note, selecting 'winehq-stable' for regex 'wine.'
Note, selecting 'wine-staging' for regex 'wine.'
Note, selecting 'wine-i386' for regex 'wine.'
Note, selecting 'wine1.4-i386' for regex 'wine.'
Note, selecting 'wine-staging-dbg' for regex 'wine.'
Note, selecting 'wine64-development-preloader' for regex 'wine.'
Note, selecting 'wine-staging-dev' for regex 'wine.'
Note, selecting 'libwine-gecko-2.47' for regex 'wine.'
Note, selecting 'wine-stable-i386' for regex 'wine.'
Note, selecting 'wine-staging-amd64' for regex 'wine.'
Note, selecting 'winehq-staging' for regex 'wine.'
Note, selecting 'wine1.7-amd64' for regex 'wine.'
Note, selecting 'wine-stable-amd64' for regex 'wine.'
Note, selecting 'wine-amd64' for regex 'wine.'
Note, selecting 'wine64-tools' for regex 'wine.'
Note, selecting 'libkwineffects9' for regex 'wine.'
Note, selecting 'wine32-development-preloader:i386' for regex 'wine.'
Note, selecting 'wine32-tools:i386' instead of 'wine32-tools'
Note, selecting 'wine32-development-tools:i386' instead of 'wine32-development-tools'
Package 'wine1.8' is not installed, so not removed
Package 'wine1.9' is not installed, so not removed
Package 'wine1.6-dev' is not installed, so not removed
Note, selecting 'wine32-development:i386' instead of 'wine32-development'
Package 'libwine-gecko-2.47' is not installed, so not removed
Package 'wine2.0' is not installed, so not removed
Note, selecting 'wine-devel-i386:i386' instead of 'wine-devel-i386'
Note, selecting 'wine-stable-i386:i386' instead of 'wine-stable-i386'
Note, selecting 'wine-staging-i386:i386' instead of 'wine-staging-i386'
Package 'gnome-wine-icon-theme' is not installed, so not removed
Package 'libkwineffects9' is not installed, so not removed
Package 'shiki-wine-theme' is not installed, so not removed
Package 'libwine-development' is not installed, so not removed
Package 'libwine-development-dev' is not installed, so not removed
Package 'wine-development' is not installed, so not removed
Package 'wine64-development' is not installed, so not removed
Package 'wine64-development-preloader' is not installed, so not removed
Package 'wine64-development-tools' is not installed, so not removed
Package 'wine32-development-preloader:i386' is not installed, so not removed
Package 'winetricks' is not installed, so not removed
Package 'libwine-dev' is not installed, so not removed
Package 'wine-binfmt' is not installed, so not removed
Package 'wine64' is not installed, so not removed
Package 'wine64-preloader' is not installed, so not removed
Package 'wine64-tools' is not installed, so not removed
Package 'wine32-preloader:i386' is not installed, so not removed
Package 'wine-devel-amd64' is not installed, so not removed
Package 'wine-devel-dbg' is not installed, so not removed
Package 'wine-devel-dev' is not installed, so not removed
Package 'wine-devel' is not installed, so not removed
Package 'wine-stable-amd64' is not installed, so not removed
Package 'wine-stable-dbg' is not installed, so not removed
Package 'wine-stable-dev' is not installed, so not removed
Package 'wine-stable' is not installed, so not removed
Package 'wine-staging-amd64' is not installed, so not removed
Package 'wine-staging-compat' is not installed, so not removed
Package 'wine-staging-dbg' is not installed, so not removed
Package 'wine-staging-dev' is not installed, so not removed
Package 'wine-staging' is not installed, so not removed
Package 'winehq-devel' is not installed, so not removed
Package 'winehq-stable' is not installed, so not removed
Package 'winehq-staging' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

어떻게 고치나요? 여기에 이미지 설명을 입력하세요.

답변1

mainsource.list에 저장소가 없습니다(저장소에서 종속성이 누락되었습니다) main.

/etc/apt/sources.list다음과 같이 편집하세요 .

deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

deb http://deb.debian.org/debian-security/ stretch/updates main
deb-src http://deb.debian.org/debian-security/ stretch/updates main

deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main

deb https://dl.winehq.org/wine-builds/debian/ stretch main

아래의 모든 저장소를 비활성화하십시오./etc/apt/sources.list.d/

그런 다음 다음을 실행하십시오.

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt install --install-recommends winehq-stable

답변2

apt가 불평하는 상황에 처할 때마다 가장 먼저 시도하는 것은 업데이트된 설치가 여전히 작동하는지 확인하는 것입니다.

apt-get clean && apt-get update &&
  apt-get upgrade && apt-get clean && apt-get autoremove --purge &&
  apt-get dist-upgrade && apt-get clean && apt-get autoremove --purge

위의 방법이 작동하지 않으면 다음과 같은 유용한 팁이 포함되어 있을 수 있습니다.apt --fix-broken install

그래서 시도해 볼 수 있습니다 sudo apt-get -f install. 이것은 일반적으로 누락된 종속성을 설치합니다.

답변3

apt policy libjbig0:i386
apt policy libjbig0:amd64
sudo apt install  wine

관련 정보