[Bug 1679784] Re: Changing from Xorg video driver to NVIDIA driver using Software & Updates does not display debconf prompt
Steve Langasek
steve.langasek at canonical.com
Thu Apr 27 19:02:44 UTC 2017
** Description changed:
+ [SRU Justification]
+ software-properties does not display debconf prompts. while most debconf prompts have default answers and this is fine, for installing dkms modules on a SecureBoot-capable system we specifically have a critical debconf prompt with no possible default answer that users need to step through in order for their dkms modules to be usable.
+
+ [Test case]
+ 1. sudo apt-add-repository ppa:vorlon/debconf-tests
+ 2. sudo apt update
+ 3. Launch Settings -> Software & Updates -> Additional Drivers
+ 4. Confirm that you are offered the option of using the 'noisy-fake-driver' package.
+ 5. Select this driver and apply changes.
+ 6. Confirm that no debconf prompt is shown, and the driver package fails to install.
+ 7. Enable -proposed.
+ 8. Run update-manager and verify that the new software-properties package is successfully installed from -proposed, pulling in libgtk2-perl in the process.
+ 9. Close Software & Updates and re-launch it.
+ 10. Select the 'noisy-fake-driver' package again.
+ 11. Confirm that you are shown a debconf prompt, and the driver package installs successfully.
+
I've encountered this repeatedly.
In the first installation -- on updating via Software Updater, this
crashed on upgrading the shim-signed package.
On suggestions from here:
I upgrade the system via CLI, i.e. dist-upgrade. This seemed to work,
however when I now try to swap the display driver, from xorg --> nvidia.
This now triggered the same issue.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: shim-signed 1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Tue Apr 4 18:21:32 2017
DuplicateSignature:
- package:shim-signed:1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
- Processing triggers for shim-signed (1.27~16.04.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
+ package:shim-signed:1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
+ Processing triggers for shim-signed (1.27~16.04.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-04 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
- dpkg 1.18.4ubuntu1.1
- apt 1.2.19
+ dpkg 1.18.4ubuntu1.1
+ apt 1.2.19
SourcePackage: shim-signed
Title: package shim-signed 1.27~16.04.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)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1679784
Title:
Changing from Xorg video driver to NVIDIA driver using Software &
Updates does not display debconf prompt
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Trusty:
Confirmed
Status in software-properties source package in Xenial:
Confirmed
Status in software-properties source package in Yakkety:
Fix Committed
Bug description:
[SRU Justification]
software-properties does not display debconf prompts. while most debconf prompts have default answers and this is fine, for installing dkms modules on a SecureBoot-capable system we specifically have a critical debconf prompt with no possible default answer that users need to step through in order for their dkms modules to be usable.
[Test case]
1. sudo apt-add-repository ppa:vorlon/debconf-tests
2. sudo apt update
3. Launch Settings -> Software & Updates -> Additional Drivers
4. Confirm that you are offered the option of using the 'noisy-fake-driver' package.
5. Select this driver and apply changes.
6. Confirm that no debconf prompt is shown, and the driver package fails to install.
7. Enable -proposed.
8. Run update-manager and verify that the new software-properties package is successfully installed from -proposed, pulling in libgtk2-perl in the process.
9. Close Software & Updates and re-launch it.
10. Select the 'noisy-fake-driver' package again.
11. Confirm that you are shown a debconf prompt, and the driver package installs successfully.
I've encountered this repeatedly.
In the first installation -- on updating via Software Updater, this
crashed on upgrading the shim-signed package.
On suggestions from here:
I upgrade the system via CLI, i.e. dist-upgrade. This seemed to work,
however when I now try to swap the display driver, from xorg -->
nvidia. This now triggered the same issue.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: shim-signed 1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-72.93-generic 4.4.49
Uname: Linux 4.4.0-72-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
Date: Tue Apr 4 18:21:32 2017
DuplicateSignature:
package:shim-signed:1.27~16.04.1+0.9+1474479173.6c180c6-1ubuntu1
Processing triggers for shim-signed (1.27~16.04.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-04 (0 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.1
apt 1.2.19
SourcePackage: shim-signed
Title: package shim-signed 1.27~16.04.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/software-properties/+bug/1679784/+subscriptions
More information about the foundations-bugs
mailing list