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

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

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:

--------------- snip ------------------
[root]~ > apt-get --purge remove apt-localepurge
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
0 packages upgraded, 0 newly installed, 1 to remove and 421  not upgraded.
Need to get 0B of archives. After unpacking 26.6kB will be freed.
Do you want to continue? [Y/n]
(Reading database ... 78957 files and directories currently installed.)
Removing apt-localepurge ...
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?

                                   Thanks, P. *8^)
   ------------ Paul Seelig <pseelig@mail.uni-mainz.de> -------------
   African Music Archive - Institute for Ethnology and Africa Studies
   Johannes Gutenberg-University   -  Forum 6  -  55099 Mainz/Germany
   ------------------- http://ntama.uni-mainz.de --------------------

Reply to: