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

Re: Dependencies in Debian Control file



On Mon, Apr 17, 2006 at 04:16:46PM -0400, Roberto C. Sanchez wrote:
> Magnus Therning wrote:
> > On Mon, Apr 17, 2006 at 02:43:12PM -0500, Ek Zindagoi wrote:
> > 
> >>Hi:
> >>I am creating a package in Debian and have some questions about
> >>specifying dependencies in the control file.
> >>The Dependencies make up five of the fields in a control file: Depends,
> >>Enhances, Pre-Depends, Recommends, and Suggests. But all the these fields
> >>accept package names and versions as arguments/parameters.
> >>
> >>My question is : Is there any way for me to specify a file as a parameter
> >>to the "Depends" dependency list along with the package list ?
> > 
> > 
> > Please tell us more, why do you want to put the existance of a file as a
> > dependency?
> > 
> > Would it not be enough to create the file, if it doesn't already exist,
> > when the package is installed?
> 
> He is probably thinking of the way that RPMs are package.  For example,
> if you need to be able to send mail, you can depend on the existence of
> /usr/lib/sendmail or /usr/sbin/sendmail. 
That's been a very bad idea anyway. Donno what the state of the rpm nation
is ATM but the Conectiva guys did not use file depends in their distribution.
Well now they're 'Mandriva' and things may have changed.

Sven
-- 
If God passed a mic to me to speak
I'd say stay in bed, world
Sleep in peace
   [The Cardigans - 03:45: No sleep]



Reply to: