Bug#1070862: and this looses files

Rene Engelhard rene at debian.org
Fri May 10 19:03:03 BST 2024


severity 1070862 serious
thanks

Hi,

this is even worse. It looses  the library file for the "non-main" 
libraries after cleanup:

Clean testing chroot.

# apt install libpoppler-dev libpoppler-cpp-dev
[...]
<edit sources.list for upgrade to sid>
# apt update
# apt dist-upgrade
The following packages were automatically installed and are no longer 
required:
   libpoppler-cpp0t64 libpoppler126t64
Use 'sudo apt autoremove' to remove them.

Upgrading:
   gcc-14-base libaudit-common libc-bin libgcc-s1 libncursesw6 
libpoppler-dev libslang2  libtinfo6 nano         ncurses-bin
   kmod        libaudit1       libc6    libkmod2  libpoppler-cpp-dev 
libsharpyuv0   libstdc++6 libwebp7  ncurses-base zlib1g

Installing dependencies:
   ca-certificates    libldap-2.5-0  libnghttp2-14     libpoppler134 
librtmp1   libsasl2-modules    libssh2-1t64 publicsuffix
   libcurl3t64-gnutls libldap-common libpoppler-cpp0v5 libpsl5t64 
libsasl2-2 libsasl2-modules-db openssl

Suggested packages:
   libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal 
libsasl2-modules-ldap libsasl2-modules-otp libsasl2-modules-sql

Summary:
   Upgrading: 20, Installing: 15, Removing: 0, Not Upgrading: 0
   Download size: 11.3 MB
   Space needed: 10.1 MB / 133 GB available

Continue? [Y/n]
Get:1 http://deb.debian.org/debian sid/main amd64 ncurses-bin amd64 
6.5-2 [433 kB]
Get:2 http://deb.debian.org/debian sid/main amd64 gcc-14-base amd64 
14-20240429-1 [43.9 kB]
Get:3 http://deb.debian.org/debian sid/main amd64 libgcc-s1 amd64 
14-20240429-1 [72.4 kB]
Get:4 http://deb.debian.org/debian sid/main amd64 libstdc++6 amd64 
14-20240429-1 [715 kB]
Get:5 http://deb.debian.org/debian sid/main amd64 libc6 amd64 2.38-8 
[2771 kB]
Get:6 http://deb.debian.org/debian sid/main amd64 libc-bin amd64 2.38-8 
[610 kB]
Get:7 http://deb.debian.org/debian sid/main amd64 ncurses-base all 6.5-2 
[270 kB]
Get:8 http://deb.debian.org/debian sid/main amd64 libaudit-common all 
1:3.1.2-2.1 [11.4 kB]
Get:9 http://deb.debian.org/debian sid/main amd64 libaudit1 amd64 
1:3.1.2-2.1 [48.5 kB]
Get:10 http://deb.debian.org/debian sid/main amd64 libncursesw6 amd64 
6.5-2 [135 kB]
Get:11 http://deb.debian.org/debian sid/main amd64 libtinfo6 amd64 6.5-2 
[344 kB]
Get:12 http://deb.debian.org/debian sid/main amd64 zlib1g amd64 
1:1.3.dfsg+really1.3.1-1 [87.9 kB]
Get:13 http://deb.debian.org/debian sid/main amd64 kmod amd64 32-1 [95.7 kB]
Get:14 http://deb.debian.org/debian sid/main amd64 libkmod2 amd64 32-1 
[60.1 kB]
Get:15 http://deb.debian.org/debian sid/main amd64 nano amd64 8.0-1 [659 kB]
Get:16 http://deb.debian.org/debian sid/main amd64 openssl amd64 3.2.1-3 
[1360 kB]
Get:17 http://deb.debian.org/debian sid/main amd64 ca-certificates all 
20240203 [158 kB]
Get:18 http://deb.debian.org/debian sid/main amd64 libsasl2-modules-db 
amd64 2.1.28+dfsg1-6 [19.5 kB]
Get:19 http://deb.debian.org/debian sid/main amd64 libsasl2-2 amd64 
2.1.28+dfsg1-6 [56.9 kB]
Get:20 http://deb.debian.org/debian sid/main amd64 libldap-2.5-0 amd64 
2.5.17+dfsg-1 [186 kB]
Get:21 http://deb.debian.org/debian sid/main amd64 libnghttp2-14 amd64 
1.61.0-1+b1 [75.6 kB]
Get:22 http://deb.debian.org/debian sid/main amd64 libpsl5t64 amd64 
0.21.2-1.1 [56.8 kB]
Get:23 http://deb.debian.org/debian sid/main amd64 librtmp1 amd64 
2.4+20151223.gitfa8646d.1-2+b4 [58.5 kB]
Get:24 http://deb.debian.org/debian sid/main amd64 libssh2-1t64 amd64 
1.11.0-4.1+b2 [215 kB]
Get:25 http://deb.debian.org/debian sid/main amd64 libcurl3t64-gnutls 
amd64 8.7.1-5 [433 kB]
Get:26 http://deb.debian.org/debian sid/main amd64 libldap-common all 
2.5.17+dfsg-1 [31.5 kB]
Get:27 http://deb.debian.org/debian sid/main amd64 libpoppler134 amd64 
24.02.0-2 [1029 kB]
Get:28 http://deb.debian.org/debian sid/main amd64 libpoppler-cpp0v5 
amd64 24.02.0-2 [41.3 kB]
Get:29 http://deb.debian.org/debian sid/main amd64 libpoppler-cpp-dev 
amd64 24.02.0-2 [14.7 kB]
Get:30 http://deb.debian.org/debian sid/main amd64 libpoppler-dev amd64 
24.02.0-2 [8080 B]
Get:31 http://deb.debian.org/debian sid/main amd64 libsasl2-modules 
amd64 2.1.28+dfsg1-6 [66.0 kB]
Get:32 http://deb.debian.org/debian sid/main amd64 libsharpyuv0 amd64 
1.4.0-0.1 [113 kB]
Get:33 http://deb.debian.org/debian sid/main amd64 libslang2 amd64 
2.3.3-5 [551 kB]
Get:34 http://deb.debian.org/debian sid/main amd64 libwebp7 amd64 
1.4.0-0.1 [311 kB]
Get:35 http://deb.debian.org/debian sid/main amd64 publicsuffix all 
20231001.0357-0.1 [125 kB]
Fetched 11.3 MB in 2s (6218 kB/s)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "de_DE.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Extracting templates from packages: 100%
Preconfiguring packages ...
Error: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No 
such device)
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../ncurses-bin_6.5-2_amd64.deb ...
Unpacking ncurses-bin (6.5-2) over (6.4+20240414-1) ...
Setting up ncurses-bin (6.5-2) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../gcc-14-base_14-20240429-1_amd64.deb ...
Unpacking gcc-14-base:amd64 (14-20240429-1) over (14-20240330-1) ...
Setting up gcc-14-base:amd64 (14-20240429-1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libgcc-s1_14-20240429-1_amd64.deb ...
Unpacking libgcc-s1:amd64 (14-20240429-1) over (14-20240330-1) ...
Setting up libgcc-s1:amd64 (14-20240429-1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libstdc++6_14-20240429-1_amd64.deb ...
Unpacking libstdc++6:amd64 (14-20240429-1) over (14-20240330-1) ...
Setting up libstdc++6:amd64 (14-20240429-1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libc6_2.38-8_amd64.deb ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking libc6:amd64 (2.38-8) over (2.38-7) ...
Setting up libc6:amd64 (2.38-8) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libc-bin_2.38-8_amd64.deb ...
Unpacking libc-bin (2.38-8) over (2.38-7) ...
Setting up libc-bin (2.38-8) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../ncurses-base_6.5-2_all.deb ...
Unpacking ncurses-base (6.5-2) over (6.4+20240414-1) ...
Setting up ncurses-base (6.5-2) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libaudit-common_1%3a3.1.2-2.1_all.deb ...
Unpacking libaudit-common (1:3.1.2-2.1) over (1:3.1.2-2) ...
Setting up libaudit-common (1:3.1.2-2.1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libaudit1_1%3a3.1.2-2.1_amd64.deb ...
Unpacking libaudit1:amd64 (1:3.1.2-2.1) over (1:3.1.2-2) ...
Setting up libaudit1:amd64 (1:3.1.2-2.1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../libncursesw6_6.5-2_amd64.deb ...
Unpacking libncursesw6:amd64 (6.5-2) over (6.4+20240414-1) ...
Preparing to unpack .../libtinfo6_6.5-2_amd64.deb ...
Unpacking libtinfo6:amd64 (6.5-2) over (6.4+20240414-1) ...
Setting up libtinfo6:amd64 (6.5-2) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../zlib1g_1%3a1.3.dfsg+really1.3.1-1_amd64.deb ...
Unpacking zlib1g:amd64 (1:1.3.dfsg+really1.3.1-1) over (1:1.3.dfsg-3.1) ...
Setting up zlib1g:amd64 (1:1.3.dfsg+really1.3.1-1) ...
(Reading database ... 8999 files and directories currently installed.)
Preparing to unpack .../00-kmod_32-1_amd64.deb ...
Unpacking kmod (32-1) over (31+20240202-2) ...
Preparing to unpack .../01-libkmod2_32-1_amd64.deb ...
Unpacking libkmod2:amd64 (32-1) over (31+20240202-2) ...
Preparing to unpack .../02-nano_8.0-1_amd64.deb ...
Unpacking nano (8.0-1) over (7.2-2) ...
Selecting previously unselected package openssl.
Preparing to unpack .../03-openssl_3.2.1-3_amd64.deb ...
Unpacking openssl (3.2.1-3) ...
Selecting previously unselected package ca-certificates.
Preparing to unpack .../04-ca-certificates_20240203_all.deb ...
Unpacking ca-certificates (20240203) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.28+dfsg1-6_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.28+dfsg1-6_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.28+dfsg1-6) ...
Selecting previously unselected package libldap-2.5-0:amd64.
Preparing to unpack .../07-libldap-2.5-0_2.5.17+dfsg-1_amd64.deb ...
Unpacking libldap-2.5-0:amd64 (2.5.17+dfsg-1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../08-libnghttp2-14_1.61.0-1+b1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.61.0-1+b1) ...
Selecting previously unselected package libpsl5t64:amd64.
Preparing to unpack .../09-libpsl5t64_0.21.2-1.1_amd64.deb ...
Unpacking libpsl5t64:amd64 (0.21.2-1.1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack 
.../10-librtmp1_2.4+20151223.gitfa8646d.1-2+b4_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ...
Selecting previously unselected package libssh2-1t64:amd64.
Preparing to unpack .../11-libssh2-1t64_1.11.0-4.1+b2_amd64.deb ...
Unpacking libssh2-1t64:amd64 (1.11.0-4.1+b2) ...
Selecting previously unselected package libcurl3t64-gnutls:amd64.
Preparing to unpack .../12-libcurl3t64-gnutls_8.7.1-5_amd64.deb ...
Unpacking libcurl3t64-gnutls:amd64 (8.7.1-5) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../13-libldap-common_2.5.17+dfsg-1_all.deb ...
Unpacking libldap-common (2.5.17+dfsg-1) ...
Selecting previously unselected package libpoppler134:amd64.
Preparing to unpack .../14-libpoppler134_24.02.0-2_amd64.deb ...
Unpacking libpoppler134:amd64 (24.02.0-2) ...
Selecting previously unselected package libpoppler-cpp0v5:amd64.
Preparing to unpack .../15-libpoppler-cpp0v5_24.02.0-2_amd64.deb ...
Unpacking libpoppler-cpp0v5:amd64 (24.02.0-2) ...
Replaced by files in installed package libpoppler-cpp0t64:amd64 
(22.12.0-2.2+b1) ...
Preparing to unpack .../16-libpoppler-cpp-dev_24.02.0-2_amd64.deb ...
Unpacking libpoppler-cpp-dev:amd64 (24.02.0-2) over (22.12.0-2.2+b1) ...
Preparing to unpack .../17-libpoppler-dev_24.02.0-2_amd64.deb ...
Unpacking libpoppler-dev:amd64 (24.02.0-2) over (22.12.0-2.2+b1) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../18-libsasl2-modules_2.1.28+dfsg1-6_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.28+dfsg1-6) ...
Preparing to unpack .../19-libsharpyuv0_1.4.0-0.1_amd64.deb ...
Unpacking libsharpyuv0:amd64 (1.4.0-0.1) over (1.3.2-0.4+b1) ...
Preparing to unpack .../20-libslang2_2.3.3-5_amd64.deb ...
Unpacking libslang2:amd64 (2.3.3-5) over (2.3.3-4) ...
Preparing to unpack .../21-libwebp7_1.4.0-0.1_amd64.deb ...
Unpacking libwebp7:amd64 (1.4.0-0.1) over (1.3.2-0.4+b1) ...
Selecting previously unselected package publicsuffix.
Preparing to unpack .../22-publicsuffix_20231001.0357-0.1_all.deb ...
Unpacking publicsuffix (20231001.0357-0.1) ...
Setting up libsharpyuv0:amd64 (1.4.0-0.1) ...
Setting up libsasl2-modules:amd64 (2.1.28+dfsg1-6) ...
Setting up libpsl5t64:amd64 (0.21.2-1.1) ...
Setting up libnghttp2-14:amd64 (1.61.0-1+b1) ...
Setting up libldap-common (2.5.17+dfsg-1) ...
Setting up libsasl2-modules-db:amd64 (2.1.28+dfsg1-6) ...
Setting up libslang2:amd64 (2.3.3-5) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2+b4) ...
Setting up libncursesw6:amd64 (6.5-2) ...
Setting up libsasl2-2:amd64 (2.1.28+dfsg1-6) ...
Setting up libwebp7:amd64 (1.4.0-0.1) ...
Setting up nano (8.0-1) ...
Installing new version of config file /etc/nanorc ...
Setting up libssh2-1t64:amd64 (1.11.0-4.1+b2) ...
Setting up openssl (3.2.1-3) ...
Setting up publicsuffix (20231001.0357-0.1) ...
Setting up libkmod2:amd64 (32-1) ...
Setting up kmod (32-1) ...
Setting up libldap-2.5-0:amd64 (2.5.17+dfsg-1) ...
Setting up ca-certificates (20240203) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Updating certificates in /etc/ssl/certs...
146 added, 0 removed; done.
Setting up libcurl3t64-gnutls:amd64 (8.7.1-5) ...
Setting up libpoppler134:amd64 (24.02.0-2) ...
Setting up libpoppler-cpp0v5:amd64 (24.02.0-2) ...
Setting up libpoppler-dev:amd64 (24.02.0-2) ...
Setting up libpoppler-cpp-dev:amd64 (24.02.0-2) ...
Processing triggers for libc-bin (2.38-8) ...
Processing triggers for ca-certificates (20240203) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
root at frodo:/# ls -l /usr/lib/x86_64-linux-gnu/
Display all 268 possibilities? (y or n)
root at frodo:/# ls -l /usr/lib/x86_64-linux-gnu/libpop
libpoppler-cpp.so         libpoppler-cpp.so.0.11.0  libpoppler.so.126 
      libpoppler.so.134         libpopt.so.0
libpoppler-cpp.so.0       libpoppler.so 
libpoppler.so.126.0.0     libpoppler.so.134.0.0     libpopt.so.0.0.2 

root at frodo:/# ls -l /usr/lib/x86_64-linux-gnu/libpoppler-cpp.so
libpoppler-cpp.so         libpoppler-cpp.so.0 
libpoppler-cpp.so.0.11.0
root at frodo:/# ls -l /usr/lib/x86_64-linux-gnu/libpoppler-cpp.so*
lrwxrwxrwx 1 root root     19 May 10 09:43 
/usr/lib/x86_64-linux-gnu/libpoppler-cpp.so -> libpoppler-cpp.so.0
lrwxrwxrwx 1 root root     24 Apr  7 19:55 
/usr/lib/x86_64-linux-gnu/libpoppler-cpp.so.0 -> libpoppler-cpp.so.0.11.0
-rw-r--r-- 1 root root 112560 Apr  7 19:55 
/usr/lib/x86_64-linux-gnu/libpoppler-cpp.so.0.11.0


So far it's still OK.

Now let's remove the "old" libpoppler-cpp0t64 (as apt autoremove would do):

root at frodo:/# dpkg -l libpoppler-cpp0t64
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  libpoppler-cpp0t64:amd64 22.12.0-2.2+b1 amd64        PDF rendering 
library (CPP shared library)
root at frodo:/# apt remove libpoppler-cpp0t64
The following package was automatically installed and is no longer required:
   libpoppler126t64
Use 'sudo apt autoremove' to remove it.

REMOVING:
   libpoppler-cpp0t64

Summary:
   Upgrading: 0, Installing: 0, Removing: 1, Not Upgrading: 0
   Freed space: 144 kB

Continue? [Y/n]
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LANG = "de_DE.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Error: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No 
such device)
(Reading database ... 9615 files and directories currently installed.)
Removing libpoppler-cpp0t64:amd64 (22.12.0-2.2+b1) ...
Processing triggers for libc-bin (2.38-8) ...
root at frodo:/# ls -l /usr/lib/x86_64-linux-gnu/libpoppler-cpp.so*
lrwxrwxrwx 1 root root 19 May 10 09:43 
/usr/lib/x86_64-linux-gnu/libpoppler-cpp.so -> libpoppler-cpp.so.0
root at frodo:/#

The actual library file is gone.

root at frodo:/# dpkg -l | grep poppler
ii  libpoppler-cpp-dev:amd64     24.02.0-2                      amd64 
     PDF rendering library -- development files (CPP interface)
ii  libpoppler-cpp0v5:amd64      24.02.0-2                      amd64 
     PDF rendering library (CPP shared library)
ii  libpoppler-dev:amd64         24.02.0-2                      amd64 
     PDF rendering library -- development files
ii  libpoppler126t64:amd64       22.12.0-2.2+b1                 amd64 
     PDF rendering library
ii  libpoppler134:amd64          24.02.0-2                      amd64 
     PDF rendering library
ii  poppler-data                 0.4.12-1                       all 
     encoding data for the poppler PDF rendering library

libpoppler-cpp0v5 is nominally installed, though..

Regards,

Rene



More information about the Pkg-freedesktop-maintainers mailing list