On 2021-09-09 Mateusz Rejek <mateusz.re...@gmail.com> wrote: > Interestingly enough got the same problem on ARMHF after moving to bullseye.
> I have version 1.8.7-6 installed over 1.8.4-5+deb10u1 > # cat /var/log/dpkg.log.1 | grep libgcrypt > > 2021-09-07 13:07:54 upgrade libgcrypt20:armhf 1.8.4-5+deb10u1 1.8.7-6 > > 2021-09-07 13:07:54 status half-configured libgcrypt20:armhf > > 1.8.4-5+deb10u1 > > 2021-09-07 13:07:54 status unpacked libgcrypt20:armhf 1.8.4-5+deb10u1 > > 2021-09-07 13:07:54 status half-installed libgcrypt20:armhf 1.8.4-5+deb10u1 > > 2021-09-07 13:07:54 status unpacked libgcrypt20:armhf 1.8.7-6 > > 2021-09-07 13:07:54 configure libgcrypt20:armhf 1.8.7-6 <none> > > 2021-09-07 13:07:54 status unpacked libgcrypt20:armhf 1.8.7-6 > > 2021-09-07 13:07:54 status half-configured libgcrypt20:armhf 1.8.7-6 > > 2021-09-07 13:07:54 status installed libgcrypt20:armhf 1.8.7-6 [...] > # ls -al /lib/arm-linux-gnueabihf/libgcrypt.so.20 > > lrwxrwxrwx 1 root root 19 Sep 7 14:30 > > /lib/arm-linux-gnueabihf/libgcrypt.so.20 -> libgcrypt.so.20.0.3 [...] > IMO problem is coming from libgcrypt moving in Debian 11 from > /lib/arm-linux-gnueabihf/ to /usr/lib/arm-linux-gnueabihf/ and leaving old > lib behind The left behind file (libgcrypt.so.20.0.3) is from libgcrypt20 1.6.3 so the actual error (dpkg failing to remove an file on upgrade) happened a lot earlier. 1.6.3 was shipped in Debian8/jessie. cu Andreas