我正在运行 Debian 12 (bookworm)。我正在尝试安装 WINE。我已完成以下操作:
curl -fSsL https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor | sudo tee /usr/share/keyrings/winehq.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/winehq.gpg] http://dl.winehq.org/wine-builds/debian/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/winehq.list
sudo apt update
sudo apt install software-properties-common apt-transport-https curl -y
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install winehq-stable --install-recommends
此时,我收到以下错误:
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:
winehq-stable : Depends: wine-stable (= 8.0.2~bookworm-1)
E: Unable to correct problems, you have held broken packages.
我验证了以下内容:
dpkg --print-foreign-architectures
/etc/apt/sources.list.d/winehq.list
/usr/share/keyrings/winehq.gpg
我尝试了以下所有方法,但均未成功:
sudo apt --fix-missing update
sudo apt update
sudo apt install -f
sudo apt --fix-broken install
dpkg --get-selections | grep hold
dpkg -l | grep ^..r
据我所知,我已经不任何破损或被扣留的包裹。
我做错了什么?