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

Re: PROPOSAL: Extrafiles (was Re: Conffiles...)



On 15 Apr 1998, Manoj Srivastava wrote:

> Hi,
> >>"Ian" == Ian Jackson <ian@chiark.greenend.org.uk> writes:
> 
> Ian> Should dpkg --purge automatically remove such files, as it does
> Ian> for conffiles ?  I think not.
> 
> 	No, since in some cases these files have not been put into the
>  pkg.list file just to keep dpkg's grubby little fingers off them
>  ;-). The extra files that I am aware of have already put in a system
>  to manage themselves, and do not need dpkg's help [if they do need
>  dpkg's help they should be listed in the package. Also, this way dpkg
>  does not have to keep track of link count.
> 
> 	manoj
>  Hmmm. Maybe later, there could be a usitlity that cleans up thse
>  files if requested by looking for the link count.
[snip]

I agree that the extra files should *not* be purged automatically.
However, dpkg should not forget about them. If `extra-files' would be a
plain control file, I guess dpkg would remove this file when the package
is purged. Therefore, dpkg would have to treat the extra-files control
file as special case--or maintain a seperate `database' where packages can
register extra files through some procedure (maybe, some `dpkg-extra'
command?)


Thanks,

Chris

--          _,,     Christian Schwarz
           / o \__   schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
           !   ___;   schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
           \  /        
  \\\______/  !        PGP-fp: 8F 61 EB 6D CF 23 CA D7  34 05 14 5C C8 DC 22 BA
   \          /         http://fatman.mathematik.tu-muenchen.de/~schwarz/
-.-.,---,-,-..---,-,-.,----.-.-
  "DIE ENTE BLEIBT DRAUSSEN!"


--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: