[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#986165: libcupsimage2: Upgrade fails with `m: cannot remove '/usr/share/doc/libcupsimage2': Directory not empty`



Package: libcupsimage2
Version: 2.2.10-6+deb10u4
Severity: normal


Dear Debian folks,


In a Debian 10 (buster) Docker container upgrading the package *libcupsimage2* fails with the error below.

```
# apt full-upgrade
[…]
Preparing to unpack .../066-libcupsimage2_2.2.10-6+deb10u4_amd64.deb ...
rm: cannot remove '/usr/share/doc/libcupsimage2': Directory not empty
dpkg: error processing archive /tmp/apt-dpkg-install-XQ7mPL/066-libcupsimage2_2.2.10-6+deb10u4_amd64.deb (--unpack): new libcupsimage2:amd64 package pre-installation script subprocess returned error exit status 1
Preparing to unpack .../067-libavahi-common-data_0.7-4+deb10u1_amd64.deb ...
[…]
# ls /usr/share/doc/libcupsimage2
changelog.Debian.gz  changelog.gz  copyright
```

I found one forum post from 2015 with the same error on Linux Mint upgrading *libcupsimage2:amd64* from 1.7.2-0ubuntu1.5 to 1.7.2-0ubuntu1.6. [1]


System information:

```
# more /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";
# dpkg -l libcupsimage2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                Version          Architecture Description
+++-===================-================-============-======================================================
ii libcupsimage2:amd64 2.2.10-6+deb10u2 amd64 Common UNIX Printing System(tm) - Raster image library
# apt-cache policy libcupsimage2
libcupsimage2:
  Installed: 2.2.10-6+deb10u2
  Candidate: 2.2.10-6+deb10u4
  Version table:
     2.2.10-6+deb10u4 500
        500 http://deb.debian.org/debian buster/main amd64 Packages
 *** 2.2.10-6+deb10u2 100
        100 /var/lib/dpkg/status
```


Kind regards,

Paul


[1]: https://forums.linuxmint.com/viewtopic.php?t=201930


Reply to: