adding a debian repository

Derek Broughton news at pointerstop.ca
Wed Oct 18 19:09:41 UTC 2006


Jeremy Anderson wrote:

> how would I make the following into a repository in kubuntu dapper.  I
> know how to manipulate the sources file but for some reason I can't get
> this to work as a repository
>
http://debsarge.plutohome.com/download/debian/main/binary-i386/pluto-orbiter_2.0.0.40_i386.deb
> 
> I know that I wouldn't put the *.deb in it...
> 
> here is an example of what I tried:
> 
> deb http://debsarge.plutohome.com/debian sarge main

That won't work (but you knew that :-) ).

A debian-type distro source looks like:

deb http://PATH/ VERSION [section-list]

where 'VERSION' is something like sarge or dapper, and 'section list' is a
space separated list of sections (e.g., 'main restricted universe').

That translates to urls like:

 http://PATH/dists/VERSION/main/
and
 http://PATH/dists/VERSION/universe/

so the problem is that you need a path with "/dists/" in it.  iirc, I've
seen something constructed to produce a URL like:

http://debsarge.plutohome.com/download/dists/../debian/main/binary-i386/pluto-orbiter_2.0.0.40_i386.deb

by using a source of:

deb http://debsarge.plutohome.com/download/ ../debian main

HTH!
-- 
derek





More information about the kubuntu-users mailing list