[Bug 1899272] Re: upgrade to 20.10 beta from 20.04 fails immediate configuration
Eason Yu
1899272 at bugs.launchpad.net
Wed Oct 14 01:27:40 UTC 2020
I also encountered this issue recently, FYI, I build a docker image base on Debian OS daily, and some specific commands (install some packages, e.g. python, postgresql-client) will be ran during the building, since Oct 11, get the following error, ref:
=================================================
[0;32m docker: + apt-get -y install postgresql-client-9.6[0m
[0;32m docker: Reading package lists...[0m
[0;32m docker: Building dependency tree...[0m
[0;32m docker: Reading state information...[0m
[0;32m docker: The following additional packages will be installed:[0m
[0;32m docker: gcc-10-base libc-bin libc6 libcom-err2 libcomerr2 libcrypt1 libgcc-s1[0m
[0;32m docker: libgssapi-krb5-2 libidn2-0 libk5crypto3 libkrb5-3 libkrb5support0 libnss-nis[0m
[0;32m docker: libnss-nisplus libpq5 libreadline8 libtinfo6 postgresql-client-common[0m
[0;32m docker: Suggested packages:[0m
[0;32m docker: glibc-doc libc-l10n locales krb5-doc krb5-user postgresql-9.6[0m
[0;32m docker: postgresql-doc-9.6[0m
[0;32m docker: Recommended packages:[0m
[0;32m docker: manpages krb5-locales[0m
[0;32m docker: The following NEW packages will be installed:[0m
[0;32m docker: gcc-10-base libcom-err2 libcrypt1 libgcc-s1 libnss-nis libnss-nisplus libpq5[0m
[0;32m docker: libreadline8 libtinfo6 postgresql-client-9.6 postgresql-client-common[0m
[0;32m docker: The following packages will be upgraded:[0m
[0;32m docker: libc-bin libc6 libcomerr2 libgssapi-krb5-2 libidn2-0 libk5crypto3 libkrb5-3[0m
[0;32m docker: libkrb5support0[0m
[0;32m docker: 8 upgraded, 11 newly installed, 0 to remove and 304 not upgraded.[0m
[0;32m docker: Need to get 6960 kB of archives.[0m
[0;32m docker: After this operation, 11.2 MB of additional disk space will be used.[0m
[0;32m docker: Get:1 http://security.debian.org stretch/updates/main amd64 postgresql-client-9.6 amd64 9.6.19-0+deb9u1 [1288 kB][0m
[0;32m docker: Get:2 http://ftp.de.debian.org/debian sid/main amd64 gcc-10-base amd64 10.2.0-15 [199 kB][0m
[0;32m docker: Get:3 http://ftp.de.debian.org/debian sid/main amd64 libgcc-s1 amd64 10.2.0-15 [41.4 kB][0m
[0;32m docker: Get:4 http://ftp.de.debian.org/debian sid/main amd64 libnss-nis amd64 3.1-3 [25.6 kB][0m
[0;32m docker: Get:5 http://ftp.de.debian.org/debian sid/main amd64 libnss-nisplus amd64 1.3-3 [21.6 kB][0m
[0;32m docker: Get:6 http://ftp.de.debian.org/debian sid/main amd64 libc6 amd64 2.31-4 [2804 kB][0m
[0;32m docker: Get:7 http://ftp.de.debian.org/debian sid/main amd64 libcrypt1 amd64 1:4.4.17-1 [86.9 kB][0m
[0;32m docker: Get:8 http://ftp.de.debian.org/debian sid/main amd64 libc-bin amd64 2.31-4 [804 kB][0m
[0;32m docker: Get:9 http://ftp.de.debian.org/debian sid/main amd64 libcom-err2 amd64 1.45.6-1 [71.7 kB][0m
[0;32m docker: Get:10 http://ftp.de.debian.org/debian sid/main amd64 libcomerr2 amd64 1.45.6-1 [67.6 kB][0m
[0;32m docker: Get:11 http://ftp.de.debian.org/debian sid/main amd64 libtinfo6 amd64 6.2+20200918-1 [340 kB][0m
[0;32m docker: Get:12 http://ftp.de.debian.org/debian sid/main amd64 libreadline8 amd64 8.0-4 [160 kB][0m
[0;32m docker: Get:13 http://ftp.de.debian.org/debian sid/main amd64 libgssapi-krb5-2 amd64 1.17-10 [156 kB][0m
[0;32m docker: Get:14 http://ftp.de.debian.org/debian sid/main amd64 libkrb5-3 amd64 1.17-10 [366 kB][0m
[0;32m docker: Get:15 http://ftp.de.debian.org/debian sid/main amd64 libk5crypto3 amd64 1.17-10 [115 kB][0m
[0;32m docker: Get:16 http://ftp.de.debian.org/debian sid/main amd64 libkrb5support0 amd64 1.17-10 [64.6 kB][0m
[0;32m docker: Get:17 http://ftp.de.debian.org/debian sid/main amd64 libidn2-0 amd64 2.3.0-1 [85.4 kB][0m
[0;32m docker: Get:18 http://ftp.de.debian.org/debian sid/main amd64 libpq5 amd64 13.0-3 [174 kB][0m
[0;32m docker: Get:19 http://ftp.de.debian.org/debian sid/main amd64 postgresql-client-common all 220 [88.3 kB][0m
[0;32m docker: debconf: delaying package configuration, since apt-utils is not installed[0m
[0;32m docker: Fetched 6960 kB in 2s (3400 kB/s)[0m
[0;32m docker: Selecting previously unselected package gcc-10-base:amd64.[0m
[0;32m docker: (Reading database ... 27106 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../gcc-10-base_10.2.0-15_amd64.deb ...[0m
[0;32m docker: Unpacking gcc-10-base:amd64 (10.2.0-15) ...[0m
[0;32m docker: Setting up gcc-10-base:amd64 (10.2.0-15) ...[0m
[0;32m docker: Selecting previously unselected package libgcc-s1:amd64.[0m
[0;32m docker: (Reading database ... 27111 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../libgcc-s1_10.2.0-15_amd64.deb ...[0m
[0;32m docker: Unpacking libgcc-s1:amd64 (10.2.0-15) ...[0m
[0;32m docker: Replacing files in old package libgcc1:amd64 (1:6.3.0-18) ...[0m
[0;32m docker: Setting up libgcc-s1:amd64 (10.2.0-15) ...[0m
[0;32m docker: (Reading database ... 27113 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../libc6_2.31-4_amd64.deb ...[0m
[0;32m docker: debconf: unable to initialize frontend: Dialog[0m
[0;32m docker: debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)[0m
[0;32m docker: debconf: falling back to frontend: Readline[0m
[0;32m docker: debconf: unable to initialize frontend: Readline[0m
[0;32m docker: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)[0m
[0;32m docker: debconf: falling back to frontend: Teletype[0m
[0;32m docker: Checking for services that may need to be restarted...[0m
[0;32m docker: Checking init scripts...[0m
[0;32m docker: Unpacking libc6:amd64 (2.31-4) over (2.24-11+deb9u1) ...[0m
[0;32m docker: Selecting previously unselected package libnss-nis:amd64.[0m
[0;32m docker: Preparing to unpack .../libnss-nis_3.1-3_amd64.deb ...[0m
[0;32m docker: Unpacking libnss-nis:amd64 (3.1-3) ...[0m
[0;32m docker: Selecting previously unselected package libcrypt1:amd64.[0m
[0;32m docker: Preparing to unpack .../libcrypt1_1%3a4.4.17-1_amd64.deb ...[0m
[0;32m docker: Unpacking libcrypt1:amd64 (1:4.4.17-1) ...[0m
[0;32m docker: Selecting previously unselected package libnss-nisplus:amd64.[0m
[0;32m docker: Preparing to unpack .../libnss-nisplus_1.3-3_amd64.deb ...[0m
[0;32m docker: Unpacking libnss-nisplus:amd64 (1.3-3) ...[0m
[0;32m docker: Setting up libnss-nis:amd64 (3.1-3) ...[0m
[0;32m docker: Setting up libcrypt1:amd64 (1:4.4.17-1) ...[0m
[0;32m docker: Setting up libnss-nisplus:amd64 (1.3-3) ...[0m
[0;32m docker: Setting up libc6:amd64 (2.31-4) ...[0m
[0;32m docker: Installing new version of config file /etc/ld.so.conf.d/x86_64-linux-gnu.conf ...[0m
[0;32m docker: debconf: unable to initialize frontend: Dialog[0m
[0;32m docker: debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)[0m
[0;32m docker: debconf: falling back to frontend: Readline[0m
[0;32m docker: debconf: unable to initialize frontend: Readline[0m
[0;32m docker: debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)[0m
[0;32m docker: debconf: falling back to frontend: Teletype[0m
[0;32m docker: Checking for services that may need to be restarted...[0m
[0;32m docker: Checking init scripts...[0m
[0;32m docker: Nothing to restart.[0m
[0;32m docker: (Reading database ... 27125 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../libc-bin_2.31-4_amd64.deb ...[0m
[0;32m docker: Unpacking libc-bin (2.31-4) over (2.24-11+deb9u1) ...[0m
[0;32m docker: Setting up libc-bin (2.31-4) ...[0m
[0;32m docker: Updating /etc/nsswitch.conf to current default.[0m
[0;32m docker: (Reading database ... 27125 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../libcomerr2_1.45.6-1_amd64.deb ...[0m
[0;32m docker: Unpacking libcomerr2:amd64 (1.45.6-1) over (1.43.4-2) ...[0m
[0;32m docker: Selecting previously unselected package libcom-err2:amd64.[0m
[0;32m docker: Preparing to unpack .../libcom-err2_1.45.6-1_amd64.deb ...[0m
[0;32m docker: Unpacking libcom-err2:amd64 (1.45.6-1) ...[0m
[0;32m docker: Setting up libcom-err2:amd64 (1.45.6-1) ...[0m
[0;32m docker: Selecting previously unselected package libtinfo6:amd64.[0m
[0;32m docker: (Reading database ... 27128 files and directories currently installed.)[0m
[0;32m docker: Preparing to unpack .../0-libtinfo6_6.2+20200918-1_amd64.deb ...[0m
[0;32m docker: Unpacking libtinfo6:amd64 (6.2+20200918-1) ...[0m
[0;32m docker: Selecting previously unselected package libreadline8:amd64.[0m
[0;32m docker: Preparing to unpack .../1-libreadline8_8.0-4_amd64.deb ...[0m
[0;32m docker: Unpacking libreadline8:amd64 (8.0-4) ...[0m
[0;32m docker: Preparing to unpack .../2-libgssapi-krb5-2_1.17-10_amd64.deb ...[0m
[0;32m docker: Unpacking libgssapi-krb5-2:amd64 (1.17-10) over (1.15-1+deb9u1) ...[0m
[0;32m docker: Preparing to unpack .../3-libkrb5-3_1.17-10_amd64.deb ...[0m
[0;32m docker: Unpacking libkrb5-3:amd64 (1.17-10) over (1.15-1+deb9u1) ...[0m
[0;32m docker: Preparing to unpack .../4-libk5crypto3_1.17-10_amd64.deb ...[0m
[0;32m docker: Unpacking libk5crypto3:amd64 (1.17-10) over (1.15-1+deb9u1) ...[0m
[0;32m docker: Preparing to unpack .../5-libkrb5support0_1.17-10_amd64.deb ...[0m
[0;32m docker: Unpacking libkrb5support0:amd64 (1.17-10) over (1.15-1+deb9u1) ...[0m
[0;32m docker: Preparing to unpack .../6-libidn2-0_2.3.0-1_amd64.deb ...[0m
[0;32m docker: Unpacking libidn2-0:amd64 (2.3.0-1) over (0.16-1+deb9u1) ...[0m
[0;32m docker: Selecting previously unselected package libpq5:amd64.[0m
[0;32m docker: Preparing to unpack .../7-libpq5_13.0-3_amd64.deb ...[0m
[0;32m docker: Unpacking libpq5:amd64 (13.0-3) ...[0m
[0;32m docker: Selecting previously unselected package postgresql-client-common.[0m
[0;32m docker: Preparing to unpack .../8-postgresql-client-common_220_all.deb ...[0m
[0;32m docker: Unpacking postgresql-client-common (220) ...[0m
[0;32m docker: Selecting previously unselected package postgresql-client-9.6.[0m
[0;32m docker: Preparing to unpack .../9-postgresql-client-9.6_9.6.19-0+deb9u1_amd64.deb ...[0m
[0;32m docker: Unpacking postgresql-client-9.6 (9.6.19-0+deb9u1) ...[0m
[0;32m docker: Setting up libidn2-0:amd64 (2.3.0-1) ...[0m
[0;32m docker: Setting up libtinfo6:amd64 (6.2+20200918-1) ...[0m
[0;32m docker: Setting up libkrb5support0:amd64 (1.17-10) ...[0m
[0;32m docker: Processing triggers for libc-bin (2.31-4) ...[0m
[0;32m docker: Setting up postgresql-client-common (220) ...[0m
[0;32m docker: Setting up libcomerr2:amd64 (1.45.6-1) ...[0m
[0;32m docker: Setting up libreadline8:amd64 (8.0-4) ...[0m
[0;32m docker: Setting up libk5crypto3:amd64 (1.17-10) ...[0m
[0;32m docker: Setting up libkrb5-3:amd64 (1.17-10) ...[0m
[0;32m docker: Setting up libgssapi-krb5-2:amd64 (1.17-10) ...[0m
[0;32m docker: Setting up libpq5:amd64 (13.0-3) ...[0m
[0;32m docker: Setting up postgresql-client-9.6 (9.6.19-0+deb9u1) ...[0m
[0;32m docker: update-alternatives: using /usr/share/postgresql/9.6/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode[0m
[0;32m docker: Processing triggers for libc-bin (2.31-4) ...[0m
[0;32m docker: E: Could not configure 'libc6:amd64'.[0m
[0;32m docker: E: Could not perform immediate configuration on 'libcrypt1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)[0m
[1;32m==> docker: Killing the container: f7f06a04876e2964be28ddbd394cb73b1fb20da6043d615494cf070ac2e16e0b[0m
[1;31mBuild 'docker' errored: Script exited with non-zero exit status: 100[0m
=======================================
Note: Before 'apt-get -y install postgresql-client-9.6', 'apt-get -y
update' is ran.
--
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/1899272
Title:
upgrade to 20.10 beta from 20.04 fails immediate configuration
Status in ubuntu-release-upgrader package in Ubuntu:
Confirmed
Bug description:
This problem shows up when using any update method (update-manager -d,
do-release-upgrade -d). The captured data shows an immediate-configure
error.
------------------------------------------------------------------------------
Fetched 0 B in 0s (0 B/s)
Error in function: install
apt_pkg.Error: E:Could not configure 'libc6:amd64'. , E:Could not perform immediate configuration on 'libnss-nis:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
apt_pkg.Error: E:Could not configure 'libc6:amd64'. , E:Could not perform immediate configuration on 'libnss-nis:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
Error in function: install
apt_pkg.Error: E:Could not perform immediate configuration on 'libffi8ubuntu1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
apt_pkg.Error: E:Could not perform immediate configuration on 'libffi8ubuntu1:amd64'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)
Could not install the upgrades
The upgrade has aborted. Your system could be in an unusable state. A
recovery will run now (dpkg --configure -a).
Upgrade infeasible
The upgrade could not be completed, there were errors during the
upgrade process.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
------------------------------------------------------------------
I've deleted the cache of new packages and rerun the download to confirm that I didn't have a bad package download.
ubuntu-release-upgrader-core/focal-updates,focal-updates,now 1:20.04.25 all [installed]
manage release upgrades
ubuntu-release-upgrader-gtk/focal-updates,focal-updates,now 1:20.04.25 all [installed,automatic]
manage release upgrades
ubuntu-release-upgrader-qt/focal-updates,focal-updates,now 1:20.04.25 all [installed]
manage release upgrades
--------------------------------------------------------------------
root at wizard:/var/lib# lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.25
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
Date: Sat Oct 10 10:17:59 2020
InstallationDate: Installed on 2017-03-11 (1308 days ago)
InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Alpha amd64 (20170222)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2020-10-10 (0 days ago)
VarLogDistupgradeTermlog:
mtime.conffile..etc.update-manager.release-upgrades: 2020-04-02T08:44:51.029022
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1899272/+subscriptions
More information about the foundations-bugs
mailing list