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

Radim 1692205 at bugs.launchpad.net
Sat May 20 10:38:36 UTC 2017


Public bug reported:

radim at sbasus2011r:~$ sudo apt -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
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
Errors were encountered while processing:
 grub-pc
E: Sub-process /usr/bin/dpkg returned an error code (1)

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
ApportVersion: 2.20.1-0ubuntu2.6
Architecture: amd64
Date: Sat May 20 12:28:02 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
InstallationDate: Installed on 2013-11-11 (1285 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=399d52c1-8d50-4bc4-ac01-60de3767d9b1 ro quiet splash
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt  1.2.20
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-14 (278 days ago)

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package package-from-proposed xenial

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

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

Bug description:
  radim at sbasus2011r:~$ sudo apt -f install
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  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
  Errors were encountered while processing:
   grub-pc
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  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
  ApportVersion: 2.20.1-0ubuntu2.6
  Architecture: amd64
  Date: Sat May 20 12:28:02 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
  InstallationDate: Installed on 2013-11-11 (1285 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-79-generic root=UUID=399d52c1-8d50-4bc4-ac01-60de3767d9b1 ro quiet splash
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.20
  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-14 (278 days ago)

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



More information about the foundations-bugs mailing list