Re: How to add dependencies that exist in another repository

2010-11-11 Thread Goswin von Brederlow
Andreas Tille writes: > On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote: >> I have a package my-apt-config that installs the gpg key for the local >> repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file >> and /etc/apt/preferences.d/ file with all the right

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Goswin von Brederlow
Ian Jackson writes: > Henrique de Moraes Holschuh writes ("Re: How to add dependencies that exist > in another repository"): >> On Wed, 10 Nov 2010, Bob Proulx wrote: >> > The packages for Debian there add a source.list.d file as you >> > describe. (A

Re: How to add dependencies that exist in another repository

2010-11-11 Thread David Kalnischkies
On Thu, Nov 11, 2010 at 14:36, Andreas Tille wrote: > to answer the previous question: Yes, I'm using Squeeze. > >> >From man apt_preferences: >>   Note that the files in the /etc/apt/preferences.d directory are parsed >>   in alphanumeric ascending order and need to obey the following naming >>  

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Andreas Tille
Hi, to answer the previous question: Yes, I'm using Squeeze. > >From man apt_preferences: > Note that the files in the /etc/apt/preferences.d directory are parsed > in alphanumeric ascending order and need to obey the following naming > convention: The files have no or "pref" as filename ex

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Ian Jackson
Henrique de Moraes Holschuh writes ("Re: How to add dependencies that exist in another repository"): > On Wed, 10 Nov 2010, Bob Proulx wrote: > > The packages for Debian there add a source.list.d file as you > > describe. (And it really confused me until I figured out wh

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Mike Hommey
On Thu, Nov 11, 2010 at 12:03:30PM +0100, Andreas Tille wrote: > On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote: > > I have a package my-apt-config that installs the gpg key for the local > > repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file > > and /etc/a

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Bastian Blank
On Thu, Nov 11, 2010 at 12:03:30PM +0100, Andreas Tille wrote: > On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote: > > I have a package my-apt-config that installs the gpg key for the local > > repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file > > and /etc/a

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Andreas Tille
On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote: > I have a package my-apt-config that installs the gpg key for the local > repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file > and /etc/apt/preferences.d/ file with all the right settings for me. I completel

Re: How to add dependencies that exist in another repository

2010-11-11 Thread Goswin von Brederlow
Ben Hutchings writes: > On Wed, Nov 10, 2010 at 04:50:49PM -0200, Henrique de Moraes Holschuh wrote: >> On Wed, 10 Nov 2010, Bob Proulx wrote: >> > The packages for Debian there add a source.list.d file as you >> > describe. (And it really confused me until I figured out what it had >> >> Which

Re: How to add dependencies that exist in another repository

2010-11-10 Thread Ben Hutchings
On Wed, Nov 10, 2010 at 04:50:49PM -0200, Henrique de Moraes Holschuh wrote: > On Wed, 10 Nov 2010, Bob Proulx wrote: > > The packages for Debian there add a source.list.d file as you > > describe. (And it really confused me until I figured out what it had > > Which begs the question: why do we e

Re: How to add dependencies that exist in another repository

2010-11-10 Thread David Kalnischkies
On Wed, Nov 10, 2010 at 19:57, Henrique de Moraes Holschuh wrote: > On Wed, 10 Nov 2010, Henrique de Moraes Holschuh wrote: >> On Wed, 10 Nov 2010, Bob Proulx wrote: >> > The packages for Debian there add a source.list.d file as you >> > describe.  (And it really confused me until I figured out wh

Re: How to add dependencies that exist in another repository

2010-11-10 Thread Henrique de Moraes Holschuh
On Wed, 10 Nov 2010, Henrique de Moraes Holschuh wrote: > On Wed, 10 Nov 2010, Bob Proulx wrote: > > The packages for Debian there add a source.list.d file as you > > describe. (And it really confused me until I figured out what it had > > Which begs the question: why do we even have source.list.

Re: How to add dependencies that exist in another repository

2010-11-10 Thread Henrique de Moraes Holschuh
On Wed, 10 Nov 2010, Bob Proulx wrote: > The packages for Debian there add a source.list.d file as you > describe. (And it really confused me until I figured out what it had Which begs the question: why do we even have source.list.d/ suport in the first place (or, if it is really useful to other

Re: How to add dependencies that exist in another repository

2010-11-10 Thread Bob Proulx
PJ Weisberg wrote: > Ben Hutchings wrote: > > Don't even think of doing this in a package uploaded to Debian. > > Right. I mentioned it mostly for completness, since it's the answer > to the question that was actually asked. I almost added, "I don't > think any Debian packages actually do this,"

Re: How to add dependencies that exist in another repository

2010-11-10 Thread Goswin von Brederlow
Reza Alemi writes: > Hello all, > I don't seem to be able to find my answer searching the net, so please > forgive me if my question is too trivial. > > I am packaging a product which is dependent on sun-java6-sdk (upstream > says it won't work with openjdk). in ubuntu, that package is in the > p

Re: How to add dependencies that exist in another repository

2010-11-09 Thread PJ Weisberg
On 11/9/10, Ben Hutchings wrote: > Don't even think of doing this in a package uploaded to Debian. Right. I mentioned it mostly for completness, since it's the answer to the question that was actually asked. I almost added, "I don't think any Debian packages actually do this," but I've never

Re: How to add dependencies that exist in another repository

2010-11-09 Thread Ben Hutchings
On Tue, 2010-11-09 at 14:48 -0800, PJ Weisberg wrote: [...] > - It *is* possible to add repositories when you install your package. > Google does this in the *.deb files it distributes so that the package > manager can find newer versions. If you have a reason to do this > (which you almost certai

Re: How to add dependencies that exist in another repository

2010-11-09 Thread Peter Palfrader
On Tue, 09 Nov 2010, PJ Weisberg wrote: > - It *is* possible to add repositories when you install your package. I'm pretty sure we probably wouldn't want any package in Debian do that tho. -- | .''`. ** Debian GNU/Linux ** Peter Palfrader | : :' : The

Re: How to add dependencies that exist in another repository

2010-11-09 Thread PJ Weisberg
> On Mon, 2010-11-08 at 09:14 -0800, Reza Alemi wrote: >> Hello all, >> I don't seem to be able to find my answer searching the net, so please >> forgive me if my question is too trivial. >> >> I am packaging a product which is dependent on sun-java6-sdk (upstream >> says it won't work with openjdk

Re: How to add dependencies that exist in another repository

2010-11-08 Thread Chris Baines
Hi Rex, In my opinion a more appropriate place for you question would be the Debian mentors list. This list is more meant for Debian development. I have cc'ed it as such. Why do you need to do anything above the normal for this. The package sun-java6-jdk exists in the Debian non-free repository.

How to add dependencies that exist in another repository

2010-11-08 Thread Reza Alemi
Hello all, I don't seem to be able to find my answer searching the net, so please forgive me if my question is too trivial. I am packaging a product which is dependent on sun-java6-sdk (upstream says it won't work with openjdk). in ubuntu, that package is in the partner repository which I can get