[Arch linux] Solution when package-query error occurs

Resolve when package-query error occurs when updating pacman

Error details at that time

package-query: error while loading shared libraries: libalpm.so.11

Solution: Reinsert package-query

sudo pacman -Rdd package-query
cd /tmp
git clone https://aur.archlinux.org/package-query.git
cd package-query/
makepkg -si
ldd /usr/bin/package-query | grep libalpm.so

sudo pacman -Syuu --noconfirm

Reference site

https://is.gd/rM3gC6

Recommended Posts

[Arch linux] Solution when package-query error occurs
Solution when an error occurs when hiding the console screen with PyInstaller
Dealing with key not found error in pacstrap when installing Arch Linux
Rollback processing when an error occurs with fabric
An error occurs when importing japandas (problem unsolved)
Arch Linux Recommendation
Solution when Linux does not recognize the built-in camera
A memorandum when an error occurs with pip install
A memorandum regarding Wifi connection when installing Arch Linux
jblas on Arch Linux
Solution when pip install from other than the official website and SSL Error (SSL authentication error) occurs
linux command error collection 1
Arch Linux installation notes
What to do when a Remove Error occurs when updating conda
After installing CentOS8 with VirtualBox, an error occurs when restarting
What to do when an error occurs with import _ssl