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

Re: Silly Packaging Problem

sean finney wrote:

On Thu, Aug 10, 2006 at 11:01:30AM +0100, martin f krafft wrote:
No, at least not for /etc. You could install the file, the overwrite
it, but files installed to /etc by dpkg are conffiles and those must
not be touched programmatically, according to policy.

i think a better solution (and one that has been proposed in the past)
would be to have a way of providing dpkg with information about such
dynamically created files.  this would also be helpful for stuff like

a fairly straightforward (says he who has not looked at dpkg's source)
would be to provide a new file in the control section of the deb
which contained a series of globs which could be used to match such
files.  then, if a query through dpkg -S fails to find an owner of
a file it could go through the potentially longer process of searching
through these files, reporting all matches.

The idea of a glob makes me nervous.  There's been plenty of times I've
accidentaly gotten extra files listed in a glob to ls or find that I
didn't intend to.

Michael Peek

Reply to: