On 28/12/2005 at 20:14 +0100, Kiko Piris wrote:

> | # dpkg -P linux-image-2.6.14.3
> | (Reading database ... 42181 files and directories currently installed.)
> | Removing linux-image-2.6.14.3 ...
> | Purging configuration files for linux-image-2.6.14.3 ...
> [... deleted some update-grub output on stderr; yes, stderr, not stdout ...]

This is not true. I call my own /usr/local/sbin/update-grub that calls
/sbin/update-grub and does some things of mine.

My script writes it's output to stderr, it seems that /sbin/update-grub
does not.

Because changing

/sbin/update-grub

to

/sbin/update-grub >&2

in my script "fixed" the problem. I can purge linux-image-2.6.14.3
without any problem.

Sorry for the noise :-[

> | dpkg: error processing linux-image-2.6.14.3 (--purge):
> |  subprocess post-removal script returned error exit status 128
> | Errors were encountered while processing:
> |  linux-image-2.6.14.3

-- 
Kiko
Private mail is preferred encrypted:
http://www.pirispons.net/pgpkey.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to