[Bug 1792497] Re: package shim (not installed) failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2
Kevin O'Grman
1792497 at bugs.launchpad.net
Thu Oct 25 20:08:05 UTC 2018
Hi, we encountered this error during installations of the SecureDrop
application, which uses Ubuntu 14.0.4.5 for its server-side OS. We put
out an advisory which you can find here: https://securedrop.org/news
/advisory-server-installation-failure-uefi-boot-mode/ -but basically
we're seeing the same error as described above.
I just tried an install using the new shim-signed package as follows:
1) installed Ubuntu 14.04.5 to servers
2) updated /etc/apt/sources.list to include the trusty-proposed repository
3) ran sudo apt-get update
Then I proceeded with the SecureDrop install, which failed at the same
task and with the same error as before:
---
fatal: [app]: FAILED! => {"cache_update_time": 1540315459, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'securedrop-keyring'' failed: E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).\n", "rc": 100, "stderr": "E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).\n", "stderr_lines": ["E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nYou might want to run 'apt-get -f install' to correct these:\nThe following packages have unmet dependencies:\n shim-signed : Depends: shim (= 13-0ubuntu2) but it is not going to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "You might want to run 'apt-get -f install' to correct these:", "The following packages have unmet dependencies:", " shim-signed : Depends: shim (= 13-0ubuntu2) but it is not going to be installed"]}
---
This is Ansible output - the actual apt-get command that failed is:
apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options
::=--force-confold" install 'securedrop-keyring'
I also tried installing shim-signed directly on the server with the command:
sudo apt-get install shinm-signed/trusty-proposed
This failed with a similar error about the shim package being an unmet
dependency.
Unless I'm setting up the -proposed repo incorrectly, I don't believe
adding dpkg as a predependency fixes this bug.
** Tags removed: verification-needed-trusty
** Tags added: verification-failed-trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1792497
Title:
package shim (not installed) failed to install/upgrade: subprocess
dpkg-deb --control returned error exit status 2
Status in shim package in Ubuntu:
Fix Released
Status in shim-signed package in Ubuntu:
Fix Released
Status in shim source package in Trusty:
Triaged
Status in shim-signed source package in Trusty:
Fix Committed
Bug description:
This happened just after installing ubuntu 14.04.5 LTS along side with windows 10.
The installation was complete and no login loop issue was there.
Moreover , the system stated an error due to shim not being installed.
The two screen monitor is not working and the other monitor is black..
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: shim (not installed)
ProcVersionSignature: Ubuntu 4.4.0-135.161~14.04.1-generic 4.4.140
Uname: Linux 4.4.0-135-generic x86_64
.proc.sys.kernel.moksbstate.disabled: 0
ApportVersion: 2.14.1-0ubuntu3.21
Architecture: amd64
BootEFIContents:
grub.cfg
grubx64.efi
mmx64.efi
shimx64.efi
Date: Fri Sep 14 11:30:55 2018
EFITables:
Sep 14 11:32:42 plp-ROS kernel: [ 0.000000] efi: EFI v2.50 by American Megatrends
Sep 14 11:32:42 plp-ROS kernel: [ 0.000000] efi: ACPI 2.0=0x8ea21000 ACPI=0x8ea21000 SMBIOS=0x8f644000 SMBIOS 3.0=0x8f643000 ESRT=0x8a498698
Sep 14 11:32:42 plp-ROS kernel: [ 0.000000] esrt: Reserving ESRT space from 0x000000008a498698 to 0x000000008a4986f8.
ErrorMessage: subprocess dpkg-deb --control returned error exit status 2
InstallationDate: Installed on 2018-09-14 (0 days ago)
InstallationMedia: Ubuntu 14.04.5 LTS "Trusty Tahr" - Release amd64 (20160803)
RelatedPackageVersions:
dpkg 1.17.5ubuntu5.7
apt 1.0.1ubuntu2.14
SecureBoot: 6 0 0 0 0
SourcePackage: shim
Title: package shim (not installed) failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim/+bug/1792497/+subscriptions
More information about the foundations-bugs
mailing list