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

Re: Replaces: and pre/post rm



On Wed, Jun 13, 2001 at 10:27:21AM -0400, Richard A Nelson wrote:
> 
> Until the crypto in main stuff settles down, I'm setting up sendmail to
> build either SSL or non-SSL...  All that works fine...
> 
> The problem comes when the user replaces the non-ssl with the ssl
> version (or visa versa):  the postrm script on the replaced version
> is apparently called with the PURGE option.

Are you sure?  As far as I can tell, the purge option should only be
used by dpkg when all of the conffiles are removed as well.  If you
are overwriting all of the files in the non-ssl package, then the
postrm should be called with the 'disappear' argument instead.  This
may be something to bring up on debian-dpkg@lists.debian.org.

   Julian

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

         Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
       Debian GNU/Linux Developer,  see http://people.debian.org/~jdg
  Donate free food to the world's hungry: see http://www.thehungersite.com/



Reply to: