You are not logged in.
Hi,
I've got this message during update just now:
# pacman -Syu
...
:: Starting full system upgrade...
:: Replace calibre-common with community/calibre? [Y/n]
...
brotli-1.0.9-2 ca-certificates-mozilla-3.57-1 calibre-5.0.1-1 calibre-common-4.23.0-2 [removal]
...
(1/1) removing calibre-common
rmdir: failed to remove '/usr/lib/calibre/': Directory not empty
error: command failed to execute correctly
...
( 85/276) upgrading calibre
New optional dependencies for calibre
poppler: required for converting pdf to html [installed]Calibre was upgraded from 4.23.0-2 to 5.0.1-1. Both calibre-4.23.0-2 and calibre-common-4.23.0-2 had files at /usr/lib/calibre. From what I can see there were no shared (overlapping) files. Well, pacman would probably not let that happen anyway. On a side note, calibre had *.pyc, *.pyo files for calibre-common O.o
As far as I can see calibre and calibre-common were built by the same PKGBUILD. And in this commit they dropped calibre-common. But in post_remove calibre-common had:
if [ -e /usr/lib/calibre/bin ]; then
rm /usr/lib/calibre/bin
rmdir /usr/lib/calibre/
fiThe bin dir supposedly existed, so it tried to remove /usr/lib/calibre, but failed since the dir was not empty.
As such, it must be a packaging issue (stale post_remove), which can be ignored. Can you confirm?
Offline
I had no problems with today's update
Update was ~315 MB (67 updates)
Here's what I'd do
Remove old calibre (+calibre common)
To remove directory run 'rm -r' as root if necessary
Clear cache (if you feel like it)
Run 'Syu' again
Last edited by amaro (2020-10-04 08:53:15)
Offline
Please see https://bugs.archlinux.org/task/68094
Offline