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

Bug #1743733 reported by Alaa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The PC has issues installing grub2. I was installing bioperl and biomart on the system and was following the installation steps. Looks like while I was installing, it broke something in the system and everytime I try to upgrade the packages, I get the grub2 installation issue as it cannot install:

dpkg: error processing package grub-pc (--configure):
 subprocess installed post-installation script returned error exit status 10
Setting up postgresql-common (173ubuntu0.1) ...
dpkg: error processing package postgresql-common (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of postgresql-9.5:
 postgresql-9.5 depends on postgresql-common (>= 142~); however:
  Package postgresql-common is not configured yet.

dpkg: error processing package postgresql-9.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql:
 postgresql depends on postgresql-9.5; however:
  Package postgresql-9.5 is not configured yet.

dpkg: error processing package postgresql (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
      No apport report written because MaxReports is reached already
                                                                    No apport report written because MaxReports is reached already
                              dpkg: dependency problems prevent configuration of postgresql-contrib-9.5:
 postgresql-contrib-9.5 depends on postgresql-9.5 (= 9.5.10-0ubuntu0.16.04); however:
  Package postgresql-9.5 is not configured yet.

dpkg: error processing package postgresql-contrib-9.5 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of postgresql-contrib:
 postgresql-contrib depends on postgresql-contrib-9.5; however:
  Package postgresql-contrib-9.5 is not configured yet.

dpkg: error processing package postgresql-contrib (--configure):
 dependency problems - leaving unconfigured
Setting up sysstat (11.2.0-1ubuntu0.2) ...
No apport report written because MaxReports is reached already
                                                              dpkg: error processing package sysstat (--configure):
 subprocess installed post-installation script returned error exit status 10
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 grub-pc
 postgresql-common
 postgresql-9.5
 postgresql
 postgresql-contrib-9.5
 postgresql-contrib
 sysstat
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: grub-pc 2.02~beta2-36ubuntu3.15
ProcVersionSignature: Ubuntu 4.13.0-26.29~16.04.2-generic 4.13.13
Uname: Linux 4.13.0-26-generic x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Fri Jan 12 08:38:15 2018
DuplicateSignature:
 package:grub-pc:2.02~beta2-36ubuntu3.15
 Setting up grub-pc (2.02~beta2-36ubuntu3.15) ...
 dpkg: error processing package grub-pc (--configure):
  subprocess installed post-installation script returned error exit status 10
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationDate: Installed on 2017-10-19 (89 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
InvalidGrubScript: /etc/default/grub
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-26-generic root=UUID=dd402340-c328-4ac5-8468-59e87c2635a4 ro
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.3
 apt 1.2.24
SourcePackage: grub2
Title: package grub-pc 2.02~beta2-36ubuntu3.15 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alaa (lon-raizeki) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.