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

Re: dpkg: File missing at postinst (Re: Bug#98419: Postgresql on sid (fwd))

Richard Braakman wrote:
  >On Wed, May 23, 2001 at 04:04:16PM +1000, Brian May wrote:
  >> One case I can think of where the config file may not get installed
  >> (AFAIK + IIRC, but not recently tested):
  >> 1. user manually deletes the file.
  >> 2. user installs latest version of package.
  >> 3. conffile within package has not changed since the last version user had
  >>    installed.
  >> 4. dpkg sees that the conffile has not changed, and does bother reinstalli
  >>    it.
  >... and this is exactly what would happen if you "remove all traces"
  >of the package by removing (but NOT purging) it and then deleting
  >the conffile.
Does dpkg not consider removal of a conffile to be a change?

  >Could that be the problem?  In that case it would be fixed by actually
  >purging the package.
  >(This could be a fairly generic problem -- since apt-get remove
  >doesn't purge, any sysadmin who "cleans up" the /etc directory will
  >get into this situation with a lot of packages.)

It sounds like a dpkg bug, then.  Is it?

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
     "But where shall wisdom be found? And where is the
      place of understanding? It cannot be gotten for gold,
      neither shall silver be weighed for the price thereof.
      Whence then cometh wisdom? and where is the place of
      understanding? ...Behold the fear of the Lord, that is
      wisdom; and to depart from evil is understanding."    
                                         Job 12,15,20,28

Reply to: