Howto pacman: Difference between revisions
Jump to navigation
Jump to search
(Created page with "fix pacman giving gpg errors: pacman-key --refresh-keys pacman-key --init pacman-key --populate") |
Mandulete1 (talk | contribs) No edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 3: | Line 3: | ||
pacman-key --init | pacman-key --init | ||
pacman-key --populate | 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 | |||
trying to install the package with pacman -S sdl2-ttf got an error: | |||
sdl2_ttf: /usr/include/SDL2/SDL_ttf.h exists in filesystem | |||
sdl2_ttf: /usr/lib/cmake/SDL2_ttf/sdl2_ttf-config-version.cmake exists in filesystem | |||
sdl2_ttf: /usr/lib/cmake/SDL2_ttf/sdl2_ttf-config.cmake exists in filesystem | |||
sdl2_ttf: /usr/lib/libSDL2_ttf-2.0.so.0 exists in filesystem | |||
sdl2_ttf: /usr/lib/libSDL2_ttf-2.0.so.0.2200.0 exists in filesystem | |||
sdl2_ttf: /usr/lib/libSDL2_ttf.so exists in filesystem | |||
sdl2_ttf: /usr/lib/pkgconfig/SDL2_ttf.pc exists in filesystem | |||
sdl2_ttf: /usr/share/licenses/sdl2_ttf/LICENSE exists in filesystem | |||
copy this output to file then do the following: | |||
cat output.txt |awk '{print $2}'|sed 's|^|rm |g' > removing-conflict.sh | |||
then execute this file: | |||
bash removing-conflict.sh | |||
now install the package: | |||
pacman -S sdl2_ttf --noconfirm |
Latest revision as of 01:42, 18 February 2024
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
trying to install the package with pacman -S sdl2-ttf got an error:
sdl2_ttf: /usr/include/SDL2/SDL_ttf.h exists in filesystem sdl2_ttf: /usr/lib/cmake/SDL2_ttf/sdl2_ttf-config-version.cmake exists in filesystem sdl2_ttf: /usr/lib/cmake/SDL2_ttf/sdl2_ttf-config.cmake exists in filesystem sdl2_ttf: /usr/lib/libSDL2_ttf-2.0.so.0 exists in filesystem sdl2_ttf: /usr/lib/libSDL2_ttf-2.0.so.0.2200.0 exists in filesystem sdl2_ttf: /usr/lib/libSDL2_ttf.so exists in filesystem sdl2_ttf: /usr/lib/pkgconfig/SDL2_ttf.pc exists in filesystem sdl2_ttf: /usr/share/licenses/sdl2_ttf/LICENSE exists in filesystem
copy this output to file then do the following:
cat output.txt |awk '{print $2}'|sed 's|^|rm |g' > removing-conflict.sh
then execute this file:
bash removing-conflict.sh
now install the package:
pacman -S sdl2_ttf --noconfirm