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

Re: debconf failing with perl_5.6.1 [was: Re: Installation of perl-base_5.6.1-2 fails]



mdz@debian.org (Matt Zimmerman) writes:

> On Mon, May 28, 2001 at 12:02:37PM +0200, Paul Seelig wrote:
> 
> > Unpacking apt-listchanges (from .../apt-listchanges_1.49_all.deb) ...
> > dpkg: error processing /var/cache/apt/archives/apt-listchanges_1.49_all.deb (--unpack):
> >  trying to overwrite directory `/usr/share/locale/gl' in package mutt with nondirectory
> 
> That's weird.  /usr/share/locale/gl in apt-listchanges 1.49 is a directory,
> as it should be:
> 
> drwxr-xr-x root/root         0 2001-05-23 16:53:41 ./usr/share/locale/gl/
> 
> I wonder why dpkg is giving that error.
> 
Maybe because it doesn't already exist?  But then again it should be
no problem if a directory doesn't exist because it should be created
by unpacking the .deb in it's place anyway, right?

I use a utility named "apt-localepurge" to remove all superfluous
locales from my systems after each package installation:

---------------- snip --------------------
Package: apt-localepurge
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 26
Maintainer: Paul Seelig <pseelig@debian.org>
Version: 0.0.6
Conffiles:
 /etc/locale.nopurge 6c44fa3d082fd37b48b6e4d86e1357c5
Description: Automagically removing unnecessary locale files
 This is just a simple script to recover diskspace wasted for unneeded
 locale files. It will automagically be invoked upon completion of any
 apt installation run.  It uses the dpkg "Post-Invoke" function to
 execute the script "/usr/sbin/apt-localepurge", which automagically
 deletes the directory of every single locale *not* defined in
 "/etc/locale.nopurge". Unless configured, the system's locale directories
 won't be touched at all.  Any other directory in /usr/share/locale or
 /usr/X11R6/share/locale not containing a subdirectory named LC_MESSAGES
 will be discreetly ignored.
---------------- snip --------------------

I use this since weeks/months now and up until recently i never had
any problems "overwriting nondirectories" when installing packages.

                                   Cheers, 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: