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] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dependencies in Debian Control file
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 ? Thanks for your replies. Apprentice No, you can only specify packages of one sort or another. Also, you will ikely get better answers on the debian-mentors mailing list. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature
Re: Dependencies in Debian Control file
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? /M -- Magnus Therning(OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. Hard work may not kill me, but why take the chance. pgprhIxJgEkGI.pgp Description: PGP signature
Re: Dependencies in Debian Control file
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? /M 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. In DEB packages this is done by dependinding on a dummy or virtual package (I forget the correct term) like mail-transport-agent, which all sendmail-compatible MTAs provide. -Roberto -- Roberto C. Sanchez http://familiasanchez.net/~roberto signature.asc Description: OpenPGP digital signature