[Bug 2058648] Re: package libc6 2.35-0ubuntu3.6 [modified: usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/README.hesiod.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6] failed to install/upgrade: new libc6:amd64 package pre-installation script subprocess returned error exit status 2

Brian Wilson 2058648 at bugs.launchpad.net
Thu Mar 21 18:19:36 UTC 2024


# ls -lh /
total 2.1G
drwxr-xr-x   2 root   root     4.0K Mar 18 17:26 bin
drwxr-xr-x   4 root   root     4.0K Mar 19 16:34 boot
drwxrwxr-x   2 root   root     4.0K May 26  2018 cdrom
drwxr-xr-x   2 root   root     4.0K Feb 24  2021 code
-rw-------   1 root   root     5.1M Jan 17  2020 core
drwxr-xr-x  20 root   root     4.8K Mar 20 20:33 dev
drwxr-xr-x 189 root   root      12K Mar 21 08:36 etc
drwxrwxrwx   3 root   root     4.0K Feb  4  2023 evs_temp
drwxr-xr-x  15 root   root     4.0K Feb 24  2021 home
lrwxrwxrwx   1 root   root       34 Sep 30  2021 initrd.img -> boot/initrd.img-4.15.0-159-generic
lrwxrwxrwx   1 root   root       34 Sep 30  2021 initrd.img.old -> boot/initrd.img-4.15.0-158-generic
drwxr-xr-x  19 root   root     4.0K Mar 21 08:36 lib
drwxr-xr-x   2 root   root     4.0K Jan 12 06:24 lib64
drwx------   2 root   root      16K May 26  2018 lost+found
drwxr-xr-x   4 root   root     4.0K Dec 29  2022 media
drwxr-xr-x   9 root   root     4.0K Jan  8  2023 mnt
drwxr-xr-x   3 root   root     4.0K Jul 12  2020 new
drwxr-xr-x  16 root   root     4.0K Jan 27 22:38 opt
dr-xr-xr-x 333 root   root        0 Mar 20 20:33 proc
drwx------  29 root   root     4.0K Mar 21 09:05 root
drwxr-xr-x  51 root   root     1.5K Mar 21 08:36 run
drwxr-xr-x   2 root   root     4.0K Mar 21 08:36 sbin
drwxr-xr-x  20 root   root     4.0K Dec 26  2022 snap
drwxr-xr-x   4 root   root     4.0K Aug 11  2023 srv
drwxr-xr-x   4 wilson frontrow 4.0K Mar 18 17:02 storage
drwxr-xr-x   2 root   root     4.0K May 27  2019 storage-new
drwxr-xr-x   5 root   root     4.0K Jan  7  2023 storage.old
-rw-------   1 root   root     2.0G May 26  2018 swapfile
dr-xr-xr-x  13 root   root        0 Mar 20 20:33 sys
drwxrwxrwt  21 root   root     4.0K Mar 21 14:09 tmp
drwxr-xr-x  15 root   root     4.0K Dec 26  2022 usr
drwxr-xr-x  17 root   root     4.0K Mar 13 12:57 var
lrwxrwxrwx   1 root   root       31 Sep 30  2021 vmlinuz -> boot/vmlinuz-4.15.0-159-generic
lrwxrwxrwx   1 root   root       31 Sep 30  2021 vmlinuz.old -> boot/vmlinuz-4.15.0-158-generic


# ls -lh "/lib/ld-linux.so.2.usr-is-merged" "/lib/ld-linux.so.2"
ls: cannot access '/lib/ld-linux.so.2.usr-is-merged': No such file or directory
ls: cannot access '/lib/ld-linux.so.2': No such file or directory

# ls -lat /lib
total 152
drwxr-xr-x 19 root root  4096 Mar 21 08:36 .
drwxr-xr-x  2 root root  4096 Mar 21 08:36 i386-linux-gnu
drwxr-xr-x 30 root root  4096 Mar 21 08:36 ..
drwxr-xr-x 51 root root  4096 Mar 19 16:33 modules
drwxr-xr-x  2 root root  4096 Mar 18 17:05 udev
drwxr-xr-x 90 root root 69632 Mar 18 17:04 firmware
drwxr-xr-x  2 root root  4096 Mar 18 17:04 ifupdown
drwxr-xr-x  3 root root 12288 Mar 18 17:04 x86_64-linux-gnu
drwxr-xr-x  4 root root  4096 Mar 18 17:03 systemd
drwxr-xr-x  2 root root  4096 Nov 19 13:13 netplan
drwxr-xr-x  2 root root  4096 Aug 18  2023 ufw
lrwxrwxrwx  1 root root    17 Dec 26  2022 apparmor -> /usr/lib/apparmor
lrwxrwxrwx  1 root root    19 Dec 26  2022 modprobe.d -> /usr/lib/modprobe.d
lrwxrwxrwx  1 root root    22 Dec 26  2022 recovery-mode -> /usr/lib/recovery-mode
lrwxrwxrwx  1 root root    16 Dec 26  2022 apcupsd -> /usr/lib/apcupsd
lrwxrwxrwx  1 root root    13 Dec 26  2022 init -> /usr/lib/init
lrwxrwxrwx  1 root root    45 Dec 26  2022 klibc-K8e6DOmVI9JpyGMLR7qNe5iZeBk.so -> /usr/lib/klibc-K8e6DOmVI9JpyGMLR7qNe5iZeBk.so
drwxr-xr-x  2 root root  4096 Dec 26  2022 brltty
drwxr-xr-x  3 root root  4096 Dec 26  2022 crda
drwxr-xr-x  2 root root  4096 Dec 26  2022 hdparm
drwxr-xr-x  2 root root  4096 Dec 26  2022 linux-sound-base
drwxr-xr-x  3 root root  4096 Dec 26  2022 lsb
drwxr-xr-x  2 root root  4096 Dec 26  2022 console-setup
drwxr-xr-x  2 root root  4096 Dec 26  2022 resolvconf
drwxr-xr-x 16 root root  4096 Oct  4  2021 terminfo
lrwxrwxrwx  1 root root    21 Oct 16  2018 cpp -> /etc/alternatives/cpp

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2058648

Title:
  package libc6 2.35-0ubuntu3.6 [modified:
  usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz
  usr/share/doc/libc6/README.hesiod.gz
  usr/share/doc/libc6/changelog.Debian.gz
  usr/share/lintian/overrides/libc6] failed to install/upgrade: new
  libc6:amd64 package pre-installation script subprocess returned error
  exit status 2

Status in glibc package in Ubuntu:
  New

Bug description:
  Doing upgrade from 22.04 -> 24.04 beta.

  Upgrading
  Fetched 0 B in 0s (0 B/s)
     Upgrading: libnih1:amd64 < 1.0.3-12build1 @ii mK Ib > due to libnih1:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (< 2.36)
     Upgrading: libc6-x32:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii ugH Ib > due to libc6-x32:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (= 2.35-0ubuntu3.6)
     Upgrading: libc6-i386:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii ugH Ib > due to libc6-i386:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (= 2.35-0ubuntu3.6)
     Upgrading: libc6-dev:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii umH Ib > due to libc6-dev:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (= 2.35-0ubuntu3.6)
     Upgrading: libc6-dbg:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii umH Ib > due to libc6-dbg:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (= 2.35-0ubuntu3.6)
     Upgrading: libc-dev-bin:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii umH NPb Ib > due to libc-dev-bin:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (< 2.36)
     Upgrading: libc-bin:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii umH Ib > due to libc-bin:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > (< 2.36)
    MarkInstall libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > FU=1
      MarkInstall locales:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > FU=0
      Installing libc-bin:amd64 as Depends of locales:amd64
        MarkInstall libc-bin:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU > FU=0
      MarkInstall libc6:i386 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU > FU=0
      MarkInstall libnih1:amd64 < 1.0.3-12build1 @ii mK Ib > FU=0
        libnih1:amd64 Depends on libc6:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii pumU > (< 2.36) can't be satisfied! (dep)
     Removing: libnih1:amd64 as upgrade is not possible
      MarkDelete libnih1:amd64 < 1.0.3-12build1 @ii mK Ib > FU=0
       Upgrading: libc6-dev-x32:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii ugH NPb IPb > due to libc6-dev-x32:amd64 Depends on libc6-x32:amd64 < 2.35-0ubuntu3.6 | 2.39-0ubuntu2 @ii ugH Ib > (= 2.35-0ubuntu3.6)
      MarkInstall libc6-x32:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii ugU > FU=0
        MarkInstall libc6-dev-x32:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii ugU NPb Ib > FU=0
        Installing libc6-dev-i386:amd64 as Depends of libc6-dev-x32:amd64
          MarkInstall libc6-dev-i386:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii ugU NPb Ib > FU=0
            MarkInstall libc6-dev:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU Ib > FU=0
            Installing libc-dev-bin:amd64 as Depends of libc6-dev:amd64
              MarkInstall libc-dev-bin:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU NPb IPb > FU=0
              ignore old unsatisfied important dependency on libc-devtools:amd64
          Installing libc6-i386:amd64 as Depends of libc6-dev-i386:amd64
            MarkInstall libc6-i386:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii ugU > FU=0
          ignore old unsatisfied important dependency on gcc-multilib:amd64
        ignore old unsatisfied important dependency on gcc-multilib:amd64
      MarkInstall libc6-dbg:amd64 < 2.35-0ubuntu3.6 -> 2.39-0ubuntu2 @ii umU > FU=0
  Starting pkgProblemResolver with broken count: 1
  Starting 2 pkgProblemResolver with broken count: 1
  Investigating (0) ureadahead:amd64 < 0.100.0-21 @ii mK Ib >
  Broken ureadahead:amd64 Depends on libnih1:amd64 < 1.0.3-12build1 @ii mR > (>= 1.0.0)
    Considering libnih1:amd64 0 as a solution to ureadahead:amd64 -2
    Removing ureadahead:amd64 rather than change libnih1:amd64
    MarkDelete ureadahead:amd64 < 0.100.0-21 @ii mK Ib > FU=0
  Done

  Upgrading
  Fetched 0 B in 0s (0 B/s)
  Preconfiguring packages ...
  Preconfiguring packages ...
  Preconfiguring packages ...
  (Reading database ... 361984 files and directories currently installed.)
  Removing ureadahead (0.100.0-21) ...
  Removing libnih1 (1.0.3-12build1) ...

  Progress: [  6%]
  (Reading database ... 361965 files and directories currently installed.)
  Preparing to unpack .../00-libc6-i386_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc6-i386 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...

  Progress: [ 12%]
  Preparing to unpack .../01-libc-dev-bin_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc-dev-bin (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  Preparing to unpack .../02-libc6-dev_2.39-0ubuntu2_amd64.deb ...

  Progress: [ 18%]
  Unpacking libc6-dev:amd64 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  Replacing files in old package libc6:amd64 (2.35-0ubuntu3.6) ...
  Preparing to unpack .../03-libc6-dev-i386_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc6-dev-i386 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...

  Progress: [ 24%]
  Preparing to unpack .../04-libc6-dev-x32_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc6-dev-x32 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  Preparing to unpack .../05-libc6-x32_2.39-0ubuntu2_amd64.deb ...

  Progress: [ 30%]
  Unpacking libc6-x32 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  Preparing to unpack .../06-libc6-dbg_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc6-dbg:amd64 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...

  Progress: [ 36%]
  Preparing to unpack .../07-locales_2.39-0ubuntu2_all.deb ...
  Unpacking locales (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  Preparing to unpack .../08-libc6_2.39-0ubuntu2_amd64.deb ...
  De-configuring libc6:i386 (2.35-0ubuntu3.6), to allow configuration of libc6:amd64 (2.35-0ubuntu3.6) ...

  Progress: [ 42%]
  Checking for services that may need to be restarted...
  Checking init scripts...
  Checking for services that may need to be restarted...
  Checking init scripts...
  Stopping some services possibly affected by the upgrade (will be restarted later):
    cron: stopping...done.

  dpkg-divert: error: cannot divert directories

  Use --help for help about diverting files.
  dpkg: error processing archive /tmp/apt-dpkg-install-vdyTTj/08-libc6_2.39-0ubuntu2_amd64.deb (--unpack):
   new libc6:amd64 package pre-installation script subprocess returned error exit status 2
  Preparing to unpack .../09-libc6_2.39-0ubuntu2_i386.deb ...
  De-configuring libc6:amd64 (2.35-0ubuntu3.6), to allow configuration of libc6:i386 (2.35-0ubuntu3.6) ...

  Progress: [ 48%]
  Checking for services that may need to be restarted...
  Checking init scripts...
  Checking for services that may need to be restarted...
  Checking init scripts...
  Stopping some services possibly affected by the upgrade (will be restarted later):

  Unpacking libc6:i386 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
  ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/libc6.0.crash'
                                                                                 Preparing to unpack .../10-libc-bin_2.39-0ubuntu2_amd64.deb ...
  Unpacking libc-bin (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...

  Progress: [ 55%]
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-vdyTTj/08-libc6_2.39-0ubuntu2_amd64.deb
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (1)

  *** Send problem report to the developers?

  After the problem report has been sent, please fill out the form in the
  automatically opened web browser.

  What would you like to do? Your options are:
    S: Send report (332.3 KB)
    V: View report
    K: Keep report file for sending later or copying to somewhere else
    I: Cancel and ignore future crashes of this program version
    C: Cancel
  Please choose (S/V/K/I/C): S

  *** Collecting problem information

  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  .....

  *** Uploading problem information

  The collected information is being sent to the bug tracking system.
  This might take a few minutes.
  99%

  *** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/glibc/+filebug/c8f0b42a-e780-11ee-a0e9-df24f41047cf?field.title=package+libc6+2.35-0ubuntu3.6+%5Bmodified%3A+usr%2Fshare%2Fdoc%2Flibc6%2FNEWS.Debian.gz+usr%2Fshare%2Fdoc%2Flibc6%2FNEWS.gz+usr%2Fshare%2Fdoc%2Flibc6%2FREADME.hesiod.gz+usr%2Fshare%2Fdoc%2Flibc6%2Fchangelog.Debian.gz+usr%2Fshare%2Flintian%2Foverrides%2Flibc6%5D+failed+to+install%2Fupgrade%3A+new+libc6%3Aamd64+package+pre-
  installation+script+subprocess+returned+error+exit+status+2

  You can launch a browser now, or copy this URL into a browser on
  another computer.

  ProblemType: Package
  DistroRelease: Ubuntu 22.04
  Package: libc6 2.35-0ubuntu3.6 [modified: usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/README.hesiod.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6]
  ProcVersionSignature: Ubuntu 5.15.0-101.111-generic 5.15.143
  Uname: Linux 5.15.0-101-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  Date: Thu Mar 21 08:36:07 2024
  ErrorMessage: new libc6:amd64 package pre-installation script subprocess returned error exit status 2
  InstallationDate: Installed on 2018-05-26 (2125 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
  PythonDetails: /usr/bin/python3.10, Python 3.10.12, python-is-python3, 3.9.2-2
  RelatedPackageVersions:
   dpkg 1.21.1ubuntu2.3
   apt  2.4.11
  SourcePackage: glibc
  Title: package libc6 2.35-0ubuntu3.6 [modified: usr/share/doc/libc6/NEWS.Debian.gz usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/README.hesiod.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6] failed to install/upgrade: new libc6:amd64 package pre-installation script subprocess returned error exit status 2
  UpgradeStatus: Upgraded to jammy on 2024-03-21 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2058648/+subscriptions




More information about the foundations-bugs mailing list