I wanted to uninstall this package (“doublecmd-gtk2”). However, I get the following error:
sudo pacman -r doublecmd-gtk2
error: failed to initialise alpm library
(could not find or read directory: doublecmd-gtk2/var/lib/pacman/)
This is strange. Just after posting the above, I re-tried the very same thing and this time I got no errors.
Just realized I typed “sudo pacman -r” instead of “sudo pacman -R”.
Sorry for wasting your time. I tried to delete this post but it won’t let me.