Bug#547714: Upgrade process from grub-legacy to grub-pc is unclear

Felix Zielcke fzielcke at z-51.de
Tue Sep 22 07:46:52 UTC 2009


Am Montag, den 21.09.2009, 22:16 +0200 schrieb Matthijs Kooijman:
> Hi Felix,

> > No, It's just the `grub' package which was first a dummy one depending
> > on `grub-legacy' with the debconf note that warned about that and then
> > it changed to depend on `grub-pc'.
> Ah, just a Replaces: dependency is not enough for apt to replace grub-legacy
> with grub-pc on its own, but it only allows it to know to remove grub-legacy
> when installing grub-pc for another reason (e.g., the dependency of the grub
> package). So, removing grub and grub-pc and reinstalling grub-legacy should
> get grub-legacy back. Probably also something to note in README.Debian.
> 

Ah seems like it was too late for me yesterday.
the Replaces/Conflicts in grub-pc, only tell dpkg/apt that they're
allowed to automatically remove grub-legacy when installing it.
Though it seems aptitude honours it the other way too, If you want to
install grub-legacy it marks grub-pc automatically for removing.

http://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces


-- 
Felix Zielcke
Proud Debian Maintainer






More information about the Pkg-grub-devel mailing list