paccache -rv lib32-libunistring
returned:
==> no candidate packages found for pruning
paccache -rvk0
listed a bunch of packages, ending with
==> finished: 1186 packages removed (disk space saved: 3.41 GiB)
So I ran
pacman-mirrors -f
which worked
Then
pacman -Syyu
:: Synchronizing package databases...
core 167,6 KiB 1783 KiB/s 00:00 [######################################################] 100%
extra 1994,4 KiB 3,67 MiB/s 00:01 [######################################################] 100%
community 6,3 MiB 8,12 MiB/s 00:01 [######################################################] 100%
multilib 182,0 KiB 25,4 MiB/s 00:00 [######################################################] 100%
:: Some packages should be upgraded first...
resolving dependencies...
error: could not open file /var/lib/pacman/local/lib32-libunistring-0.9.10-1/desc: No such file or directory
looking for conflicting packages...
Packages (1) manjaro-system-20201231-6
Total Download Size: 0,02 MiB
Total Installed Size: 0,00 MiB
Net Upgrade Size: 0,00 MiB
As the file still is reported as missing, I aborted.
Then
pacman -S lib32-libunistring
:: Some packages should be upgraded first...
resolving dependencies...
error: could not open file /var/lib/pacman/local/lib32-libunistring-0.9.10-1/desc: No such file or directory
looking for conflicting packages...
Packages (1) manjaro-system-20201231-6
Total Download Size: 0,02 MiB
Total Installed Size: 0,00 MiB
Net Upgrade Size: 0,00 MiB
:: Proceed with installation? [Y/n] ^C
Interrupt signal received
I then tried
pacman -Scc
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
Now I’d expect
ls -l /var/lib/pacman/local/lib32-libusb-1.0.23-2/
to return folder not exist or at least be empty, but it’s not.
pacman -S lib32-libunistring
still reports the file as missing.
I suspect the cause of this is back in September when the combination of luks and ext4 caused a bunch of disk errors every time there was a large (>10GB) set of files written to the disk. I jumped to ZFS for all non-system partition. Then that problem was gone. I guess the missing files were lost back then, and I didn’t notice before now.
How come the /var/lib/pacman/local folder is not emptied after the clean up commands?