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
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Triaged
|
High
|
Unassigned |
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-
[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-
MarkInstall libc6-dev-
ignore old unsatisfied important dependency on libc-devtools:amd64
Installing libc6-i386:amd64 as Depends of libc6-dev-
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-
Unpacking libc6-i386 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Progress: [ 12%]
Preparing to unpack .../01-
Unpacking libc-dev-bin (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Preparing to unpack .../02-
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-
Unpacking libc6-dev-i386 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Progress: [ 24%]
Preparing to unpack .../04-
Unpacking libc6-dev-x32 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Preparing to unpack .../05-
Progress: [ 30%]
Unpacking libc6-x32 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Preparing to unpack .../06-
Unpacking libc6-dbg:amd64 (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Progress: [ 36%]
Preparing to unpack .../07-
Unpacking locales (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Preparing to unpack .../08-
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-
new libc6:amd64 package pre-installation script subprocess returned error exit status 2
Preparing to unpack .../09-
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/
Unpacking libc-bin (2.39-0ubuntu2) over (2.35-0ubuntu3.6) ...
Progress: [ 55%]
Errors were encountered while processing:
/tmp/apt-
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:
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/
ProcVersionSign
Uname: Linux 5.15.0-101-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
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/
PythonDetails: /usr/bin/
RelatedPackageV
dpkg 1.21.1ubuntu2.3
apt 2.4.11
SourcePackage: glibc
Title: package libc6 2.35-0ubuntu3.6 [modified: usr/share/
UpgradeStatus: Upgraded to jammy on 2024-03-21 (0 days ago)
tags: | removed: need-duplicate-check |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
Changed in glibc (Ubuntu): | |
status: | New → Won't Fix |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → High |
summary: |
- 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 + 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 |
tags: | added: foundations-todo |
Changed in glibc (Ubuntu): | |
status: | Incomplete → Won't Fix |
Attempted removing diversions:
# dpkg-divert --quiet --remove --rename --package base-files --divert "/lib.usr- is-merged" "/lib" linux.so. 2.usr-is- merged" "/lib/ld- linux.so. 2"
# dpkg-divert --quiet --remove --rename --divert "/lib/ld-
# apt-get install -f 64-linux- gnu/libc. so.6: version `GLIBC_2.36' not found (required by locale) 64-linux- gnu/libc. so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale) 64-linux- gnu/libc. so.6: version `GLIBC_2.38' not found (required by locale) 2.39-0ubuntu2_ amd64.deb ... 64-linux- gnu/libc. so.6: version `GLIBC_2.36' not found (required by locale) 64-linux- gnu/libc. so.6: version `GLIBC_ABI_DT_RELR' not found (required by locale) 64-linux- gnu/libc. so.6: version `GLIBC_2.38' not found (required by locale)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
libopts25 php8.2-mysql sntp
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libc6
Suggested packages:
glibc-doc
The following packages will be upgraded:
libc6
1 upgraded, 0 newly installed, 0 to remove and 2382 not upgraded.
10 not fully installed or removed.
Need to get 0 B/3,262 kB of archives.
After this operation, 172 kB disk space will be freed.
Do you want to continue? [Y/n] y
locale: /lib/x86_
locale: /lib/x86_
locale: /lib/x86_
Preconfiguring packages ...
(Reading database ... 361971 files and directories currently installed.)
Preparing to unpack .../libc6_
locale: /lib/x86_
locale: /lib/x86_
locale: /lib/x86_
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):
dpkg-divert: error: cannot divert directories
Use --help for help about diverting files. apt/archives/ libc6_2. 39-0ubuntu2_ amd64.deb (--unpack): apt/archives/ libc6_2. 39-0ubuntu2_ amd64.deb
dpkg: error processing archive /var/cache/
new libc6:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)