Navigate: homepage/help/tar

Archlinux troubleshooting

Fix common issues after failed upgrade

File exsits in filesystem

error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libname: /insert/file/name/here exists in filesystem
Errors occurred, no packages were upgraded.

ldconfig lib is empty, not checked

/sbin/ldconfig: File /usr/lib/libFS.so.6 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libFS.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libFS.so.6.0.0 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libdv.so is empty, not checked.
/sbin/ldconfig: File /usr/lib/libdv.so.4 is empty, not checked.
/sbin/ldconfig: File /usr/lib/libdv.so.4.0.3 is empty, not checked.

Solution

The following command is to be used at least two times with a reboot

This command will reinstall all of the currently installed packages, it is a slow process that will require a stable internet connection
Use as root

pacman -Syu --overwrite '*' $(pacman -Qnq)

If you can't root use sudo
Beware that sudo might be slow and ask questions

sudo pacman -Syu --overwrite '*' $(sudo pacman -Qnq)