Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

usrmerge problem on docker with upgrade

1,545 views
Skip to first unread message

Hogren

unread,
Oct 27, 2022, 4:00:06 AM10/27/22
to
Hello,

I hope that everybody are fine in this quiet dark period.


For a specific project I need to construct a Bookworm docker container,
through a Bullseye image. For explanation, I need to install Bullseye,
install a proprietary package (SQL Server driver) from an external
repository, only compatible with this Debian release, and upgrade to
Bookworm, to get correct versions of tools like PHP.

I simplified the Dockerfile, so anybody can quietly reproduce the
problem :
reproduce@debian $ cat Dockerfile
FROM debian:stable
RUN apt update
RUN apt upgrade -y
RUN echo 'deb http://deb.debian.org/debian testing main' >
/etc/apt/sources.list
RUN apt update
RUN apt upgrade -y
RUN apt dist-upgrade -y

Then, I execute this command :
reproduce@debian $ docker image build --no-cache -t debiantest:latest ./

The complete output is at the end of the mail.

I saw this is a known problem, normally resolved :
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1008202

I think that it was resolve for a classic usage of a docker container,
without an upgrade as I try.


Anybody can help me or confirm me that it’s a bug and I need to open a
bug issue ?


Thank you very much !



--------------------------------------------------------------------------------------

[+] Building 38.5s (9/10)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 38B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/debian:stable
1.8s
=> CACHED [1/7] FROM
docker.io/library/debian:stable@sha256:9583740c100697a7dd186b80198a66ad24927e03437414559f90e0ed2639346e
0.0s
=> [2/7] RUN apt update 2.9s
=> [3/7] RUN apt upgrade -y 1.4s
=> [4/7] RUN echo 'deb http://deb.debian.org/debian testing main' >
/etc/apt/sources.list 0.6s
=> [5/7] RUN apt update 3.1s
=> ERROR [6/7] RUN apt upgrade -y 28.7s
------
> [6/7] RUN apt upgrade -y:
#9 0.465
#9 0.465 WARNING: apt does not have a stable CLI interface. Use with
caution in scripts.
#9 0.465
#9 0.471 Reading package lists...
#9 0.999 Building dependency tree...
#9 1.143 Reading state information...
#9 1.179 Calculating upgrade...
#9 1.438 The following packages were automatically installed and are no
longer required:
#9 1.439 libffi7 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3
libkrb5support0
#9 1.440 libnsl2 libssl1.1 libssl3 libtirpc-common libtirpc3 lsb-base
#9 1.440 Use 'apt autoremove' to remove them.
#9 2.124 The following NEW packages will be installed:
#9 2.125 gcc-12-base libcap2 libffi8 libfile-find-rule-perl
libgdbm-compat4 libgdbm6
#9 2.126 libnumber-compare-perl libperl5.34 libssl3 libtext-glob-perl
netbase perl
#9 2.126 perl-modules-5.34 sensible-utils usrmerge util-linux-extra
#9 2.128 The following packages have been kept back:
#9 2.129 libsemanage-common passwd
#9 2.130 The following packages will be upgraded:
#9 2.130 adduser apt base-files base-passwd bash bsdutils coreutils
dash debconf
#9 2.131 debianutils diffutils dpkg e2fsprogs findutils gcc-10-base
gpgv grep gzip
#9 2.131 init-system-helpers libacl1 libapt-pkg6.0 libattr1
libaudit-common libaudit1
#9 2.131 libblkid1 libbz2-1.0 libc-bin libc6 libcap-ng0 libcom-err2
libcrypt1
#9 2.131 libdb5.3 libdebconfclient0 libext2fs2 libgcc-s1 libgcrypt20
libgmp10
#9 2.131 libgnutls30 libgpg-error0 libgssapi-krb5-2 libhogweed6
libidn2-0
#9 2.132 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblz4-1
liblzma5
#9 2.132 libmount1 libnettle8 libp11-kit0 libpam-modules
libpam-modules-bin
#9 2.133 libpam-runtime libpam0g libpcre2-8-0 libpcre3 libseccomp2
libselinux1
#9 2.133 libsmartcols1 libss2 libstdc++6 libsystemd0 libtasn1-6
libtinfo6
#9 2.134 libtirpc-common libtirpc3 libudev1 libunistring2 libuuid1
libxxhash0
#9 2.136 libzstd1 login logsave lsb-base mawk mount ncurses-base
ncurses-bin
#9 2.138 perl-base sed sysvinit-utils tzdata util-linux zlib1g
#9 2.240 85 upgraded, 16 newly installed, 0 to remove and 2 not
upgraded.
#9 2.240 Need to get 41.5 MB of archives.
#9 2.240 After this operation, 55.6 MB of additional disk space will be
used.
#9 2.240 Get:1 http://deb.debian.org/debian testing/main amd64
base-files amd64 12.3 [70.3 kB]
#9 2.351 Get:2 http://deb.debian.org/debian testing/main amd64 libc6
amd64 2.35-3 [2737 kB]
#9 3.673 Get:3 http://deb.debian.org/debian testing/main amd64 libc-bin
amd64 2.35-3 [616 kB]
#9 3.705 Get:4 http://deb.debian.org/debian testing/main amd64
gcc-12-base amd64 12.2.0-3 [208 kB]
#9 3.715 Get:5 http://deb.debian.org/debian testing/main amd64 libgcc-s1
amd64 12.2.0-3 [50.2 kB]
#9 3.717 Get:6 http://deb.debian.org/debian testing/main amd64
debianutils amd64 5.7-0.3 [102 kB]
#9 3.723 Get:7 http://deb.debian.org/debian testing/main amd64 bash
amd64 5.2~rc2-2 [1527 kB]
#9 3.789 Get:8 http://deb.debian.org/debian testing/main amd64 bsdutils
amd64 1:2.38.1-1.1+b1 [92.7 kB]
#9 3.793 Get:9 http://deb.debian.org/debian testing/main amd64 libgmp10
amd64 2:6.2.1+dfsg1-1.1 [563 kB]
#9 3.817 Get:10 http://deb.debian.org/debian testing/main amd64
coreutils amd64 9.1-1 [2897 kB]
#9 3.974 Get:11 http://deb.debian.org/debian testing/main amd64 dpkg
amd64 1.21.9+b1 [2354 kB]
#9 4.077 Get:12 http://deb.debian.org/debian testing/main amd64 dash
amd64 0.5.11+git20210903+057cd650a4ed-9 [114 kB]
#9 4.084 Get:13 http://deb.debian.org/debian testing/main amd64
diffutils amd64 1:3.8-1 [387 kB]
#9 4.097 Get:14 http://deb.debian.org/debian testing/main amd64
findutils amd64 4.9.0-3 [681 kB]
#9 4.190 Get:15 http://deb.debian.org/debian testing/main amd64 grep
amd64 3.7-1 [404 kB]
#9 4.254 Get:16 http://deb.debian.org/debian testing/main amd64 gzip
amd64 1.12-1 [140 kB]
#9 4.271 Get:17 http://deb.debian.org/debian testing/main amd64 login
amd64 1:4.12.3+dfsg1-1 [656 kB]
#9 4.299 Get:18 http://deb.debian.org/debian testing/main amd64
libtinfo6 amd64 6.3+20220423-2 [351 kB]
#9 4.317 Get:19 http://deb.debian.org/debian testing/main amd64
ncurses-bin amd64 6.3+20220423-2 [441 kB]
#9 4.337 Get:20 http://deb.debian.org/debian testing/main amd64
perl-base amd64 5.34.0-5 [1640 kB]
#9 4.424 Get:21 http://deb.debian.org/debian testing/main amd64 sed
amd64 4.8-1 [316 kB]
#9 4.441 Get:22 http://deb.debian.org/debian testing/main amd64
libblkid1 amd64 2.38.1-1.1+b1 [147 kB]
#9 4.446 Get:23 http://deb.debian.org/debian testing/main amd64
libpcre2-8-0 amd64 10.40-1 [259 kB]
#9 4.458 Get:24 http://deb.debian.org/debian testing/main amd64
libselinux1 amd64 3.4-1+b2 [92.7 kB]
#9 4.465 Get:25 http://deb.debian.org/debian testing/main amd64
libmount1 amd64 2.38.1-1.1+b1 [165 kB]
#9 4.475 Get:26 http://deb.debian.org/debian testing/main amd64
libsmartcols1 amd64 2.38.1-1.1+b1 [106 kB]
#9 4.481 Get:27 http://deb.debian.org/debian testing/main amd64
libaudit-common all 1:3.0.7-1.1 [16.4 kB]
#9 4.483 Get:28 http://deb.debian.org/debian testing/main amd64
libcap-ng0 amd64 0.8.3-1+b1 [19.2 kB]
#9 4.484 Get:29 http://deb.debian.org/debian testing/main amd64
libaudit1 amd64 1:3.0.7-1.1+b1 [46.4 kB]
#9 4.486 Get:30 http://deb.debian.org/debian testing/main amd64
util-linux-extra amd64 2.38.1-1.1+b1 [110 kB]
#9 4.492 Get:31 http://deb.debian.org/debian testing/main amd64
util-linux amd64 2.38.1-1.1+b1 [1176 kB]
#9 4.571 Get:32 http://deb.debian.org/debian testing/main amd64
libgpg-error0 amd64 1.45-2 [82.7 kB]
#9 4.579 Get:33 http://deb.debian.org/debian testing/main amd64
libgcrypt20 amd64 1.10.1-2 [704 kB]
#9 4.614 Get:34 http://deb.debian.org/debian testing/main amd64
libstdc++6 amd64 12.2.0-3 [613 kB]
#9 4.703 Get:35 http://deb.debian.org/debian testing/main amd64 libzstd1
amd64 1.5.2+dfsg-1 [275 kB]
#9 4.718 Get:36 http://deb.debian.org/debian testing/main amd64
libbz2-1.0 amd64 1.0.8-5+b1 [47.3 kB]
#9 4.720 Get:37 http://deb.debian.org/debian testing/main amd64 liblz4-1
amd64 1.9.4-1 [62.9 kB]
#9 4.723 Get:38 http://deb.debian.org/debian testing/main amd64 liblzma5
amd64 5.2.5-2.1 [168 kB]
#9 4.734 Get:39 http://deb.debian.org/debian testing/main amd64 libcap2
amd64 1:2.44-1 [23.6 kB]
#9 4.735 Get:40 http://deb.debian.org/debian testing/main amd64
libsystemd0 amd64 251.6-1 [326 kB]
#9 4.749 Get:41 http://deb.debian.org/debian testing/main amd64 libudev1
amd64 251.6-1 [98.8 kB]
#9 4.756 Get:42 http://deb.debian.org/debian testing/main amd64
libxxhash0 amd64 0.8.1-1 [27.6 kB]
#9 4.757 Get:43 http://deb.debian.org/debian testing/main amd64 zlib1g
amd64 1:1.2.11.dfsg-4.1 [92.7 kB]
#9 4.760 Get:44 http://deb.debian.org/debian testing/main amd64
libapt-pkg6.0 amd64 2.5.3+b1 [902 kB]
#9 4.800 Get:45 http://deb.debian.org/debian testing/main amd64
libnettle8 amd64 3.8.1-2 [288 kB]
#9 4.818 Get:46 http://deb.debian.org/debian testing/main amd64
libhogweed6 amd64 3.8.1-2 [328 kB]
#9 4.830 Get:47 http://deb.debian.org/debian testing/main amd64
libunistring2 amd64 1.0-2 [437 kB]
#9 4.850 Get:48 http://deb.debian.org/debian testing/main amd64
libidn2-0 amd64 2.3.3-1+b1 [124 kB]
#9 4.856 Get:49 http://deb.debian.org/debian testing/main amd64 libffi8
amd64 3.4.2-4 [24.7 kB]
#9 4.857 Get:50 http://deb.debian.org/debian testing/main amd64
libp11-kit0 amd64 0.24.1-1 [352 kB]
#9 4.873 Get:51 http://deb.debian.org/debian testing/main amd64
libtasn1-6 amd64 4.19.0-2 [56.6 kB]
#9 4.877 Get:52 http://deb.debian.org/debian testing/main amd64
libgnutls30 amd64 3.7.8-2 [1417 kB]
#9 4.977 Get:53 http://deb.debian.org/debian testing/main amd64 adduser
all 3.129 [131 kB]
#9 4.983 Get:54 http://deb.debian.org/debian testing/main amd64 gpgv
amd64 2.2.40-1 [648 kB]
#9 5.021 Get:55 http://deb.debian.org/debian testing/main amd64
libseccomp2 amd64 2.5.4-1+b1 [48.8 kB]
#9 5.025 Get:56 http://deb.debian.org/debian testing/main amd64 apt
amd64 2.5.3+b1 [1363 kB]
#9 5.104 Get:57 http://deb.debian.org/debian testing/main amd64
libdebconfclient0 amd64 0.264 [50.9 kB]
#9 5.110 Get:58 http://deb.debian.org/debian testing/main amd64
base-passwd amd64 3.6.1 [60.0 kB]
#9 5.112 Get:59 http://deb.debian.org/debian testing/main amd64
perl-modules-5.34 all 5.34.0-5 [2850 kB]
#9 5.478 Get:60 http://deb.debian.org/debian testing/main amd64 libgdbm6
amd64 1.23-3 [72.2 kB]
#9 5.482 Get:61 http://deb.debian.org/debian testing/main amd64
libgdbm-compat4 amd64 1.23-3 [48.2 kB]
#9 5.484 Get:62 http://deb.debian.org/debian testing/main amd64 debconf
all 1.5.79 [143 kB]
#9 5.505 Get:63 http://deb.debian.org/debian testing/main amd64 libpam0g
amd64 1.5.2-5 [131 kB]
#9 5.522 Get:64 http://deb.debian.org/debian testing/main amd64
libcrypt1 amd64 1:4.4.28-2 [89.3 kB]
#9 5.535 Get:65 http://deb.debian.org/debian testing/main amd64 libdb5.3
amd64 5.3.28+dfsg1-0.10 [687 kB]
#9 5.611 Get:66 http://deb.debian.org/debian testing/main amd64
libperl5.34 amd64 5.34.0-5 [4177 kB]
#9 6.364 Get:67 http://deb.debian.org/debian testing/main amd64 perl
amd64 5.34.0-5 [298 kB]
#9 6.419 Get:68 http://deb.debian.org/debian testing/main amd64
libnumber-compare-perl all 0.03-3 [6332 B]
#9 6.419 Get:69 http://deb.debian.org/debian testing/main amd64
libtext-glob-perl all 0.11-3 [7676 B]
#9 6.423 Get:70 http://deb.debian.org/debian testing/main amd64
libfile-find-rule-perl all 0.34-2 [28.4 kB]
#9 6.426 Get:71 http://deb.debian.org/debian testing/main amd64 usrmerge
all 33 [12.1 kB]
#9 6.430 Get:72 http://deb.debian.org/debian testing/main amd64
init-system-helpers all 1.65.2 [49.8 kB]
#9 6.434 Get:73 http://deb.debian.org/debian testing/main amd64
ncurses-base all 6.3+20220423-2 [282 kB]
#9 6.486 Get:74 http://deb.debian.org/debian testing/main amd64
sysvinit-utils amd64 3.05-6 [31.4 kB]
#9 6.490 Get:75 http://deb.debian.org/debian testing/main amd64 lsb-base
all 11.4 [22.4 kB]
#9 6.497 Get:76 http://deb.debian.org/debian testing/main amd64
libpam-modules-bin amd64 1.5.2-5 [115 kB]
#9 6.596 Get:77 http://deb.debian.org/debian testing/main amd64
libpam-modules amd64 1.5.2-5 [330 kB]
#9 6.760 Get:78 http://deb.debian.org/debian testing/main amd64 logsave
amd64 1.46.6~rc1-1+b1 [15.6 kB]
#9 6.783 Get:79 http://deb.debian.org/debian testing/main amd64
libext2fs2 amd64 1.46.6~rc1-1+b1 [200 kB]
#9 6.921 Get:80 http://deb.debian.org/debian testing/main amd64
e2fsprogs amd64 1.46.6~rc1-1+b1 [562 kB]
#9 7.214 Get:81 http://deb.debian.org/debian testing/main amd64 mount
amd64 2.38.1-1.1+b1 [134 kB]
#9 7.248 Get:82 http://deb.debian.org/debian testing/main amd64
libpam-runtime all 1.5.2-5 [200 kB]
#9 7.304 Get:83 http://deb.debian.org/debian testing/main amd64 libacl1
amd64 2.3.1-1 [31.2 kB]
#9 7.314 Get:84 http://deb.debian.org/debian testing/main amd64 libattr1
amd64 1:2.5.1-1 [21.7 kB]
#9 7.322 Get:85 http://deb.debian.org/debian testing/main amd64 libpcre3
amd64 2:8.39-14 [345 kB]
#9 7.427 Get:86 http://deb.debian.org/debian testing/main amd64 libuuid1
amd64 2.38.1-1.1+b1 [27.6 kB]
#9 7.434 Get:87 http://deb.debian.org/debian testing/main amd64 mawk
amd64 1.3.4.20200120-3.1 [119 kB]
#9 7.463 Get:88 http://deb.debian.org/debian testing/main amd64 tzdata
all 2022e-1 [278 kB]
#9 7.520 Get:89 http://deb.debian.org/debian testing/main amd64 netbase
all 6.4 [12.8 kB]
#9 7.524 Get:90 http://deb.debian.org/debian testing/main amd64
sensible-utils all 0.0.17 [21.5 kB]
#9 7.527 Get:91 http://deb.debian.org/debian testing/main amd64
gcc-10-base amd64 10.4.0-5 [207 kB]
#9 7.578 Get:92 http://deb.debian.org/debian testing/main amd64
libcom-err2 amd64 1.46.6~rc1-1+b1 [14.8 kB]
#9 7.578 Get:93 http://deb.debian.org/debian testing/main amd64
libgssapi-krb5-2 amd64 1.20-1+b1 [133 kB]
#9 7.609 Get:94 http://deb.debian.org/debian testing/main amd64
libkrb5-3 amd64 1.20-1+b1 [331 kB]
#9 7.697 Get:95 http://deb.debian.org/debian testing/main amd64
libkrb5support0 amd64 1.20-1+b1 [32.2 kB]
#9 7.703 Get:96 http://deb.debian.org/debian testing/main amd64
libk5crypto3 amd64 1.20-1+b1 [78.6 kB]
#9 7.794 Get:97 http://deb.debian.org/debian testing/main amd64
libkeyutils1 amd64 1.6.3-1 [15.7 kB]
#9 7.800 Get:98 http://deb.debian.org/debian testing/main amd64 libssl3
amd64 3.0.5-4 [2031 kB]
#9 8.617 Get:99 http://deb.debian.org/debian testing/main amd64 libss2
amd64 1.46.6~rc1-1+b1 [19.6 kB]
#9 8.618 Get:100 http://deb.debian.org/debian testing/main amd64
libtirpc-common all 1.3.3+ds-1 [14.0 kB]
#9 8.618 Get:101 http://deb.debian.org/debian testing/main amd64
libtirpc3 amd64 1.3.3+ds-1 [85.2 kB]
#9 8.808 debconf: delaying package configuration, since apt-utils is not
installed
#9 8.838 Fetched 41.5 MB in 6s (6410 kB/s)
(Reading database ... 6661 files and directories currently installed.)
#9 8.869 Preparing to unpack .../base-files_12.3_amd64.deb ...
#9 8.883 Unpacking base-files (12.3) over (11.1+deb11u5) ...
#9 9.005 Setting up base-files (12.3) ...
#9 9.010 Installing new version of config file /etc/debian_version ...
#9 9.023 Installing new version of config file /etc/issue ...
#9 9.027 Installing new version of config file /etc/issue.net ...
(Reading database ... 6661 files and directories currently installed.)
#9 9.097 Preparing to unpack .../libc6_2.35-3_amd64.deb ...
#9 9.180 debconf: unable to initialize frontend: Dialog
#9 9.180 debconf: (TERM is not set, so the dialog frontend is not
usable.)
#9 9.180 debconf: falling back to frontend: Readline
#9 9.180 debconf: unable to initialize frontend: Readline
#9 9.180 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need
to install the Term::ReadLine module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
/usr/share/perl/5.32 /usr/local/lib/site_perl) at
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
#9 9.180 debconf: falling back to frontend: Teletype
#9 9.208 Checking for services that may need to be restarted...
#9 9.213 Checking init scripts...
#9 9.227 Unpacking libc6:amd64 (2.35-3) over (2.31-13+deb11u5) ...
#9 10.13 Setting up libc6:amd64 (2.35-3) ...
#9 10.21 debconf: unable to initialize frontend: Dialog
#9 10.21 debconf: (TERM is not set, so the dialog frontend is not
usable.)
#9 10.21 debconf: falling back to frontend: Readline
#9 10.21 debconf: unable to initialize frontend: Readline
#9 10.21 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need
to install the Term::ReadLine module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.32.1 /usr/local/share/perl/5.32.1
/usr/lib/x86_64-linux-gnu/perl5/5.32 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.32
/usr/share/perl/5.32 /usr/local/lib/site_perl) at
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
#9 10.21 debconf: falling back to frontend: Teletype
#9 10.23 Checking for services that may need to be restarted...
#9 10.23 Checking init scripts...
#9 10.23 Nothing to restart.
(Reading database ... 6644 files and directories currently installed.)
#9 11.31 Preparing to unpack .../libc-bin_2.35-3_amd64.deb ...
#9 11.33 Unpacking libc-bin (2.35-3) over (2.31-13+deb11u5) ...
#9 11.58 Setting up libc-bin (2.35-3) ...
#9 11.69 Selecting previously unselected package gcc-12-base:amd64.
(Reading database ... 6643 files and directories currently installed.)
#9 11.70 Preparing to unpack .../gcc-12-base_12.2.0-3_amd64.deb ...
#9 11.70 Unpacking gcc-12-base:amd64 (12.2.0-3) ...
#9 11.76 Setting up gcc-12-base:amd64 (12.2.0-3) ...
(Reading database ... 6648 files and directories currently installed.)
#9 11.83 Preparing to unpack .../libgcc-s1_12.2.0-3_amd64.deb ...
#9 11.85 Unpacking libgcc-s1:amd64 (12.2.0-3) over (10.2.1-6) ...
#9 11.92 Setting up libgcc-s1:amd64 (12.2.0-3) ...
(Reading database ... 6648 files and directories currently installed.)
#9 11.98 Preparing to unpack .../debianutils_5.7-0.3_amd64.deb ...
#9 12.00 Unpacking debianutils (5.7-0.3) over (4.11.2) ...
#9 12.28 Setting up debianutils (5.7-0.3) ...
#9 12.32 update-alternatives: using /usr/bin/which.debianutils to
provide /usr/bin/which (which) in auto mode
(Reading database ... 6651 files and directories currently installed.)
#9 12.39 Preparing to unpack .../bash_5.2~rc2-2_amd64.deb ...
#9 12.42 Unpacking bash (5.2~rc2-2) over (5.1-2+deb11u1) ...
#9 13.10 Setting up bash (5.2~rc2-2) ...
#9 13.14 update-alternatives: using
/usr/share/man/man7/bash-builtins.7.gz to provide
/usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
(Reading database ... 6652 files and directories currently installed.)
#9 13.19 Preparing to unpack .../bsdutils_1%3a2.38.1-1.1+b1_amd64.deb
...
#9 13.20 Unpacking bsdutils (1:2.38.1-1.1+b1) over (1:2.36.1-8+deb11u1)
...
#9 13.35 Setting up bsdutils (1:2.38.1-1.1+b1) ...
(Reading database ... 6653 files and directories currently installed.)
#9 13.41 Preparing to unpack .../libgmp10_2%3a6.2.1+dfsg1-1.1_amd64.deb
...
#9 13.44 Unpacking libgmp10:amd64 (2:6.2.1+dfsg1-1.1) over
(2:6.2.1+dfsg-1+deb11u1) ...
#9 13.55 Setting up libgmp10:amd64 (2:6.2.1+dfsg1-1.1) ...
(Reading database ... 6653 files and directories currently installed.)
#9 13.60 Preparing to unpack .../coreutils_9.1-1_amd64.deb ...
#9 13.62 Unpacking coreutils (9.1-1) over (8.32-4+b1) ...
#9 14.69 Setting up coreutils (9.1-1) ...
(Reading database ... 6652 files and directories currently installed.)
#9 14.74 Preparing to unpack .../dpkg_1.21.9+b1_amd64.deb ...
#9 14.75 Unpacking dpkg (1.21.9+b1) over (1.20.12) ...
#9 15.25 Setting up dpkg (1.21.9+b1) ...
#9 15.26 Installing new version of config file /etc/cron.daily/dpkg ...
(Reading database ... 6655 files and directories currently installed.)
#9 15.42 Preparing to unpack
.../dash_0.5.11+git20210903+057cd650a4ed-9_amd64.deb ...
#9 15.43 Unpacking dash (0.5.11+git20210903+057cd650a4ed-9) over
(0.5.11+git20200708+dd9ef66-5) ...
#9 15.50 Setting up dash (0.5.11+git20210903+057cd650a4ed-9) ...
(Reading database ... 6656 files and directories currently installed.)
#9 15.54 Preparing to unpack .../diffutils_1%3a3.8-1_amd64.deb ...
#9 15.55 Unpacking diffutils (1:3.8-1) over (1:3.7-5) ...
#9 15.71 Setting up diffutils (1:3.8-1) ...
(Reading database ... 6656 files and directories currently installed.)
#9 15.75 Preparing to unpack .../findutils_4.9.0-3_amd64.deb ...
#9 15.76 Unpacking findutils (4.9.0-3) over (4.8.0-1) ...
#9 15.94 Setting up findutils (4.9.0-3) ...
(Reading database ... 6656 files and directories currently installed.)
#9 15.98 Preparing to unpack .../archives/grep_3.7-1_amd64.deb ...
#9 15.99 Unpacking grep (3.7-1) over (3.6-1) ...
#9 16.18 Setting up grep (3.7-1) ...
(Reading database ... 6656 files and directories currently installed.)
#9 16.22 Preparing to unpack .../archives/gzip_1.12-1_amd64.deb ...
#9 16.24 Unpacking gzip (1.12-1) over (1.10-4+deb11u1) ...
#9 16.35 Setting up gzip (1.12-1) ...
(Reading database ... 6656 files and directories currently installed.)
#9 16.39 Preparing to unpack .../login_1%3a4.12.3+dfsg1-1_amd64.deb ...
#9 16.41 Unpacking login (1:4.12.3+dfsg1-1) over (1:4.8.1-1) ...
#9 16.80 Setting up login (1:4.12.3+dfsg1-1) ...
#9 16.80 Installing new version of config file /etc/login.defs ...
(Reading database ... 6668 files and directories currently installed.)
#9 16.85 Preparing to unpack .../libtinfo6_6.3+20220423-2_amd64.deb ...
#9 16.86 Unpacking libtinfo6:amd64 (6.3+20220423-2) over
(6.2+20201114-2) ...
#9 16.92 Setting up libtinfo6:amd64 (6.3+20220423-2) ...
(Reading database ... 6666 files and directories currently installed.)
#9 16.95 Preparing to unpack .../ncurses-bin_6.3+20220423-2_amd64.deb
...
#9 16.97 Unpacking ncurses-bin (6.3+20220423-2) over (6.2+20201114-2)
...
#9 17.06 Setting up ncurses-bin (6.3+20220423-2) ...
(Reading database ... 6666 files and directories currently installed.)
#9 17.10 Preparing to unpack .../perl-base_5.34.0-5_amd64.deb ...
#9 17.12 Unpacking perl-base (5.34.0-5) over (5.32.1-4+deb11u2) ...
#9 18.90 Setting up perl-base (5.34.0-5) ...
(Reading database ... 6666 files and directories currently installed.)
#9 18.94 Preparing to unpack .../archives/sed_4.8-1_amd64.deb ...
#9 18.95 Unpacking sed (4.8-1) over (4.7-1) ...
#9 19.12 Setting up sed (4.8-1) ...
(Reading database ... 6666 files and directories currently installed.)
#9 19.17 Preparing to unpack .../libblkid1_2.38.1-1.1+b1_amd64.deb ...
#9 19.18 Unpacking libblkid1:amd64 (2.38.1-1.1+b1) over
(2.36.1-8+deb11u1) ...
#9 19.23 Setting up libblkid1:amd64 (2.38.1-1.1+b1) ...
(Reading database ... 6668 files and directories currently installed.)
#9 19.28 Preparing to unpack .../libpcre2-8-0_10.40-1_amd64.deb ...
#9 19.29 Unpacking libpcre2-8-0:amd64 (10.40-1) over (10.36-2+deb11u1)
...
#9 19.35 Setting up libpcre2-8-0:amd64 (10.40-1) ...
(Reading database ... 6668 files and directories currently installed.)
#9 19.39 Preparing to unpack .../libselinux1_3.4-1+b2_amd64.deb ...
#9 19.40 Unpacking libselinux1:amd64 (3.4-1+b2) over (3.1-3) ...
#9 19.45 Setting up libselinux1:amd64 (3.4-1+b2) ...
(Reading database ... 6669 files and directories currently installed.)
#9 19.49 Preparing to unpack .../libmount1_2.38.1-1.1+b1_amd64.deb ...
#9 19.51 Unpacking libmount1:amd64 (2.38.1-1.1+b1) over
(2.36.1-8+deb11u1) ...
#9 19.56 Setting up libmount1:amd64 (2.38.1-1.1+b1) ...
(Reading database ... 6671 files and directories currently installed.)
#9 19.61 Preparing to unpack .../libsmartcols1_2.38.1-1.1+b1_amd64.deb
...
#9 19.62 Unpacking libsmartcols1:amd64 (2.38.1-1.1+b1) over
(2.36.1-8+deb11u1) ...
#9 19.67 Setting up libsmartcols1:amd64 (2.38.1-1.1+b1) ...
(Reading database ... 6673 files and directories currently installed.)
#9 19.71 Preparing to unpack .../libaudit-common_1%3a3.0.7-1.1_all.deb
...
#9 19.72 Unpacking libaudit-common (1:3.0.7-1.1) over (1:3.0-2) ...
#9 19.76 Setting up libaudit-common (1:3.0.7-1.1) ...
(Reading database ... 6673 files and directories currently installed.)
#9 19.81 Preparing to unpack .../libcap-ng0_0.8.3-1+b1_amd64.deb ...
#9 19.82 Unpacking libcap-ng0:amd64 (0.8.3-1+b1) over (0.7.9-2.2+b1) ...
#9 19.86 Setting up libcap-ng0:amd64 (0.8.3-1+b1) ...
(Reading database ... 6675 files and directories currently installed.)
#9 19.90 Preparing to unpack .../libaudit1_1%3a3.0.7-1.1+b1_amd64.deb
...
#9 19.92 Unpacking libaudit1:amd64 (1:3.0.7-1.1+b1) over (1:3.0-2) ...
#9 19.96 Setting up libaudit1:amd64 (1:3.0.7-1.1+b1) ...
(Reading database ... 6676 files and directories currently installed.)
#9 20.00 Preparing to unpack .../util-linux_2.38.1-1.1+b1_amd64.deb ...
#9 20.01 Unpacking util-linux (2.38.1-1.1+b1) over (2.36.1-8+deb11u1)
...
#9 20.71 dpkg: warning: unable to delete old directory '/etc/init.d':
Directory not empty
#9 20.76 Selecting previously unselected package util-linux-extra.
#9 20.76 Preparing to unpack
.../util-linux-extra_2.38.1-1.1+b1_amd64.deb ...
#9 20.76 Unpacking util-linux-extra (2.38.1-1.1+b1) ...
#9 20.81 Setting up util-linux-extra (2.38.1-1.1+b1) ...
(Reading database ... 6689 files and directories currently installed.)
#9 20.87 Preparing to unpack .../libgpg-error0_1.45-2_amd64.deb ...
#9 20.88 Unpacking libgpg-error0:amd64 (1.45-2) over (1.38-2) ...
#9 20.93 Setting up libgpg-error0:amd64 (1.45-2) ...
(Reading database ... 6689 files and directories currently installed.)
#9 20.98 Preparing to unpack .../libgcrypt20_1.10.1-2_amd64.deb ...
#9 20.99 Unpacking libgcrypt20:amd64 (1.10.1-2) over (1.8.7-6) ...
#9 21.08 Setting up libgcrypt20:amd64 (1.10.1-2) ...
(Reading database ... 6691 files and directories currently installed.)
#9 21.13 Preparing to unpack .../libstdc++6_12.2.0-3_amd64.deb ...
#9 21.15 Unpacking libstdc++6:amd64 (12.2.0-3) over (10.2.1-6) ...
#9 21.25 Setting up libstdc++6:amd64 (12.2.0-3) ...
(Reading database ... 6691 files and directories currently installed.)
#9 21.29 Preparing to unpack .../libzstd1_1.5.2+dfsg-1_amd64.deb ...
#9 21.30 Unpacking libzstd1:amd64 (1.5.2+dfsg-1) over (1.4.8+dfsg-2.1)
...
#9 21.36 Setting up libzstd1:amd64 (1.5.2+dfsg-1) ...
(Reading database ... 6691 files and directories currently installed.)
#9 21.40 Preparing to unpack .../libbz2-1.0_1.0.8-5+b1_amd64.deb ...
#9 21.42 Unpacking libbz2-1.0:amd64 (1.0.8-5+b1) over (1.0.8-4) ...
#9 21.46 Setting up libbz2-1.0:amd64 (1.0.8-5+b1) ...
(Reading database ... 6692 files and directories currently installed.)
#9 21.50 Preparing to unpack .../liblz4-1_1.9.4-1_amd64.deb ...
#9 21.51 Unpacking liblz4-1:amd64 (1.9.4-1) over (1.9.3-2) ...
#9 21.56 Setting up liblz4-1:amd64 (1.9.4-1) ...
(Reading database ... 6692 files and directories currently installed.)
#9 21.60 Preparing to unpack .../liblzma5_5.2.5-2.1_amd64.deb ...
#9 21.61 Unpacking liblzma5:amd64 (5.2.5-2.1) over (5.2.5-2.1~deb11u1)
...
#9 21.67 Setting up liblzma5:amd64 (5.2.5-2.1) ...
#9 21.70 Selecting previously unselected package libcap2:amd64.
(Reading database ... 6692 files and directories currently installed.)
#9 21.71 Preparing to unpack .../libcap2_1%3a2.44-1_amd64.deb ...
#9 21.72 Unpacking libcap2:amd64 (1:2.44-1) ...
#9 21.75 Setting up libcap2:amd64 (1:2.44-1) ...
(Reading database ... 6698 files and directories currently installed.)
#9 21.79 Preparing to unpack .../libsystemd0_251.6-1_amd64.deb ...
#9 21.80 Unpacking libsystemd0:amd64 (251.6-1) over (247.3-7+deb11u1)
...
#9 21.86 Setting up libsystemd0:amd64 (251.6-1) ...
(Reading database ... 6699 files and directories currently installed.)
#9 21.90 Preparing to unpack .../libudev1_251.6-1_amd64.deb ...
#9 21.91 Unpacking libudev1:amd64 (251.6-1) over (247.3-7+deb11u1) ...
#9 21.96 Setting up libudev1:amd64 (251.6-1) ...
(Reading database ... 6700 files and directories currently installed.)
#9 22.00 Preparing to unpack .../libxxhash0_0.8.1-1_amd64.deb ...
#9 22.01 Unpacking libxxhash0:amd64 (0.8.1-1) over (0.8.0-2) ...
#9 22.05 Setting up libxxhash0:amd64 (0.8.1-1) ...
(Reading database ... 6700 files and directories currently installed.)
#9 22.10 Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-4.1_amd64.deb
...
#9 22.11 Unpacking zlib1g:amd64 (1:1.2.11.dfsg-4.1) over
(1:1.2.11.dfsg-2+deb11u2) ...
#9 22.16 Setting up zlib1g:amd64 (1:1.2.11.dfsg-4.1) ...
(Reading database ... 6700 files and directories currently installed.)
#9 22.20 Preparing to unpack .../libapt-pkg6.0_2.5.3+b1_amd64.deb ...
#9 22.21 Unpacking libapt-pkg6.0:amd64 (2.5.3+b1) over (2.2.4) ...
#9 22.43 Setting up libapt-pkg6.0:amd64 (2.5.3+b1) ...
(Reading database ... 6701 files and directories currently installed.)
#9 22.47 Preparing to unpack .../libnettle8_3.8.1-2_amd64.deb ...
#9 22.48 Unpacking libnettle8:amd64 (3.8.1-2) over (3.7.3-1) ...
#9 22.54 Setting up libnettle8:amd64 (3.8.1-2) ...
(Reading database ... 6701 files and directories currently installed.)
#9 22.58 Preparing to unpack .../libhogweed6_3.8.1-2_amd64.deb ...
#9 22.59 Unpacking libhogweed6:amd64 (3.8.1-2) over (3.7.3-1) ...
#9 22.65 Setting up libhogweed6:amd64 (3.8.1-2) ...
(Reading database ... 6701 files and directories currently installed.)
#9 22.69 Preparing to unpack .../libunistring2_1.0-2_amd64.deb ...
#9 22.70 Unpacking libunistring2:amd64 (1.0-2) over (0.9.10-4) ...
#9 22.78 Setting up libunistring2:amd64 (1.0-2) ...
(Reading database ... 6701 files and directories currently installed.)
#9 22.83 Preparing to unpack .../libidn2-0_2.3.3-1+b1_amd64.deb ...
#9 22.84 Unpacking libidn2-0:amd64 (2.3.3-1+b1) over (2.3.0-5) ...
#9 22.98 Setting up libidn2-0:amd64 (2.3.3-1+b1) ...
#9 23.02 Selecting previously unselected package libffi8:amd64.
(Reading database ... 6703 files and directories currently installed.)
#9 23.03 Preparing to unpack .../libffi8_3.4.2-4_amd64.deb ...
#9 23.04 Unpacking libffi8:amd64 (3.4.2-4) ...
#9 23.07 Setting up libffi8:amd64 (3.4.2-4) ...
(Reading database ... 6708 files and directories currently installed.)
#9 23.12 Preparing to unpack .../libp11-kit0_0.24.1-1_amd64.deb ...
#9 23.13 Unpacking libp11-kit0:amd64 (0.24.1-1) over (0.23.22-1) ...
#9 23.23 Setting up libp11-kit0:amd64 (0.24.1-1) ...
(Reading database ... 6708 files and directories currently installed.)
#9 23.28 Preparing to unpack .../libtasn1-6_4.19.0-2_amd64.deb ...
#9 23.29 Unpacking libtasn1-6:amd64 (4.19.0-2) over (4.16.0-2) ...
#9 23.33 Setting up libtasn1-6:amd64 (4.19.0-2) ...
(Reading database ... 6708 files and directories currently installed.)
#9 23.37 Preparing to unpack .../libgnutls30_3.7.8-2_amd64.deb ...
#9 23.38 Unpacking libgnutls30:amd64 (3.7.8-2) over (3.7.1-5+deb11u2)
...
#9 23.55 Setting up libgnutls30:amd64 (3.7.8-2) ...
(Reading database ... 6708 files and directories currently installed.)
#9 23.60 Preparing to unpack .../archives/adduser_3.129_all.deb ...
#9 23.61 moving unchanged adduser.conf to adduser.conf.update-old. New
dpkg-conffile will come from the package.
#9 23.62 Unpacking adduser (3.129) over (3.118) ...
#9 23.77 Setting up adduser (3.129) ...
#9 23.78 Installing new version of config file /etc/deluser.conf ...
(Reading database ... 6672 files and directories currently installed.)
#9 23.81 Preparing to unpack .../gpgv_2.2.40-1_amd64.deb ...
#9 23.82 Unpacking gpgv (2.2.40-1) over (2.2.27-2+deb11u2) ...
#9 23.89 Setting up gpgv (2.2.40-1) ...
(Reading database ... 6672 files and directories currently installed.)
#9 23.94 Preparing to unpack .../libseccomp2_2.5.4-1+b1_amd64.deb ...
#9 23.95 Unpacking libseccomp2:amd64 (2.5.4-1+b1) over (2.5.1-1+deb11u1)
...
#9 24.00 Setting up libseccomp2:amd64 (2.5.4-1+b1) ...
(Reading database ... 6673 files and directories currently installed.)
#9 24.05 Preparing to unpack .../apt_2.5.3+b1_amd64.deb ...
#9 24.09 Unpacking apt (2.5.3+b1) over (2.2.4) ...
#9 24.65 Setting up apt (2.5.3+b1) ...
#9 24.66 Installing new version of config file
/etc/cron.daily/apt-compat ...
#9 24.72 Removing obsolete conffile
/etc/kernel/postinst.d/apt-auto-removal ...
(Reading database ... 6669 files and directories currently installed.)
#9 24.97 Preparing to unpack .../libdebconfclient0_0.264_amd64.deb ...
#9 24.98 Unpacking libdebconfclient0:amd64 (0.264) over (0.260) ...
#9 25.02 Setting up libdebconfclient0:amd64 (0.264) ...
(Reading database ... 6669 files and directories currently installed.)
#9 25.07 Preparing to unpack .../base-passwd_3.6.1_amd64.deb ...
#9 25.08 Unpacking base-passwd (3.6.1) over (3.5.51) ...
#9 25.20 Setting up base-passwd (3.6.1) ...
#9 25.32 debconf: unable to initialize frontend: Dialog
#9 25.32 debconf: (TERM is not set, so the dialog frontend is not
usable.)
#9 25.32 debconf: falling back to frontend: Readline
#9 25.32 debconf: unable to initialize frontend: Readline
#9 25.32 debconf: (Can't locate Term/ReadLine.pm in @INC (you may need
to install the Term::ReadLine module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0
/usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34
/usr/share/perl/5.34 /usr/local/lib/site_perl) at
/usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
#9 25.32 debconf: falling back to frontend: Teletype
#9 25.39 Selecting previously unselected package perl-modules-5.34.
(Reading database ... 6669 files and directories currently installed.)
#9 25.40 Preparing to unpack .../perl-modules-5.34_5.34.0-5_all.deb ...
#9 25.40 Unpacking perl-modules-5.34 (5.34.0-5) ...
#9 25.94 Selecting previously unselected package libgdbm6:amd64.
#9 25.94 Preparing to unpack .../libgdbm6_1.23-3_amd64.deb ...
#9 25.94 Unpacking libgdbm6:amd64 (1.23-3) ...
#9 26.00 Selecting previously unselected package libgdbm-compat4:amd64.
#9 26.00 Preparing to unpack .../libgdbm-compat4_1.23-3_amd64.deb ...
#9 26.00 Unpacking libgdbm-compat4:amd64 (1.23-3) ...
#9 26.04 Preparing to unpack .../debconf_1.5.79_all.deb ...
#9 26.06 Unpacking debconf (1.5.79) over (1.5.77) ...
#9 26.43 Setting up debconf (1.5.79) ...
#9 26.52 debconf: unable to initialize frontend: Dialog
#9 26.52 debconf: (TERM is not set, so the dialog frontend is not
usable.)
#9 26.52 debconf: falling back to frontend: Readline
(Reading database ... 8082 files and directories currently installed.)
#9 26.61 Preparing to unpack .../libpam0g_1.5.2-5_amd64.deb ...
#9 26.62 Unpacking libpam0g:amd64 (1.5.2-5) over (1.4.0-9+deb11u1) ...
#9 26.69 Setting up libpam0g:amd64 (1.5.2-5) ...
#9 26.77 debconf: unable to initialize frontend: Dialog
#9 26.77 debconf: (TERM is not set, so the dialog frontend is not
usable.)
#9 26.77 debconf: falling back to frontend: Readline
(Reading database ... 8082 files and directories currently installed.)
#9 26.84 Preparing to unpack .../libcrypt1_1%3a4.4.28-2_amd64.deb ...
#9 26.86 Unpacking libcrypt1:amd64 (1:4.4.28-2) over (1:4.4.18-4) ...
#9 26.91 Setting up libcrypt1:amd64 (1:4.4.28-2) ...
(Reading database ... 8082 files and directories currently installed.)
#9 26.97 Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.10_amd64.deb
...
#9 26.99 Unpacking libdb5.3:amd64 (5.3.28+dfsg1-0.10) over
(5.3.28+dfsg1-0.8) ...
#9 27.14 Setting up libdb5.3:amd64 (5.3.28+dfsg1-0.10) ...
#9 27.19 Selecting previously unselected package libperl5.34:amd64.
(Reading database ... 8082 files and directories currently installed.)
#9 27.20 Preparing to unpack .../libperl5.34_5.34.0-5_amd64.deb ...
#9 27.20 Unpacking libperl5.34:amd64 (5.34.0-5) ...
#9 27.73 Selecting previously unselected package perl.
#9 27.74 Preparing to unpack .../perl_5.34.0-5_amd64.deb ...
#9 27.75 Unpacking perl (5.34.0-5) ...
#9 27.82 Selecting previously unselected package libnumber-compare-perl.
#9 27.82 Preparing to unpack .../libnumber-compare-perl_0.03-3_all.deb
...
#9 27.83 Unpacking libnumber-compare-perl (0.03-3) ...
#9 27.87 Setting up libnumber-compare-perl (0.03-3) ...
#9 27.91 Selecting previously unselected package libtext-glob-perl.
(Reading database ... 8656 files and directories currently installed.)
#9 27.92 Preparing to unpack .../libtext-glob-perl_0.11-3_all.deb ...
#9 27.93 Unpacking libtext-glob-perl (0.11-3) ...
#9 27.97 Setting up libtext-glob-perl (0.11-3) ...
#9 28.00 Selecting previously unselected package libfile-find-rule-perl.
(Reading database ... 8663 files and directories currently installed.)
#9 28.01 Preparing to unpack .../libfile-find-rule-perl_0.34-2_all.deb
...
#9 28.01 Unpacking libfile-find-rule-perl (0.34-2) ...
#9 28.05 Setting up perl-modules-5.34 (5.34.0-5) ...
#9 28.06 Setting up libgdbm6:amd64 (1.23-3) ...
#9 28.08 Setting up libgdbm-compat4:amd64 (1.23-3) ...
#9 28.09 Setting up libperl5.34:amd64 (5.34.0-5) ...
#9 28.11 Setting up perl (5.34.0-5) ...
#9 28.15 Setting up libfile-find-rule-perl (0.34-2) ...
#9 28.25 Selecting previously unselected package usrmerge.
(Reading database ... 8678 files and directories currently installed.)
#9 28.26 Preparing to unpack .../archives/usrmerge_33_all.deb ...
#9 28.28 Unpacking usrmerge (33) ...
#9 28.32 Setting up usrmerge (33) ...
#9 28.42 Warning: overlayfs detected, /usr/lib/usrmerge/convert-usrmerge
will not
#9 28.42 be run automatically. See #1008202 for details.
#9 28.42
#9 28.42 If this is a container then it can be converted by unpacking
the image,
#9 28.42 entering it with chroot(8), installling usrmerge and then
repacking the
#9 28.42 image again. at /usr/lib/usrmerge/convert-usrmerge line 399.
#9 28.42 E: usrmerge failed.
#9 28.42 dpkg: error processing package usrmerge (--configure):
#9 28.42 installed usrmerge package post-installation script subprocess
returned error exit status 1
#9 28.44 Errors were encountered while processing:
#9 28.44 usrmerge
#9 28.46 E: Sub-process /usr/bin/dpkg returned an error code (1)
------
executor failed running [/bin/sh -c apt upgrade -y]: exit code: 100

Charles Curley

unread,
Oct 27, 2022, 9:00:06 AM10/27/22
to
On Thu, 27 Oct 2022 09:47:39 +0200
Hogren <hog...@iiiha.com> wrote:

> RUN echo 'deb http://deb.debian.org/debian testing main' >
> /etc/apt/sources.list

I haven't yet read the entire email, but this sticks out like a sore
thumb. It is almost certainly not what you want. This completely
obliterates your entire /etc/apt/sources.list, replacing it with a
single line. For one thing, you lose any reference to the security repo.

I suggest that you want something with sed or awk to replace the word
bullseye with the word testing. Something like:

sed -i -e"s/bullseye/testing/g;" /etc/apt/sources.list

Whether this will affect the problem you are complaining about I cannot
say, but it would be worth doing for its own sake.

--
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/

Greg Wooledge

unread,
Oct 27, 2022, 9:10:05 AM10/27/22
to
On Thu, Oct 27, 2022 at 06:55:12AM -0600, Charles Curley wrote:
> On Thu, 27 Oct 2022 09:47:39 +0200
> Hogren <hog...@iiiha.com> wrote:
>
> > RUN echo 'deb http://deb.debian.org/debian testing main' >
> > /etc/apt/sources.list
>
> I haven't yet read the entire email, but this sticks out like a sore
> thumb. It is almost certainly not what you want. This completely
> obliterates your entire /etc/apt/sources.list, replacing it with a
> single line. For one thing, you lose any reference to the security repo.

To be fair, there *isn't* a security repository for testing. Well,
technically there is one, but it hasn't been used in years. It's empty.
There's nothing in it.

Andrew M.A. Cater

unread,
Oct 27, 2022, 2:10:05 PM10/27/22
to
There's another problem: if you pin to stable or testing, then you get an
unpleasant shock when the next iteration of stable is released and there
are suddenly hundreds of updates.

The whole reason that codenames were brought into Debian was because someone
released a version of Debian that was not yet ready as "Debian 1.0" on their
CD set. Debian never released a 1.0 and instead went from 0.97 to 1.1.

if you pin to a release name, then you don't have a flag day when everything
changes.

If you *really* want to pin to testing - with no security support - you
can. The other option is to pin to bookworm which won't change when it
becomes stable/oldstable or whatever. Otherwise, when bookworm gets
released, testing magically becomes trixie.

Hope this helps, as ever,

Andy Cater

Hogren

unread,
Oct 27, 2022, 5:50:05 PM10/27/22
to


Le 27 octobre 2022 20:03:57 GMT+02:00, "Andrew M.A. Cater" <amac...@einval.com> a écrit :
>On Thu, Oct 27, 2022 at 09:05:54AM -0400, Greg Wooledge wrote:
>> On Thu, Oct 27, 2022 at 06:55:12AM -0600, Charles Curley wrote:
>> > On Thu, 27 Oct 2022 09:47:39 +0200
>> > Hogren <hog...@iiiha.com> wrote:
>> >
>> > > RUN echo 'deb http://deb.debian.org/debian testing main' >
>> > > /etc/apt/sources.list
>> >
>> > I haven't yet read the entire email, but this sticks out like a sore
>> > thumb. It is almost certainly not what you want. This completely
>> > obliterates your entire /etc/apt/sources.list, replacing it with a
>> > single line. For one thing, you lose any reference to the security repo.
>>
>> To be fair, there *isn't* a security repository for testing. Well,
>> technically there is one, but it hasn't been used in years. It's empty.
>> There's nothing in it.
>>
>

