All, devs,
During a system update minutes ago, I was hit with two separate
pacman errors. The first, /usr/bin/expac and the man1 page already
existed in the filesystem prevented update. I removed expac -dd, did the
system update, then went to reinstall expac (devtools dependency) and I
could not install it for the same errors - the same files continued to
exist in the filesystem. So I rm'ed /usr/bin/expac and the man1 man-page
and then installed it without issue. What's up with expac??
Second on -Sc to clear the cache I was again hit by errors:
18:04 ragnarok:~> sudo pacman -Sc
Packages to keep:
All locally installed packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n]
removing old packages from cache...
error: could not open file /var/cache/pacman/pkg/download-2YRxYx: Error
reading fd 7
error: could not open file /var/cache/pacman/pkg/download-wLBLSA: Error
reading fd 7
error: could not open file /var/cache/pacman/pkg/download-8iPKGh: Error
reading fd 7
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n]
removing unused sync repositories...
18:07 ragnarok:~> su
18:08 ragnarok:/home/david # l /var/cache/pacman/pkg/download-*
/var/cache/pacman/pkg/download-2YRxYx:
total 240
drwx------ 2 alpm alpm 4096 Dec 18 18:00 .
drwxr-xr-x 5 root root 237568 Dec 18 18:07 ..
/var/cache/pacman/pkg/download-8iPKGh:
total 240
drwx------ 2 alpm alpm 4096 Dec 18 17:57 .
drwxr-xr-x 5 root root 237568 Dec 18 18:07 ..
/var/cache/pacman/pkg/download-wLBLSA:
total 240
drwx------ 2 alpm alpm 4096 Dec 18 17:52 .
drwxr-xr-x 5 root root 237568 Dec 18 18:07 ..
What is the cause of the empty directories throwing errors on cache
cleaning? Do I just need to manually delete the directories?
Last update was just about two weeks ago and there were no errors on
either issue at that time. Really strange. Not too many times in the
past 16+ years that pacman has hiccuped.
--
David C. Rankin, J.D.,P.E.