由于依赖项错误,我无法安装
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微信;
好有趣!