[Bug 1832919] Re: installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
budgester
budgester at budgester.com
Fri Jun 21 13:11:17 UTC 2019
Get:1 http://ppa.launchpad.net/ansible/ansible/ubuntu bionic/main amd64 ansible all 2.8.1-1ppa~bionic [5,140 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libssl-dev amd64 1.1.1-1ubuntu2.1~18.04.4 [1,566 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 libssl1.1 amd64 1.1.1-1ubuntu2.1~18.04.4 [1,300 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-markupsafe amd64 1.0-1build1 [13.0 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-jinja2 all 2.10-1ubuntu0.18.04.1 [94.8 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-yaml amd64 3.12-1build2 [115 kB]
Get:7 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-asn1crypto all 0.24.0-1 [72.7 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-cffi-backend amd64 1.11.5-1 [63.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-enum34 all 1.1.6-2 [34.8 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-idna all 2.6-1 [32.4 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-ipaddress all 1.0.17-1 [18.2 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-six all 1.11.0-2 [11.3 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-cryptography amd64 2.1.4-1ubuntu1.3 [221 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pyasn1 all 0.4.2-3 [46.7 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-paramiko all 2.0.0-1ubuntu1.2 [110 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 python-httplib2 all 0.9.2+dfsg-1ubuntu0.1 [34.7 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-pkg-resources all 39.0.1-2 [128 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/main amd64 python-setuptools all 39.0.1-2 [329 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/universe amd64 sshpass amd64 1.06-1 [10.5 kB]
Fetched 9,342 kB in 5s (1,812 kB/s)
Preconfiguring packages ...
(Reading database ... 42089 files and directories currently installed.)
Preparing to unpack .../00-libssl-dev_1.1.1-1ubuntu2.1~18.04.4_amd64.deb ...
Unpacking libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.4) over (1.1.0g-2ubuntu4.3) ...
Preparing to unpack .../01-libssl1.1_1.1.1-1ubuntu2.1~18.04.4_amd64.deb ...
Unpacking libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.4) over (1.1.0g-2ubuntu4.3) ...
.
.
Setting up libssl1.1:amd64 (1.1.1-1ubuntu2.1~18.04.4) ...
Checking for services that may need to be restarted...done.
Checking for services that may need to be restarted...done.
Checking init scripts...
Restarting services possibly affected by the upgrade:
Services restarted successfully.
Setting up python-enum34 (1.1.6-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Setting up python-ipaddress (1.0.17-1) ...
Setting up python-setuptools (39.0.1-2) ...
Setting up python-jinja2 (2.10-1ubuntu0.18.04.1) ...
Setting up libssl-dev:amd64 (1.1.1-1ubuntu2.1~18.04.4) ...
Fix confirmed.
(Ubuntu Bionic):
tags: verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/1832919
Title:
installed libssl1.1:amd64 package post-installation script subprocess
returned error exit status 10
Status in openssl package in Ubuntu:
Fix Released
Status in openssl source package in Bionic:
Fix Committed
Status in openssl source package in Cosmic:
Fix Committed
Status in openssl source package in Disco:
Fix Committed
Status in openssl source package in Eoan:
Fix Released
Bug description:
[Impact]
* Systems that have in error removed debconf database fail to upgrade
libssl1.1 (as e.g. is known to be done in some vagrant boxes)
* libssl1.1 tries to use debconf template from libc6 package, but
doesn't ship one by itself as it should for shared templates. As it is
not guaranteed that template will be available.
[TestCase]
# DO NOT DO THIS ON PRODUCTION MACHINES #
# echo PURGE | debconf-communicate libpam0g:amd64
0
# echo PURGE | debconf-communicate libpam0g
0
# echo PURGE | debconf-communicate libc6:amd64
0
# echo PURGE | debconf-communicate libc6
0
Then upgrade from bionic-release to the -proposed package and it
should work.
It should not fail with exit code 10.
[Regression Potential]
* A new template is added, an identical import from glibc without any
further changes. This registers the template in debconf, for this
package, preventing the above describe error. This has no codechanges,
only metadata.
[Other Info]
* Original bug report
The error happens when trying to configure libssl1.1:amd64 (dpkg
--configure -D 20000 libssl1.1)
dpkg: error processing package libssl1.1:amd64 (--configure):
installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
D020000: post_script_tasks - ensure_diversions
D020000: post_script_tasks - trig_incorporate
D020000: check_triggers_cycle pnow=libc-bin:amd64 first
Processing triggers for libc-bin (2.27-3ubuntu1) ...
D020000: post_postinst_tasks - trig_incorporate
Errors were encountered while processing:
libssl1.1:amd64
[ WORKAROUND TO RECOVER YOUR SYSTEM ]
$ sudo dpkg-reconfigure libc6
$ sudo dpkg --configure libssl1.1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1832919/+subscriptions
More information about the foundations-bugs
mailing list