yum中安装wine提示出错
如题,我在fedora 17 x86_64 下用yum安装wine
$ sudo yum install wine
他给我提示:
--> Finished Dependency Resolution
Error: Package: nspr-devel-4.9-2.fc17.x86_64 (@anaconda-0)
Requires: nspr = 4.9-2.fc17
Removing: nspr-4.9-2.fc17.x86_64 (@anaconda-0)
nspr = 4.9-2.fc17
Updated By: nspr-4.9.4-1.fc17.x86_64 (updates)
nspr = 4.9.4-1.fc17
Removing: nspr-4.9.2-1.fc17.x86_64 (installed)
nspr = 4.9.2-1.fc17
Updated By: nspr-4.9.4-1.fc17.x86_64 (updates)
nspr = 4.9.4-1.fc17
Error: Package: nss-tools-3.13.4-3.fc17.x86_64 (@anaconda-0)
Requires: nss = 3.13.4-3.fc17
Removing: nss-3.13.4-3.fc17.x86_64 (@anaconda-0)
nss = 3.13.4-3.fc17
Updated By: nss-3.14.1-3.fc17.x86_64 (updates)
nss = 3.14.1-3.fc17
Removing: nss-3.14-7.fc17.x86_64 (installed)
nss = 3.14-7.fc17
Updated By: nss-3.14.1-3.fc17.x86_64 (updates)
nss = 3.14.1-3.fc17
Error: Package: nss-sysinit-3.13.4-3.fc17.x86_64 (@anaconda-0)
Requires: nss = 3.13.4-3.fc17
Removing: nss-3.13.4-3.fc17.x86_64 (@anaconda-0)
nss = 3.13.4-3.fc17
Updated By: nss-3.14.1-3.fc17.x86_64 (updates)
nss = 3.14.1-3.fc17
Removing: nss-3.14-7.fc17.x86_64 (installed)
nss = 3.14-7.fc17
Updated By: nss-3.14.1-3.fc17.x86_64 (updates)
nss = 3.14.1-3.fc17
You could try using --skip-broken to work around the problem
然后就失败了,请问应该怎么解决?
[解决办法]
yum install --skip-broken wine
[解决办法]
用yum remove命令将冲突的软件包删除(nsrp,nss),再运行yum install wine,安装程序在检查依赖性的时候,会自动下载缺少的软件包。