Bug#493389: update-grub: uses wrong ordering algorithm (sorts 1.2.3-foo before 1.2.3.1-foo)
Felix Zielcke
fzielcke at z-51.de
Tue Aug 5 19:40:44 UTC 2008
Am Dienstag, den 05.08.2008, 00:48 -0300 schrieb Henrique de Moraes
Holschuh:
> On Mon, 04 Aug 2008, Robert Millan wrote:
> > > Why would you want something in /sbin to call something in /usr/s?bin ?
> > >
> > > You need to port the algorithm.
> >
> > update-grub is in /usr.
>
> Crap. I just noticed it is just a wrapper. Why the heck is it not a
> symlink, which we would notice at first glance? That excessive hand-holding
> script you guys have is actually WORSE a solution, chances are someone isn't
> going to notice it until it is too late, NEWS.Debian or not. It is too easy
> to forget about it after a while, when there is still an executable with the
> right name in /sbin.
The grub2 packages have only one update-grub the one in /usr/sbin
Ok and a update-grub2 which exec's update-grub but it's in /usr/sbin
too.
> If I have some time, I will prepare the patch. But please don't wait on me
> for it, if someone else has the time to prepare the patch, please do so.
That's very kind of you, I looked shortly at the comparison code and
couldn't figure out how to change it so it uses the dpkg code for it :)
Luckly grub2's update-grub uses now the comparison code of grub-legacy
so it's not that hard to apply it then to both.
More information about the Pkg-grub-devel
mailing list