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

Re: Files from conffiles not being installed



On Mon, 2004-11-15 at 16:46 +0100, Frank Küster wrote:
> Mugurel Tudor <mugurelu@go.ro> schrieb:
> 
> > Hi,
> >
> > I am trying to create some deb packages, and mostly it works ok except
> > one thing: the files that I have in debian/conffiles are not installed.
> 
> The files have to be in in the data.tar.gz, and the conffiles file is
> only to inform dpkg which of the files in data.tar.gz it should treat as
> conffiles.

Yes, the file is in data.tar.gz, and is mentioned in conffiles so that
it can be treated as a conf files.

> 
> > In debian/, I only have a md5sums files, with md5sums for all files, a
> > control file, and the conffile. If I delete the conffile from debian/
> > folder, that all the files are installed OK, but in this care if I
> > chnage something in the configuration file and install a new version of
> > the package, the original file will be overwritten.
> 
> I don't really understand this - the files are in data.tar.gz, but are
> only installed if there is no DEBIAN/conffiles?

Yes, if the conf files are mentioned in the conffiles, they are not
installed, this is my problem. But if I won't create that connfile, than
the file from /etc will be treated like any other file (and when I
upgrade, the file from /etc will be overwritten, and I don't want that).

Sorry if I didn't explain it more clearly from the begining.

> 
> Regards, Frank
-- 
Mugurel Tudor (mugurelu@go.ro)
Linux Registered User: 212231
---------------------------------------------------------
In God we Trust. All others must have valid md5 checksums.



Reply to: