[Bug 1692215] Re: package grub-pc 2.02~beta2-36ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Jerry Bezencon valtam at protonmail.com
Sat May 20 14:15:11 UTC 2017


Confirmed here. Looks like the postinst file has an extra 'fi' at line
703 of that file.

Ubuntu 16.04.2 base
grub-pc_2.02~beta2-36ubuntu3.10_amd64.deb package

Setting up grub-common (2.02~beta2-36ubuntu3.10) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Setting up grub2-common (2.02~beta2-36ubuntu3.10) ...
Setting up grub-pc-bin (2.02~beta2-36ubuntu3.10) ...
Setting up grub-pc (2.02~beta2-36ubuntu3.10) ...
/var/lib/dpkg/info/grub-pc.postinst: line 703: syntax error near unexpected token `fi'
dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 2
Setting up libssl-doc (1.0.2g-1ubuntu4.8) ...
Setting up libssl1.0.0:amd64 (1.0.2g-1ubuntu4.8) ...
Setting up libssl1.0.0:i386 (1.0.2g-1ubuntu4.8) ...
Setting up libssl-dev:amd64 (1.0.2g-1ubuntu4.8) ...
Setting up openssl (1.0.2g-1ubuntu4.8) ...
Setting up libxfont1:amd64 (1:1.5.1-1ubuntu0.16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu7) ...
/sbin/ldconfig.real: /usr/lib/nvidia-375/libEGL.so.1 is not a symbolic link

/sbin/ldconfig.real: /usr/lib32/nvidia-375/libEGL.so.1 is not a symbolic
link

Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1692215

Title:
  package grub-pc 2.02~beta2-36ubuntu3.10 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 2

Status in grub2 package in Ubuntu:
  Confirmed

Bug description:
  On Ubuntu 16.04LTS. Automatic package updater indicated grub2 needed
  updating. When it finished it said there was a problem and asked if I
  wanted to report it. After clicking 'Report it' no further action was
  taken at that time.  I have just rebooted, and the 'there was a
  problem' dialog box reappear, this time clicking 'Report it' elicited
  a password prompt and eventual display of this page.

  My system appears, on the surface, to be working correctly at the
  moment, but I have not done much since the reboot.

  Bug report #1692175 sounds similar but is for the efi version of grub.

  Additional details:
  $ lsb_release -rd
  Description:	Ubuntu 16.04.2 LTS
  Release:	16.04
  $ apt-cache policy grub2
  grub2:
    Installed: (none)
    Candidate: 2.02~beta2-36ubuntu3.10
    Version table:
       2.02~beta2-36ubuntu3.10 500
          500 http://gb.archive.ubuntu.com/ubuntu xenial-proposed/universe amd64 Packages
       2.02~beta2-36ubuntu3.9 500
          500 http://gb.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages
       2.02~beta2-36ubuntu3 500
          500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: grub-pc 2.02~beta2-36ubuntu3.10
  ProcVersionSignature: Ubuntu 4.4.0-79.100-generic 4.4.67
  Uname: Linux 4.4.0-79-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.6
  Architecture: amd64
  Date: Sat May 20 12:10:23 2017
  DuplicateSignature:
   package:grub-pc:2.02~beta2-36ubuntu3.10
   Setting up grub-pc (2.02~beta2-36ubuntu3.10) ...
   /var/lib/dpkg/info/grub-pc.postinst: line 703: syntax error near unexpected token `fi'
   dpkg: error processing package grub-pc (--configure):
    subprocess installed post-installation script returned error exit status 2
  ErrorMessage: subprocess installed post-installation script returned error exit status 2
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=8d5fb140-93f5-40ce-9e58-1d9abb865022 ro net.ifnames=0 biosdevname=0
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.21
  SourcePackage: grub2
  Title: package grub-pc 2.02~beta2-36ubuntu3.10 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
  UpgradeStatus: Upgraded to xenial on 2016-08-03 (290 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1692215/+subscriptions



More information about the foundations-bugs mailing list