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

Re: dpkg conffiles weirdness



On Wed, Jun 07, 2000 at 12:54:02AM +0200, Ingo Saitz wrote:
> MoiN
> 
> On Tue, Jun 06, 2000 at 11:25:43PM +0100, Julian Gilbey wrote:
> > I tried reinstating the old xterm conffile and reinstalling version
> > 3.3.6-7, but now the conffile wasn't touched.  I then tried deleting
> > the conffile and reinstalling; no conffile was installed at all this
> > time.  Purging and reinstalling reinstalled the conffile, but nothing
> > less would do so.
> 
> dpkg keeps track of the original conffiles from the package. It
> stores the md5 checksum of the package's conffiles. Only if the
> md5sum changes dpkg tries to install the new configuration file
> by checking the old md5 checksum against the one of the installed
> file. dpkg then installs the new config file (on user request
> with an additional .dpkg-new) and updates the internal checksum.

Duh!  I forgot I'd never tweaked the file myself!

(Runs into a corner in embarrassment.)

   Julian

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  Julian Gilbey, Dept of Maths, QMW, Univ. of London. J.D.Gilbey@qmw.ac.uk
        Debian GNU/Linux Developer,  see http://www.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: