Archlinux安装应用程序出现warning: cannot resolve “lib32-*“错误

错误提示

使用pacman或者yay等包管理器安装程序时报错warning: cannot resolve "lib32-*"

以下是我在Archlinux下安装Wine版本酷狗时出现的报错

warning: cannot resolve "lib32-fontconfig", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-lcms2", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libxml2", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libxcursor", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libxrandr", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libxdamage", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libxi", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-gettext", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-freetype2", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-glu", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libsm", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-libpcap", a dependency of "wine-for-wechat"
warning: cannot resolve "lib32-faudio", a dependency of "wine-for-wechat"

解决方案

之所以会报错,是因为我们要装的是32位的程序(毕竟是lib32么),只需开启multilib1,更新软件包列表,然后就可以找到lib32-*这些包了~

  1. /etc/pacman.conf中,去掉如下两行的注释
[multilib]
Include = /etc/pacman.d/mirrorlist
  1. 执行pacman -Syu更新软件包列表并升级包

参考链接


  1. Wine Installation failed due to dependencies - Arch Linux Forums, https://bbs.archlinux.org/viewtopic.php?pid=1938006#p1938006 ↩︎

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值