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

Bug#318688: x11-common: conffile prompts for /etc/X11/Xsession* when replacing xfree86-common



On Sat, Sep 24, 2005 at 05:48:51PM -0400, David Nusinow wrote:
> On Sat, Jul 16, 2005 at 07:38:11PM -0700, Steve Langasek wrote:
> > Package: x11-common
> > Version: 6.8.2.dfsg.1-2
> > Severity: important

> > When installing x11-common on my existing sid system that had the latest
> > xfree86-common installed, I was presented with conffile prompts for
> > /etc/X11/Xsession and /etc/X11/Xsession.options even though I have never
> > edited them.  This is probably because dpkg doesn't know an md5sum for a
> > previous version of these conffiles *associated with the x11-common
> > package*, since they previously belonged to xfree86-common.  You will
> > probably need to detect unmodified versions of the xfree86-common
> > conffiles in x11-xorg's preinst, and remove them so that they're not in 
> > the way when dpkg goes to install the new conffiles.

> Looking through the info that dpkg stores, it doesn't appear to keep the
> md5sum of the conffiles.

It does; it stores this in /var/lib/dpkg/status.  It's just not queriable.

> Since I haven't stored the md5sum in the sarge packages, the only way to do
> this is to ship the xfree86-common conffile with the x11-common package.

No, you would only need to ship the *md5sum* of the old xfree86-common
conffile with the x11-common package, for comparison with the currently
installed version of the file.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: