![winehq 软件包在 Ubuntu 16.04 64 位上存在依赖性问题](https://linux22.com/image/897786/winehq%20%E8%BD%AF%E4%BB%B6%E5%8C%85%E5%9C%A8%20Ubuntu%2016.04%2064%20%E4%BD%8D%E4%B8%8A%E5%AD%98%E5%9C%A8%E4%BE%9D%E8%B5%96%E6%80%A7%E9%97%AE%E9%A2%98.png)
由于依赖项错误,我无法安装
The following packages have unmet dependencies: winehq-devel: Dependencies: wine-devel (= 2.22.0 ~ xenial)
然后:
The following packages have unmet dependencies: wine-devel: dependency: wine-devel-amd64 (= 2.22.0 ~ xenial) but it will not be installed depending on: wine-devel-i386 (= 2.22.0 ~ xenial )
我应该怎么办?
答案1
我找到了答案。
安装wine1.8,首先添加i386架构:
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install wine1.8
如果存在依赖性问题,请使用 aptitude 解决:
sudo aptitude --full-resolver -f install wine1.8
aptitide 将计算一个解决方案,你应该选择第一个
您可能需要降级
libcgmanager
:sudo apt-get install libcgmanager0=0.24-0ubuntu7.5
此后,再次尝试安装:
sudo apt-get install wine1.8
答案2
如果你想安装 wine2.22:
请删除其他 wine ppas,删除所有 wine ppa,它已经过时了;
然后这样做:
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get install --install-recommends winehq-devel
結束,你還好嗎?
我的ubuntu是16.04.3 64位,有主服务器;
所以问题的答案是“ppa”;
然后安装QQ TIM微信;
好有趣!