Thanks for your infos.
>There's another problem: if you pin to stable or testing, then you get an
>unpleasant shock when the next iteration of stable is released and there
>are suddenly hundreds of updates.
>
>The whole reason that codenames were brought into Debian was because someone
>released a version of Debian that was not yet ready as "Debian 1.0" on their
>CD set. Debian never released a 1.0 and instead went from 0.97 to 1.1.
>
>if you pin to a release name, then you don't have a flag day when everything
>changes.
>
>If you *really* want to pin to testing - with no security support - you
>can. The other option is to pin to bookworm which won't change when it
>becomes stable/oldstable or whatever. Otherwise, when bookworm gets
>released, testing magically becomes trixie.
>
>Hope this helps, as ever,
>
>Andy Cater
>
Yes Andy I know. In fact, I previously tested with releases names, and in one of my several tests, I modified to stable/testing. I keep these in my demonstration but the problem still here with the two options.


In all cases, thank you.


Anybody can say if this is a bug or not ?


Regards,
Hogren

Tim Woodall

unread,
Oct 28, 2022, 3:00:06 AM10/28/22
to
On Thu, 27 Oct 2022, Hogren wrote:

>
> Anybody can help me or confirm me that it?s a bug and I need to open a bug
> issue ?
>
>
> #9 28.26 Preparing to unpack .../archives/usrmerge_33_all.deb ...
> #9 28.28 Unpacking usrmerge (33) ...
> #9 28.32 Setting up usrmerge (33) ...
> #9 28.42 Warning: overlayfs detected, /usr/lib/usrmerge/convert-usrmerge will
> not
> #9 28.42 be run automatically. See #1008202 for details.
> #9 28.42
> #9 28.42 If this is a container then it can be converted by unpacking the
> image,
> #9 28.42 entering it with chroot(8), installling usrmerge and then repacking
> the
> #9 28.42 image again. at /usr/lib/usrmerge/convert-usrmerge line 399.
> #9 28.42 E: usrmerge failed.
> #9 28.42 dpkg: error processing package usrmerge (--configure):
> #9 28.42 installed usrmerge package post-installation script subprocess
> returned error exit status 1
> #9 28.44 Errors were encountered while processing:
> #9 28.44 usrmerge
> #9 28.46 E: Sub-process /usr/bin/dpkg returned an error code (1)
> ------
> executor failed running [/bin/sh -c apt upgrade -y]: exit code: 100
>
>

I don't know much about docker containers and I only know enough about
usrmerge to avoid it causing me issues on my own installer but I believe
this is 'working as designed'

The problem is that usrmerge needs to move /{bin,sbin,lib} to /usr/ and
then create compatibility symlinks. But because you're using an
overlayfs it cannot properly do that - it needs the underlying RO system
changed.

So, unpack the underlying fs, install usrmerge (if you want, remove it
again and its dependencies, install usr-is-merged[1]) repack, and then
try again.


[1] if you're starting from bullseye then usr-is-merged isn't available
so either you have to start with bookworm or accept the usrmerge
dependencies in the underlying fs (or backport usr-is-merged)

Tim Woodall

unread,
Oct 28, 2022, 3:10:05 AM10/28/22
to

Top post:
try installing usr-is-merged after changing sources.list before
anything else.

If that works and nobody else chimes in first I'll explain what is going
on.

(may or may not work, no time to check now)

Tim.

Tim Woodall

unread,
Oct 28, 2022, 10:00:05 AM10/28/22
to
On Fri, 28 Oct 2022, Tim Woodall wrote:

>
> Top post:
> try installing usr-is-merged after changing sources.list before
> anything else.
>
> If that works and nobody else chimes in first I'll explain what is going
> on.
>
> (may or may not work, no time to check now)
>
> Tim.
>
>

