package grub-efi-amd64 or grub-pc failed to remove: exit status 5 - ucfr: Association belongs to grub-pc, not grub-efi-amd64 / ucfr: Aborting

Bug #540358 reported by Rémy
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Debian)
Fix Released
Unknown
grub2 (Ubuntu)
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: grub2

After upgrading from 9.10, I uninstalled this package with synaptics.

When both packages grub-pc and grub-efi-amd64 are installed, removal of one of them failed with the error:
ucfr: Association belongs to grub-pc, not grub-efi-amd64
ucfr: Aborting

or
ucfr: Association belongs to grub-efi-amd64, not grub-pc
ucfr: Aborting

ProblemType: Package
Architecture: amd64
Date: Wed Mar 17 17:32:35 2010
DistroRelease: Ubuntu 10.04
ErrorMessage: le sous-processus script post-removal installé a retourné une erreur de sortie d'état 5
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
NonfreeKernelModules: wl nvidia
Package: grub-efi-amd64 (not installed)
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: grub2
Title: package grub-efi-amd64 (not installed) failed to install/upgrade: le sous-processus script post-removal installé a retourné une erreur de sortie d'état 5
Uname: Linux 2.6.32-16-generic x86_64

Revision history for this message
Rémy (remy-saissy) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

The relevant error is
---
Purge des fichiers de configuration de grub-efi-amd64 ...
ucfr: Association belongs to grub-pc, not grub-efi-amd64
ucfr: Aborting
dpkg : erreur de traitement de grub-efi-amd64 (--purge) :
 le sous-processus script post-removal installé a retourné une erreur de sortie d'état 5

summary: - package grub-efi-amd64 (not installed) failed to install/upgrade: le
- sous-processus script post-removal installé a retourné une erreur de
- sortie d'état 5
+ package grub-efi-amd64 (not installed) failed to install/upgrade: exit
+ status 5 - ucfr: Association belongs to grub-pc, not grub-efi-amd64 /
+ ucfr: Aborting
summary: - package grub-efi-amd64 (not installed) failed to install/upgrade: exit
- status 5 - ucfr: Association belongs to grub-pc, not grub-efi-amd64 /
- ucfr: Aborting
+ package grub-efi-amd64 or grub-pc failed to remove: exit status 5 -
+ ucfr: Association belongs to grub-pc, not grub-efi-amd64 / ucfr:
+ Aborting
description: updated
Changed in grub2 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
importance: Low → Medium
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in Maverick:

grub2 (1.98+20100527-1) unstable; urgency=low
[...]
  * Don't fail on purge if the ucf association has already been taken over
    by a different grub package (closes: #574176).
[...]

 -- Colin Watson <email address hidden> Tue, 01 Jun 2010 11:24:38 +0100

Changed in grub2 (Ubuntu):
assignee: nobody → Colin Watson (cjwatson)
status: Triaged → Fix Released
Changed in grub2 (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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