[Bug 2058648] Re: Support upgrades from unmerged 22.04 - was: 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

Nick Rosbrook 2058648 at bugs.launchpad.net
Mon Aug 12 18:11:28 UTC 2024


I have verified the fix using ubuntu-release-upgrader from noble-
propesed:

nr at six:/t/tmp.OVskvjC1qB$ sudo debootstrap --exclude=usrmerge --no-merged-usr jammy jammy-unmerged-usr/
[sudo] password for nr: 
I: Target architecture can be executed
I: Retrieving InRelease 
I: Checking Release signature
I: Valid Release signature (key id F6ECB3762474EDA9D21B7022871920D1991BC93C)
I: Retrieving Packages 
I: Validating Packages 

[ ...SNIP... ]

I: Configuring ubuntu-minimal...
I: Configuring libc-bin...
I: Configuring ca-certificates...
I: Base system installed successfully.
nr at six:/t/tmp.OVskvjC1qB$ sudo systemd-nspawn -D jammy-unmerged-usr
Spawning container jammy-unmerged-usr on /tmp/tmp.OVskvjC1qB/jammy-unmerged-usr.
Press Ctrl-] three times within 1s to kill container.
root at jammy-unmerged-usr:~# adduser ubuntu
Adding user `ubuntu' ...
Adding new group `ubuntu' (1000) ...
Adding new user `ubuntu' (1000) with group `ubuntu' ...
Creating home directory `/home/ubuntu' ...
Copying files from `/etc/skel' ...
New password: 
Retype new password: 
passwd: password updated successfully
Changing the user information for ubuntu
Enter the new value, or press ENTER for the default
	Full Name []: 
	Room Number []: 
	Work Phone []: 
	Home Phone []: 
	Other []: 
Is the information correct? [Y/n] 
root at jammy-unmerged-usr:~# usermod -aG sudo ubuntu
root at jammy-unmerged-usr:~# 
Container jammy-unmerged-usr terminated by signal KILL.
nr at six:/t/tmp.OVskvjC1qB$ sudo systemd-nspawn --boot -D jammy-unmerged-usr
Spawning container jammy-unmerged-usr on /tmp/tmp.OVskvjC1qB/jammy-unmerged-usr.
Press Ctrl-] three times within 1s to kill container.
systemd 249.11-0ubuntu3 running in system mode (+PAM +AUDIT +SELINUX +APPARMOR +IMA +SMACK +SECCOMP +GCRYPT +GNUTLS -OPENSSL +ACL +BLKID +CURL +ELFUTILS -FIDO2 +IDN2 -IDN +IPTC +KMOD +LIBCRYPTSETUP -LIBFDISK +PCRE2 -PWQUALITY -P11KIT -QRENCODE +BZIP2 +LZ4 +XZ +ZLIB +ZSTD -XKBCOMMON +UTMP +SYSVINIT default-hierarchy=unified)
Detected virtualization systemd-nspawn.
Detected architecture x86-64.

Welcome to Ubuntu 22.04 LTS!

Hostname set to <six>.
Queued start job for default target Graphical Interface.
[  OK  ] Created slice S…ce /system/modprobe.
[  OK  ] Created slice U…r and Session Slice.
[  OK  ] Started Dispatc…ole Directory Watch.
[  OK  ] Started Forward…all Directory Watch.
[  OK  ] Reached target …l Encrypted Volumes.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Reached target Slice Units.
[  OK  ] Reached target Swaps.
[  OK  ] Reached target …y Protected Volumes.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on in…tibility Named Pipe.
[  OK  ] Listening on Jo…l Socket (/dev/log).
[  OK  ] Listening on Journal Socket.
[  OK  ] Reached target Socket Units.
         Mounting Huge Pages File System...
         Starting Journal Service...
         Starting Set th…e keyboard layout...
         Mounting FUSE Control File System...
         Starting Remoun…rnel File Systems...
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Finished Remoun…Kernel File Systems.
         Starting Create System Users...
[  OK  ] Finished Create System Users.
[  OK  ] Started Journal Service.
         Starting Flush …ersistent Storage...
         Starting Create…ice Nodes in /dev...
[  OK  ] Finished Set th…ole keyboard layout.
[  OK  ] Finished Create…evice Nodes in /dev.
[  OK  ] Reached target … Local File Systems.
[  OK  ] Reached target Local File Systems.
         Starting Set co…e font and keymap...
[  OK  ] Finished Set co…ole font and keymap.
[  OK  ] Finished Flush … Persistent Storage.
         Starting Create…s and Directories...
[  OK  ] Finished Create…les and Directories.
         Starting Network Name Resolution...
[  OK  ] Reached target System Time Set.
         Starting Record…/Shutdown in UTMP...
[  OK  ] Finished Record…ot/Shutdown in UTMP.
[  OK  ] Reached target …stem Initialization.
[  OK  ] Started Trigger…on GCP LTS non-pro).
[  OK  ] Started Daily a…download activities.
[  OK  ] Started Daily a…nd clean activities.
[  OK  ] Started Daily d…tabase backup timer.
[  OK  ] Started Periodi…for All Filesystems.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Message of the Day.
[  OK  ] Started Daily C…mporary Directories.
[  OK  ] Started Ubuntu …nning repeated jobs.
[  OK  ] Reached target Path Units.
[  OK  ] Reached target Basic System.
[  OK  ] Reached target Timer Units.
[  OK  ] Listening on D-… Message Bus Socket.
[  OK  ] Started Regular…m processing daemon.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Save in…messages after boot.
         Starting Dispat… systemd-networkd...
         Starting System Logging Service...
         Starting User Login Management...
         Starting Permit User Sessions...
[  OK  ] Started System Logging Service.
[  OK  ] Finished Permit User Sessions.
[  OK  ] Started Console Getty.
[  OK  ] Created slice Slice /system/getty.
[  OK  ] Reached target Login Prompts.
[  OK  ] Started User Login Management.
[  OK  ] Started Network Name Resolution.
[  OK  ] Reached target …etwork Name Lookups.
[  OK  ] Started Dispatc…or systemd-networkd.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Record…el Change in UTMP...
[  OK  ] Finished Record…evel Change in UTMP.

Ubuntu 22.04 LTS six console

