FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-17-2011, 06:50 AM
Tollef Fog Heen
 
Default "register" files in dpkg database programmatically?

]] Peter Samuelson

| - Treat the file as though it were shipped in the package directly.
| This means it is removed on package upgrade, as well as on package
| removal. This is very straightforward (append the filename to
| /var/lib/dpkg/info/{foo}.list), but perhaps not too useful.

This is useful for stuff like byte-compiled files, I think.

| - Do not remove the file on package upgrade, but do remove it when
| removing the package.

Not entirely sure what this would be useful for, but I haven't thought
much about it. Would only be useful for files which rarely change and
which are costly to regenerate or download. Maybe for data files such
as the flightgear terrain and planes somebody posted about the other
day?

| - Only remove the file on package purge. Call it the ucf use case.

This sounds very useful, I think.

Regards,
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87r55p4czi.fsf@qurzaw.varnish-software.com">http://lists.debian.org/87r55p4czi.fsf@qurzaw.varnish-software.com
 

Thread Tools




All times are GMT. The time now is 08:52 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org