Error message
An error occurs when using pacman
or yay
waiting for the package manager to install the program.warning: cannot resolve "lib32-*"
The following is the error that occurred when I installed the Wine version of Kugou under Archlinux.
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"
solution
The reason why the error is reported is because we want to install a 32-bit program (after all lib32
), we only need to open multilib
1 , update the software package list, and then you can find lib32-*
these packages ~
- In
/etc/pacman.conf
, remove the comments on the following two lines
[multilib]
Include = /etc/pacman.d/mirrorlist
- Execute
pacman -Syu
update package list and upgrade packages
Reference link
Wine Installation failed due to dependencies - Arch Linux Forums, https://bbs.archlinux.org/viewtopic.php?pid=1938006#p1938006 ↩︎