![安装 Wine 1.7 时出错](https://linux22.com/image/984458/%E5%AE%89%E8%A3%85%20Wine%201.7%20%E6%97%B6%E5%87%BA%E9%94%99.png)
sudo apt-get install wine1.7
The following packages have unmet dependencies:
wine1.7 : Depends: binfmt-support (>= 1.1.2) but it is not installable
Depends: wine1.7-i386 (= 1:1.7.18-0ubuntu1~saucy1)
Recommends: fonts-droid but it is not installable
Recommends: fonts-horai-umefont but it is not installable
Recommends: fonts-unfonts-core but it is not installable
Recommends: winbind but it is not installable
Recommends: winetricks but it is not going to be installed
N: Ignoring file 'medibuntu.list.broken' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Unable to correct problems, you have held broken packages.
如何修复这个错误?
输出apt-cache policy wine1.7 binfmt-support wine1.7-i386
wine1.7:
Installed: (none)
Candidate: 1:1.7.18-0ubuntu1~saucy1
Version table:
1:1.7.18-0ubuntu1~saucy1 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ saucy/main amd64 Packages
binfmt-support:
Installed: (none)
Candidate: (none)
Version table:
wine1.7-i386:i386:
Installed: (none)
Candidate: 1:1.7.18-0ubuntu1~saucy1
Version table:
1:1.7.18-0ubuntu1~saucy1 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ saucy/main i386 Packages
N: Ignoring file 'medibuntu.list.broken' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'medibuntu.list.broken' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
输出sudo apt-get install binfmt-support wine1.7-i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package binfmt-support is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
N: Ignoring file 'medibuntu.list.broken' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
N: Ignoring file 'medibuntu.list.broken' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: Package 'binfmt-support' has no installation candidate