我正在尝试在 64 位 Natty 上安装 wine。
它已安装,但是我的一个常规update
&dist-upgrade
将其删除(没有足够注意哪些包将被删除)。
现在,当我尝试安装它时,出现以下错误:
The following packages have unmet dependencies:
wine : Depends: wine1.3 but it is not going to be installed
Depends: ia32-libs (>= 1.6) but it is not going to be installed
E: Broken packages
我发现这个问题在 askubuntu 上,但接受的答案(将镜像更改为主镜像)对我来说不起作用。
我还尝试禁用全新安装后未启用的所有源,并update
安装 wine,但没有成功。
以下是我的/etc/apt/sources.list
(为了简洁起见,不作任何评论):
deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-updates main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ natty universe
deb http://us.archive.ubuntu.com/ubuntu/ natty-updates universe
deb http://archive.canonical.com/ubuntu natty partner
deb-src http://archive.canonical.com/ubuntu natty partner
deb http://us.archive.ubuntu.com/ubuntu/ natty-security main restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ natty-security main universe restricted multiverse
deb http://us.archive.ubuntu.com/ubuntu/ natty-security universe
deb http://linux.dropbox.com/ubuntu natty main
deb-src http://linux.dropbox.com/ubuntu natty main
deb http://ppa.launchpad.net/libv4l/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/libv4l/ppa/ubuntu natty main
deb http://apt.mucommander.com stable main non-free contrib
deb http://extras.ubuntu.com/ubuntu natty main
deb http://archive.canonical.com/ natty partner
deb-src http://archive.canonical.com/ natty partner
以下是文件的内容/etc/apt/sources.list.d/
:
deb http://ppa.launchpad.net/gm-notify-maintainers/ppa/ubuntu natty main
deb http://ppa.launchpad.net/gm-notify-maintainers/ppa/ubuntu natty main
deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu natty main
deb-src http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu natty main
deb http://deb.opera.com/opera/ stable non-free
deb http://ppa.launchpad.net/resmo/git-ftp/ubuntu natty main
deb-src http://ppa.launchpad.net/resmo/git-ftp/ubuntu natty main
deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu natty main
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu natty main
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu natty main
答案1
通过安装缺失的包,ia32-libs
可以解决该问题,因为缺少依赖项,OP 遇到了ia32-libs
依赖项lib32v4l-0
,但该包仅适用于 Oneiric。
安装 .deb 可以lib32v4l-0
解决 的依赖关系ia32-libs
,进而解决 的依赖关系wine
。