installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openssl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Won't Fix
|
Undecided
|
Unassigned | ||
Disco |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned |
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_
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
summary: |
installed libssl1.1:amd64 package post-installation script subprocess - returned error exit status + returned error exit status 10 |
description: | updated |
description: | updated |
description: | updated |
Changed in openssl (Ubuntu): | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in openssl (Ubuntu Eoan): | |
status: | Confirmed → Fix Committed |
Changed in openssl (Ubuntu Disco): | |
status: | Confirmed → In Progress |
Changed in openssl (Ubuntu Cosmic): | |
status: | Confirmed → In Progress |
Changed in openssl (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
tags: |
added: verification-done-bionic removed: verification-needed-bionic |
Changed in openssl (Ubuntu Cosmic): | |
status: | Fix Committed → Won't Fix |
tags: | removed: libssl1.1 verification-done |
Version 1.1.1-1ubuntu2. 1~18.04. 2