Error “cannot resolve dependency lib32 (32-bit library)” (SOLVED)
September 1, 2021
When installing a package on Arch Linux or a distro derived from it, for example, by running the following command:
sudo pacman -S trid
an error may occur stating that dependencies could not be resolved. The name of this dependency can contain the number “32” or the string “lib32”, that is, it is a 32-bit package, for example:
resolving dependencies... warning: cannot resolve "lib32-ncurses", a dependency of "trid" :: The following package cannot be upgraded due to unresolvable dependencies: trid :: Do you want to skip the above package for this upgrade? [y/N]
To fix this error, multilib must be enabled.
The multilib repository is the official repository that allows the user to run and build 32-bit applications on 64-bit Arch Linux.
To enable multilib, open the text file /etc/pacman.conf:
sudo gedit /etc/pacman.conf
Find and uncomment the lines in it (make sure to uncomment both lines, otherwise the changes will not take effect):
[multilib] Include = /etc/pacman.d/mirrorlist
Update package information:
sudo pacman -Sy
And re-run the package installer – this time all dependencies should be resolved.
- “Error: failed to commit transaction (invalid or corrupted package)” (SOLVED) (83.6%)
- How to completely uninstall a package along with dependencies on Arch Linux (as well as BlackArch and Manjaro) (81.3%)
- Errors “Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type varchar(, found type char(141)” and “Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler” (SOLVED) (74.9%)
- How to install PowerShell on Arch Linux, Manjaro, BlackArch (74.2%)
- How to simulate package installation on Linux (How to create and install a dummy package) (70.9%)
- GUI program to view and delete metadata in Linux (RANDOM - 50%)