[Bug 1792497] Re: package shim (not installed) failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2
Steve Langasek
steve.langasek at canonical.com
Tue Oct 16 16:14:52 UTC 2018
I see; the version of dpkg in trusty-updates does support control.tar.xz
(dpkg 1.17.5ubuntu5.8; LP: #1730627), but the version of dpkg in the
trusty release pocket does not. So testing on an up-to-date trusty
environment would not hit this bug.
This can be fixed by either a versioned pre-dependency on dpkg >=
1.17.5ubuntu5.8, or by changing the shim packaging to use gz compression
for control.tar instead of the current default xz.
Either solution requires a round-trip to Microsoft for binary signing,
since we must update the shim package. (Unless the reproducible binary
handling of shim is now so good that we can reuse the existing
signature?)
If we have to do a round-trip for shim signing, it may help as a short-
term workaround to add a pre-dependency on dpkg to the shim-signed
package. It's not guaranteed to give the correct ordering but it may be
sufficient to solve the problem for many users.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim 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:
Triaged
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