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

Re: [RFD]: Question regarding actions to take on --purge of a package.



On 2 Feb 2000, Brian May wrote:

> dpkg --purge dhcpd-beta
> 
> of course!
> 
> WRONG! When purging dhcpd-beta, it automatically deletes
> /var/lib/dhcpd, hence breaking the copy og dhcpd that was previously
> installed.

Ok, lets apply this to apache again.

What if another pkg installs files into /var/{log,lib}/apache, or,
/etc/apache?  Apache's postinst does an rm -rf on those dirs, and this will
wipe out the files owned by the other pkg.  libapache-mod-jserv stored data
into /etc/apache, however, this pkg has since be renamed to jserv, and stores
its config in /etc/jserv.  But there could be other cases of this as well.

Would this be a bug on apache?  Or a bug on policy?  This needs to be
clarified.

----BEGIN GEEK CODE BLOCK----
Version: 3.12
GCS d- s: a-- c+++ UL++++ P+ L++++ !E W+ M o+ K- W--- !O M- !V PS--
PE++ Y+ PGP++ t* 5++ X+ tv b+ D++ G e h*! !r z?
-----END GEEK CODE BLOCK-----
----BEGIN PGP INFO----
Adam Heath <doogie@debian.org>        Finger Print | KeyID
67 01 42 93 CA 37 FB 1E    63 C9 80 1D 08 CF 84 0A | DE656B05 PGP
AD46 C888 F587 F8A3 A6DA  3261 8A2C 7DC2 8BD4 A489 | 8BD4A489 GPG
-----END PGP INFO-----


Reply to: