Howto pacman

From Vidalinux Wiki
Revision as of 14:04, 16 February 2024 by Mandulete1 (talk | contribs)
Jump to navigation Jump to search

fix pacman giving gpg errors:

pacman-key --refresh-keys
pacman-key --init
pacman-key --populate
pacman -Sy archlinux-keyring && pacman -Su

fix errors when interrupted update occurs:

ldconfig: File /usr/lib/liblitehtml.so.0 is empty, not checked.
ldconfig: File /usr/lib/liblitehtml.so.0.0.0 is empty, not checked.
ldconfig: File /usr/lib/libSDL2_ttf-2.0.so.0 is empty, not checked.
ldconfig: File /usr/lib/libSDL2_ttf.so is empty, not checked.
ldconfig: File /usr/lib/liblitehtml.so is empty, not checked.
ldconfig: File /usr/lib/libSDL2_ttf-2.0.so.0.2200.0 is empty, not checked.

find the file who provides this libraries:

pacman -F /usr/lib/libSDL2_ttf-2.0.so.0

you should get following message:

usr/lib/libSDL2_ttf-2.0.so.0 is owned by extra/sdl2_ttf 2.22.0-1

try to install the package: