grub-installer fails, can't dpkg remove grub-pc

Bug #1632560 reported by Mark Reinhold
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
grub-installer (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

I was trying to install a recent Lubuntu 16.10 daily build on a new Thinkpad T460s. I preconfigured the disk using LVM. Not sure why it failed.

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: ubiquity 16.10.13
ProcVersionSignature: Ubuntu 4.8.0-21.23-generic 4.8.0
Uname: Linux 4.8.0-21-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CasperVersion: 1.379
Date: Tue Oct 11 21:00:38 2016
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash ---
LiveMediaBuild: Lubuntu 16.10 "Yakkety Yak" - Alpha amd64 (20161008)
ProcEnviron:
 TERM=unknown
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
 LC_NUMERIC=C.UTF-8
SourcePackage: grub-installer
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mark Reinhold (mreinhold) wrote :
Revision history for this message
Mark Reinhold (mreinhold) wrote :

The relevant syslog lines seem to be:

Oct 12 03:08:34 lubuntu grub-installer: info: Identified partition label for /dev/mapper/t460s-root: loop
Oct 12 03:08:34 lubuntu grub-installer: (Reading database ... 147800 files and directories currently installed.)
Oct 12 03:08:34 lubuntu grub-installer: Removing grub-gfxpayload-lists (0.7) ...
Oct 12 03:08:34 lubuntu grub-installer: Removing grub-pc (2.02~beta2-36ubuntu11) ...
Oct 12 03:08:34 lubuntu grub-installer: dpkg: error processing package grub-pc (--purge):
Oct 12 03:08:34 lubuntu grub-installer: subprocess installed pre-removal script returned error exit status 10
Oct 12 03:08:34 lubuntu grub-installer: dpkg: dependency problems prevent removal of grub-pc-bin:
Oct 12 03:08:34 lubuntu grub-installer: grub-pc depends on grub-pc-bin (= 2.02~beta2-36ubuntu11).
Oct 12 03:08:34 lubuntu grub-installer:
Oct 12 03:08:34 lubuntu grub-installer: dpkg: error processing package grub-pc-bin (--purge):
Oct 12 03:08:34 lubuntu grub-installer: dependency problems - not removing
Oct 12 03:08:34 lubuntu grub-installer: Processing triggers for man-db (2.7.5-1) ...
Oct 12 03:08:35 lubuntu grub-installer: Errors were encountered while processing:
Oct 12 03:08:35 lubuntu grub-installer: grub-pc
Oct 12 03:08:35 lubuntu grub-installer: grub-pc-bin

summary: - Installer crashed
+ grub-installer fails, can't dpkg remove grub-pc
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in grub-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Phillip Susi (psusi) wrote :

Are you able to reproduce this with the final release of yakkety?

Changed in grub-installer (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Hynek Suchy (suchyh) wrote :

I can confirm this bug.

I was trying to install Lubuntu 16.10 (32bit) on older HP Compaq nx7300 laptop.

Installation wasn't finished because of error in grub installer, it said something like:
grub-pc failed to install into /target/

I was installing from usb flash disk (made with rufus), first I suspected on faulty usb image,
so I've burned lubuntu 16.10. image on CD and booted from it.
Nevertheless installation failed the same way.

Installation of lubuntu 16.04 succeeded both from CD and usb flash disk.

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.