To followup here:

If the docker container already has merged usr (/bin is a symlink to
/usr/bin etc) then usr-is-merged should install - it has no
dependencies.

if usr-is-merged is installed then the upgrade of base-files will not (I
believe) pull in usrmerge and therefore you will not get the configure
error.

What I'm not sure about is whether the error you're seeing explicitly
means that usr is not merged (in which case usr-is-merged will fail to
install) or whether you get that error regardless. I don't have any
systems with usrmerge installed so I cannot quickly check the scripts to
see.

Tim.

Michael Biebl

unread,
Oct 30, 2022, 8:50:06 AM10/30/22
to
What you said about overlayfs is true and usrmerge is imho giving a
rather clear error message.

That said, I thought the best practice for docker containers is to throw
them away and rebuild them and that upgrading containers is frowned upon?

If you build / pull a new bookworm docker container, it should be setup
as merged-usr from the start.

Michael
OpenPGP_signature

Hogren

unread,
Oct 31, 2022, 6:20:05 AM10/31/22
to
I tried to modify the Dockerfile :
FROM debian:stable
RUN apt update
RUN apt upgrade -y
RUN echo 'deb http://deb.debian.org/debian testing main' >
/etc/apt/sources.list
RUN apt update
RUN apt install usr-is-merged
RUN apt upgrade -y
RUN apt dist-upgrade -y

I see that :
#9 1.739 Preparing to unpack .../usr-is-merged_33_all.deb ...
#9 1.751
#9 1.751
#9 1.751
******************************************************************************
#9 1.751 *
#9 1.751 * The usr-is-merged package cannot be installed because this
system does
#9 1.751 * not have a merged /usr.
#9 1.751 *
#9 1.751 * Please install the usrmerge package to convert this system to
merged-/usr.
#9 1.751 *
#9 1.751 * For more information please read
https://wiki.debian.org/UsrMerge.
#9 1.751 *
I understand but my specific problem needed to go through Bullseye then
Bookworm.

Ultimately, I found another solution.

Thank you very much to all for many tips and explanation :)



hogren
0 new messages