Bug#443065: locales: Prompts to replace locale.alias on upgrade
On Fri, Nov 16, 2007 at 10:13:14PM +0100, Aurelien Jarno wrote:
> Mark Brown a écrit :
> > On Fri, Nov 16, 2007 at 04:20:12PM +0100, Aurelien Jarno wrote:
> >> reassign 443065 locales
> >> tag 443065 + wontfix
> >> thanks
> >
> > Is this not going to bite pretty much all users upgrading from etch?
> >
>
> I have no idea how to remove the dpkg prompt so we have to live with it.
> This file is not present in etch and I don't really known from where it
> comes, so it is not really easy to compare the current version to something.
I was just hit by this in an Etch->Lenny upgrade, and it's quite annoying
as it's clear I never modified /etc/locale.alias myself.
The system was earlier upgraded from Sarge to Etch, and my version of
the file is in locales_2.3.2.ds1-22sarge6_all.deb, still available on
the Debian FTP servers. The md5sum is
bb5e3f18c56ca04addc8f62e43a38a1d /etc/locale.alias.dpkg-old
I think having the preinst just remove /etc/locale.alias if its md5sum
matches the above sarge version should work.
The wiki page at http://www.dpkg.org/dpkg/ConffileHandling might give
some more ideas.
--
Niko Tyni ntyni@debian.org
Reply to: