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

Re: [RFC] apt-localepurge - automagically removing unnecessary locale files



On Wed, Mar 28, 2001 at 02:44:42AM +0200, Paul Seelig wrote:

> There is still at least one thing that really bothers me. When i
> remove/purge the "apt-localepurge" package i'm confronted with
> following nasty error message:
> [...]
> Purging configuration files for apt-localepurge ...
> sh: /usr/sbin/apt-localepurge: No such file or directory
> E: Problem executing scripts DPkg::Post-Invoke '/usr/sbin/apt-localepurge'
> E: Sub-process returned an error code
> [root]~ >
> --------------- snip ------------------
> 
> Ugly, ugly, UGLY, isn't it?
> 
> Unfortunately, since "apt-localepurge" is so closely involved with the
> packaging system it is invoked itself after it's removal from the
> system, resulting in this ugly but harmless error message.  How can i
> gracefully prevent it from occurring?

Look at /etc/apt/apt.conf.d/70debconf for an example.

-- 
 - mdz



Reply to: