Your message dated Fri, 24 Feb 2006 20:59:13 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#354243: Aptitude Overwrites /boot/grub/menu.lst without
ANY prompt
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject: Aptitude Overwrites /boot/grub/menu.lst without ANY prompt
Package: aptitude
When I did a recent "aptitude update && aptitude upgrade" I received the
prompt that I would have to reboot since kernel modules that were the
same version as my kernel were being updated. In this entire message
neither grub nor /boot/grub/menu.lst were mentioned. When I rebooted,
the system could not boot because update-grub had been run, totally
re-writing my menu.lst file.
For all other configuration files, especially files in /etc, Aptitude
prompts and asks if I want to update them or keep my current version.
There is no such prompt or warning for menu.lst. It is overwritten
without providing a choice of saving it, backing it up, or even
informing the user this is happening.
I consider rate this as a severe bug.
If it will take time to add the ability to back up the file, I would
suggest at least prompting the user, telling them it is about to be
overwritten and suggesting they back it up before overwriting it. The
ideal fix would be to provide the same prompt for menu.lst that is
provided for all other configuration files.
This occurred on a Sarge system, using the 2.6.8 kernel.
Hal Vaughan
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
> For all other configuration files, especially files in /etc, Aptitude
> prompts and asks if I want to update them or keep my current version.
> There is no such prompt or warning for menu.lst. It is overwritten
> without providing a choice of saving it, backing it up, or even
> informing the user this is happening.
>
> I consider rate this as a severe bug.
This has nothing to do with aptitude.
> If it will take time to add the ability to back up the file, I would
> suggest at least prompting the user, telling them it is about to be
> overwritten and suggesting they back it up before overwriting it. The
> ideal fix would be to provide the same prompt for menu.lst that is
> provided for all other configuration files.
update-grub is run because you asked for it. Please look in
/etc/kernel-img.conf, you'll probably find:
postinst_hook = /sbin/update-grub
postrm_hook = /sbin/update-grub
[EMAIL PROTECTED]:~# LC_ALL=C dpkg -S /etc/kernel-img.conf
dpkg: /etc/kernel-img.conf not found.
No package is responsible for setting kernel-img.conf....
--- End Message ---