** Description changed:

+ [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
- 
- [ Reproducer steps ]
- 
- # 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
- # sh -x /var/lib/dpkg/info/libssl1.1\:amd64.postinst configure 1.1.1
- + . /usr/share/debconf/confmodule
- + [ !  ]
- + PERL_DL_NONLAZY=1
- + export PERL_DL_NONLAZY
- + [  ]
- + exec /usr/share/debconf/frontend 
/var/lib/dpkg/info/libssl1.1:amd64.postinst configure 1.1.1
- Checking for services that may need to be restarted...done.
- Checking for services that may need to be restarted...done.
- Checking init scripts...
- 
- # echo $?
- 10

** 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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1832919

Title:
  installed libssl1.1:amd64 package post-installation script subprocess
  returned error exit status 10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1832919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to