six login: ubuntu
Password: 
Welcome to Ubuntu 22.04 LTS (GNU/Linux 6.8.0-31-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu at six:~$ sudo sed -i 's/Prompt=lts/Prompt=normal/g' /etc/update-manager/release-upgrades
ubuntu at six:~$ do-release-upgrade --proposed
Checking for a new Ubuntu release

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

We hope you enjoy Ubuntu.

== Feedback and Helping ==

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

  http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever.  If you feel
that you have found a bug please read:

  http://help.ubuntu.com/community/ReportingBugs

Then report bugs using apport in Ubuntu.  For example:

  ubuntu-bug linux

will open a bug report in Launchpad regarding the linux package.

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:

  http://help.ubuntu.com/community/InternetRelayChat
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  http://www.ubuntuforums.org/


== More Information ==

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

  http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce


Continue [yN] y
Get:1 Upgrade tool signature [833 B]                      
Get:2 Upgrade tool [1280 kB]                              
Fetched 1281 kB in 0s (0 B/s)                             
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu jammy InRelease      
Get:1 http://archive.ubuntu.com/ubuntu jammy/main Translation-en [510 kB]
Fetched 510 kB in 0s (0 B/s)                              
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Cannot upgrade system with unmerged /usr

Please install the usrmerge package to fix this, and then try the 
upgrade again. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done


After that, installing usrmerge allowed the upgrade to continue:

ubuntu at six:~$ sudo apt install usrmerge -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  usrmerge
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 54.7 kB of archives.
After this operation, 205 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu jammy/main amd64 usrmerge all 25ubuntu2 [54.7 kB]
Fetched 54.7 kB in 0s (119 kB/s) 
Selecting previously unselected package usrmerge.
(Reading database ... 13189 files and directories currently installed.)
Preparing to unpack .../usrmerge_25ubuntu2_all.deb ...
Unpacking usrmerge (25ubuntu2) ...
Setting up usrmerge (25ubuntu2) ...
Smartmatch is experimental at /usr/lib/usrmerge/convert-usrmerge line 172.
The system has been successfully converted.
ubuntu at six:~$ do-release-upgrade --proposed
Checking for a new Ubuntu release

= Welcome to Ubuntu 24.04 LTS 'Noble Numbat' =

The Ubuntu team is proud to announce Ubuntu 24.04 LTS 'Noble Numbat'.

To see what's new in this release, visit:
  https://wiki.ubuntu.com/NobleNumbat/ReleaseNotes

Ubuntu is a Linux distribution for your desktop or server, with a fast
and easy install, regular releases, a tight selection of excellent
applications installed by default, and almost any other software you
can imagine available through the network.

We hope you enjoy Ubuntu.

== Feedback and Helping ==

If you would like to help shape Ubuntu, take a look at the list of
ways you can participate at

  http://www.ubuntu.com/community/participate/

Your comments, bug reports, patches and suggestions will help ensure
that our next release is the best release of Ubuntu ever.  If you feel
that you have found a bug please read:

  http://help.ubuntu.com/community/ReportingBugs

Then report bugs using apport in Ubuntu.  For example:

  ubuntu-bug linux

will open a bug report in Launchpad regarding the linux package.

If you have a question, or if you think you may have found a bug but
aren't sure, first try asking on the #ubuntu or #ubuntu-bugs IRC
channels on Libera.Chat, on the Ubuntu Users mailing list, or on the
Ubuntu forums:

  http://help.ubuntu.com/community/InternetRelayChat
  http://lists.ubuntu.com/mailman/listinfo/ubuntu-users
  http://www.ubuntuforums.org/


== More Information ==

You can find out more about Ubuntu on our website, IRC channel and wiki.
If you're new to Ubuntu, please visit:

  http://www.ubuntu.com/


To sign up for future Ubuntu announcements, please subscribe to Ubuntu's
very low volume announcement list at:

  http://lists.ubuntu.com/mailman/listinfo/ubuntu-announce


Continue [yN] y
Get:1 Upgrade tool signature [833 B]                                                                                  
Get:2 Upgrade tool [1280 kB]                                                                                          
Fetched 1281 kB in 0s (0 B/s)                                                                                         
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Hit http://archive.ubuntu.com/ubuntu jammy InRelease                                                                  
Fetched 0 B in 0s (0 B/s)                                                                                             
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Updating repository information
Get:1 http://archive.ubuntu.com/ubuntu noble InRelease [256 kB]                                                       
Get:2 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages [1401 kB]                                            
Get:3 http://archive.ubuntu.com/ubuntu noble/main Translation-en [513 kB]                                             
Fetched 2170 kB in 0s (0 B/s)                                                                                         

Checking package manager
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Calculating the changes

Calculating the changes

Do you want to start the upgrade?


3 installed packages are no longer supported by Canonical. You can 
still get support from the community. 

14 packages are going to be removed. 46 new packages are going to be 
installed. 180 packages are going to be upgraded. 

You have to download a total of 80.3 M. This download will take about 
16 seconds with a 40Mbit connection and about 2 minutes with a 5Mbit 
connection. 

Fetching and installing the upgrade can take several hours. Once the 
download has finished, the process cannot be canceled. 

 Continue [yN]  Details [d]


** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble

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

Title:
  Support upgrades from unmerged 22.04 - was: 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:
  Won't Fix
Status in ubuntu-release-upgrader package in Ubuntu:
  Invalid
Status in glibc source package in Noble:
  New
Status in ubuntu-release-upgrader source package in Noble:
  Fix Committed

Bug description:
  [Analysis]
  usrmerge was not essential on 22.04 and systems that upgraded to it may not have been converted, as it was only Recommended.

  We need to add quirks to ubuntu-release-upgrader to convert systems
  that are not yet merged by first installing the usrmerge package.

  [Test Plan]

  1. Bootstrap an unmerged-/usr jammy rootfs:

  $ debootstrap --exclude=usrmerge --no-merged-usr jammy-unmerged-usr/

  2. Start systemd-nspawn with this rootfs and add a new user:

  $ systemd-nspawn -D jammy-unmerged-user

  ...

  # adduser ubuntu
  # usermod -aG sudo ubuntu

  3. Then boot as a container:

  $ systemd-nspawn --boot -D jammy-unmerged-usr/

  4. Attempt an upgrade. With the patch in place, the upgrade should be
  stopped with a message explaining that the system is not /usr-merged.

  $ do-release-upgrade -d

  5. After that, install usrmerge, and try the upgrade again. It should
  proceed this time.

  $ apt install -y usrmerge
  $ do-release-upgrade -d

  [Where problems could occur]

  This patch checks that /bin, /sbin, and /lib are symlinks to their
  respective locations in /usr. Typos in the patch could cause problems.
  If a bug were to arise, either (a) upgrades would be prevented
  unnecessarily, or (b) it would proceed when it should not, and users
  would hit this bug anyways.

  [Original bug report]
  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