Pinning repomd repositories

Frank Schnieder unsorted at osdt.de
Wed Apr 18 07:13:49 PDT 2007


Johannes Kastl schrieb:
> Hello,
> 
> I changed to openSUSE 10.2, but could not quit to use apt. It is just
> what I need.
> 
> There is one flaw, apt seems to have problems pinning repositories.
> Or, to be exact: apt doesnt like components that contain a /
> 
> An example:
> 
> While it works to pin a repo
> repomd ftp://ftp.gwdg.de/pub/linux/misc/suser-jengelh/ SUSE-10.2/
> with
> Package: *
> Pin: release c=SUSE-10.2
> Pin-Priority: 50
> 
> it doesnt when using
> repomd ftp://ftp.gwdg.de/pub/linux/misc/ suser-jengelh/SUSE-10.2/
> 
> It doesnt matter (or it didnt in my tests) wether I just put
> suser-jengelh* or anything else, it just isnt working.
> 
> QUESTION:
> 
> 1. Is this behaviour intended?
> 
> 2. Is there an easy solution?


I'm using different servers and the keyword 'origin' for pinning:

Package: *
Pin: origin ftp4.gwdg.de
Pin-Priority: 500

Package: *
Pin: origin ftp.gwdg.de
Pin-Priority: 50


Cheers, Frank


> 
> and if not
> 
> 3. Would it be possible to fix apt so that it is possible to pin more
> than one repo? Have in mind that many repos have similar last parts
> (10.2, Suse-10.2, openSUSE_10.2, suse,...).
> It would be nice to have that, cos now I just see that one package out
> of the pinned repo is from this repo, cos there is just
> 
> 50 ftp://ftp.gwdg.de SUSE-10.2/ repomd
> 100 RPM Database
> 
> and I must remember that the one that has only SUSE-10.2/ is the
> pinned one.
> 
> Thanks in advance,
> OJ
_______________________________________________
apt-rpm mailing list
apt-rpm at lists.laiskiainen.org
http://lists.laiskiainen.org/listinfo.cgi/apt-rpm-laiskiainen.org




More information about the Apt-Rpm mailing list