I believe the problem is that nothing ensures that the desktop components which select and install software have access to a GUI debconf frontend.
I think the proper solution is for each of the frontends to aptdaemon to depend/recommend a suitable debconf frontend component (libgtk2-perl, libqtgui4-perl/libqtcore4-perl). For 17.04, this includes at least gnome-software and software- properties-gtk. ** Summary changed: - installing dkms package from software-center, no debconf frontend: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 + installing dkms package from gnome-software, no debconf frontend: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1679435 Title: installing dkms package from gnome-software, no debconf frontend: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 Status in gnome-software package in Ubuntu: Triaged Status in shim-signed package in Ubuntu: Invalid Bug description: i was installing stuff from the software center ProblemType: Package DistroRelease: Ubuntu 16.10 Package: shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 ProcVersionSignature: Ubuntu 4.8.0-45.48-generic 4.8.17 Uname: Linux 4.8.0-45-generic x86_64 ApportVersion: 2.20.3-0ubuntu8.2 Architecture: amd64 Date: Mon Apr 3 18:51:34 2017 DuplicateSignature: package:shim-signed:1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 Processing triggers for shim-signed (1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1) ... Running in non-interactive mode, doing nothing. dpkg: error processing package shim-signed (--configure): subprocess installed post-installation script returned error exit status 1 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2017-04-03 (0 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) RelatedPackageVersions: dpkg 1.18.10ubuntu1 apt 1.3.4 SourcePackage: shim-signed Title: package shim-signed 1.27~16.10.1+0.9+1474479173.6c180c6-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679435/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

