[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#387286: Acknowledgement (postrm_hook is not run)

On Wed, 13 Sep 2006 15:11:11 +0200, Michael Biebl <biebl@teco.edu> said: 

> I have to add that I changed /etc/kernel-img.conf from
  ,----[ /etc/kernel-img.conf ]
  | ...
  | postinst_hook = /sbin/update-grub
  | postrm_hook   = /sbin/update-grub
> to
  ,----[ /etc/kernel-img.conf ]
  | ...
  | postinst_hook = update-grub
  | postrm_hook   = update-grub

> as promoted by NEWS.Debian, grub 0.97-14. If I use absolute paths
> again, the postrm hook is called, but the deinstallation fails:

        The grub NEWS file is wrong. This is user error: the postinst
 of the kernel image being removed was created by a kernel image which
 was not designed for hooks which did not use the full path; so it
 fails. Nothing can be done about this.

        This is hte reason I was promoting telling people to change
 from /sbin/update-grub => /usr/sbin/update-grub, so that older kernel
 images would not fall on their face. 

        Feel free to file a bug report on grub for giving advice that 
 caused your kernel image removal to break. I am closing this report.

        Sorry for the inconvenience.

The grand leap of the whale up the Fall of Niagara is esteemed, by all
who have seen it, as one of the finest spectacles in nature. --
Benjamin Franklin.
Manoj Srivastava   <srivasta@acm.org>  <http://www.datasync.com/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

Reply to: