Bug#467620: desktop-base: Please consider not failing to install when update-grub2 fails
Package: desktop-base
Version: 4.0.7
Severity: wishlist
Hi,
I recently installed grub2 to see whether it would work out of the box
(so that I could replace yaboot on my powerpc), and upgrading
desktop-base fails with:
| Des erreurs ont été rencontrées pendant l'exécution :
| desktop-base
| E: Sub-process /usr/bin/dpkg returned an error code (1)
| Échec de l'installation d'un paquet. Tentative de réparation :
| Paramétrage de desktop-base (4.0.7) ...
| grub-probe: error: /boot/grub/device.map:1: Bad device name
| dpkg : erreur de traitement de desktop-base (--configure) :
| le sous-processus post-installation script a retourné une erreur de sortie d'état 1
| Des erreurs ont été rencontrées pendant l'exécution :
| desktop-base
(Sorry for LANG=fr_FR, but you get the idea…)
Note that grub2 doesn't replace yaboot out of the box, and it fails this
way:
| kibi@evy:~$ sudo update-grub2
| grub-probe: error: /boot/grub/device.map:1: Bad device name
What about using an “or” part to the update-grub2 call?
Cheers,
--
Cyril Brulebois
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.25-rc2-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages desktop-base depends on:
ii librsvg2-common 2.18.2-1 SAX-based renderer library for SVG
desktop-base recommends no packages.
-- no debconf information
Reply to: