不知道wine怎么就挂了,用 sudo apt-get autoremove 和 dpkg -r 清理所有 wine 相关的组件后,再安装就装不上了。
$ sudo apt-get install wine
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 : Depends: wine1.6
E: Unable to correct problems, you have held broken packages.
然后查看 apt 源:
$ cat /etc/apt/sources.list
#deb cdrom:[Linux Mint 19.3 _Tricia_ - Release amd64 20191213]/ bionic contrib main non-free
deb http://kr.archive.ubuntu.com/ubuntu/ xenial main universe
deb-src http://kr.archive.ubuntu.com/ubuntu/ xenial main universe
发现只有两个韩国的源地址,修改为中国的:
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://cn.archive.ubuntu.com/ubuntu/ xenial-updates main multiverse
然后再安装就可以了。
sudo apt-get install wine-stable winetricks