[Bug 1832919] Re: installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu Jun 20 20:40:55 UTC 2019
downgraded bionic lxd container to bionic release / security packages only.
installing libssl1.1 from -updates fails with:
dpkg: error processing package libssl1.1:amd64 (--configure):
installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Errors were encountered while processing:
libssl1.1:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
Upgrading back to libssl1.1 from bionic-updates fails.
Upgrading from bionic-security to the CI train ppa succeeds.
--
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 Committed
Status in openssl source package in Bionic:
Fix Committed
Status in openssl source package in Cosmic:
In Progress
Status in openssl source package in Disco:
In Progress
Status in openssl source package in Eoan:
Fix Committed
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