package libc6 2.23-0ubuntu11 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
do-release-upgrade of Ubuntu 16.04 to 18.04 inside an OpenVZ container fails rather early in the upgrade process with this error.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libc6 2.23-0ubuntu11
Uname: Linux 2.6.32-042stab138.1 x86_64
ApportVersion: 2.20.1-0ubuntu2.19
Architecture: amd64
Date: Mon Aug 19 16:23:07 2019
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu11
libgcc1 1:6.0.1-0ubuntu1
Dmesg:
ErrorMessage: subprocess new pre-installation script returned error exit status 1
RelatedPackageV
dpkg 1.18.4ubuntu1.6
apt 1.2.32
SourcePackage: glibc
Title: package libc6 2.23-0ubuntu11 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2019-08-19 (0 days ago)
tags: | removed: need-duplicate-check |
Additional information: /iv.lt)
- the container is a "VPS" provided by a popular local hosting company Interneto Vizija (https:/
- they have their own patched 2.6.32-042stab138.1 kernel that I have no capability of upgrading
- the upgrade process shows a fancy ncurses warning that libc6 requires a newer kernel version (3.2 or later), but provides no option to abort the upgrade at that point
Recovering from the failed upgrade appears to be simple: sources. list
- change bionic back to xenial in /etc/apt/
- apt install locales/xenial libc6-dev/xenial libc6-dbg/xenial libc-dev-bin/xenial