do-release-upgrade without the latest version of apt in focal or groovy will crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Jammy |
Fix Released
|
High
|
Brian Murray |
Bug Description
Impact
------
There are many crash reports in the Ubuntu Error tracker (https:/
Test Case
---------
1) On an Ubuntu 20.04 (or Ubuntu 20.10) system install the version of libapt-pkg6.0 and apt from the release pocket (not -updates).
2) Disable the -updates pocket in /etc/apt/
3) Run do-release-upgrade
4) Observe a crash early in the upgrade process
With the version of ubuntu-
"Reading state information... Done
Required depends is not installed
The required dependency 'apt (>= 2.0.4)' is not installed."
Regression Potential
-------
If the Depends line is improperly formatted the upgrade process could end up crashing in a different way.
ProblemType: Crash
DistroRelease: Ubuntu 22.04
Package: ubuntu-
ProcVersionSign
Uname: Linux 5.8.0-63-generic x86_64
Architecture: amd64
CasperMD5CheckR
CrashDB: ubuntu
Date: Tue Aug 23 14:47:18 2022
DuplicateSignature: apt_pkg.Error: E:Could not configure 'libc6:i386'. , E:Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-
ExecutablePath: /usr/bin/
ExecutableTimes
InstallationDate: Installed on 2022-08-03 (20 days ago)
InstallationMedia: Ubuntu 20.10 "Groovy Gorilla" - Release amd64 (20201022)
InterpreterPath: /usr/bin/python3.8
PackageArchitec
ProcCmdline: /usr/bin/python3 -s /tmp/ubuntu-
ProcCwd: /tmp/ubuntu-
Python3Details: /usr/bin/python3.8, Python 3.8.10, python3-minimal, 3.8.6-0ubuntu1
PythonArgs: ['/usr/
PythonDetails: N/ASourcePackage: ubuntu-
Title: do-release-upgrade crashed with apt_pkg.Error: E:Could not configure 'libc6:i386'. , E:Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-
Traceback: apt_pkg.Error: E:Could not configure 'libc6:i386'. , E:Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-
UpgradeStatus: Upgraded to groovy on 2022-08-23 (0 days ago)
UserGroups: N/A
description: | updated |
description: | updated |
description: | updated |
summary: |
- do-release-upgrade crashed with apt_pkg.Error: E:Could not configure - 'libc6:i386'. , E:Could not perform immediate configuration on - 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate- - Configure for details. (2) + do-release-upgrade without the latest version of apt in focal or groovy + will crash |
description: | updated |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Jammy): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Brian Murray (brian-murray) |
This is the specific failure seen in VarLogDistupgra deMainlog. txt:
2022-08-23 14:47:17,971 ERROR not handled exception: Configure for details. (2)
apt_pkg.Error: E:Could not configure 'libc6:i386'. , E:Could not perform immediate configuration on 'libgcc-s1:i386'. Please see man 5 apt.conf under APT::Immediate-