当我尝试使用以下方式安装适用于 Fedora 21 的 Wine 时,出现错误
sudo yum install wine
我收到的错误是
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libusbx which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libusbx of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libusbx.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libusbx installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libusbx installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: libusbx-1.0.19-2.fc21.i686 != libusbx-1.0.19-100.rc2.fc21.x86_64
我该如何修复这个问题?yum 和 rpm 只找到 x86_64 版本。我收到此错误
Package(s) libusbx.i686 available, but not installed.
答案1
由于某种原因,我升级后的 F21 系统上仍然安装了 libusbx.x86_64 0:1.0.19-100.rc2.fc20。我可以通过运行来解决这个问题
$ sudo yum downgrade libusbx.x86_64
您需要以某种方式使 x86_64 和 i686 包的版本同步,并且由于 1.0.19-2 < 1.0.19-100,我假设降级已安装的包应该会有所帮助。
答案2
在我的情况下是 Chromium。降级不起作用。必须删除它并禁用 repos 才能删除保护。您的配置文件应保留在 下/home/user/.config/chromium
,但如果您需要书签等特定内容,请事先将其导出:
yum remove chromium
-Change enabled=1 to enabled=0
nano /etc/yum.repos.d/spot-chromium.repo
nano /etc/yum.repos.d/google-chrome.repo
yum install wine