[Bug 1792497] Re: package shim (not installed) failed to install/upgrade: subprocess dpkg-deb --control returned error exit status 2

Robie Basak 1792497 at bugs.launchpad.net
Tue Oct 16 15:40:04 UTC 2018


The logs here are missing, but I think the likely cause is this:

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  shim
The following NEW packages will be installed
  shim
0 to upgrade, 1 to newly install, 0 to remove and 207 not to upgrade.
3 not fully installed or removed.
Need to get 0 B/440 kB of archives.
After this operation, 2,448 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg-deb: error: archive '/var/cache/apt/archives/shim_13-0ubuntu2_amd64.deb' has premature member 'control.tar.xz' before 'control.tar.gz', giving up
dpkg: error processing archive /var/cache/apt/archives/shim_13-0ubuntu2_amd64.deb (--unpack):
 subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/shim_13-0ubuntu2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I can't be certain that this is exactly what the reporter hit, but it
seems likely enough to me that I think it's safe to assume it for now.

Thanks to sam_w on IRC for providing this and finding this bug.

** Tags added: regression-update

** Changed in: shim (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: shim (Ubuntu)
   Importance: Undecided => Critical

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