Pinning repomd repositories

Johannes Kastl ojkastl at gmx.de
Tue Apr 17 13:13:47 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

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
- --
Jay Leno made this comment August 4, regarding the effort now underway
to write a constitution for Iraq:
"Hey, why don't we send them ours? It worked well for us for over two
hundred years ... and we're not using it anymore ..."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFGJSp7MAex/QZx/TMRAn9dAJ9L3mnW0sO+XUSIwzhJU924z+yWnACfYDdg
5Ea3MjXDVeCbFPCasrorlt0=
=Aril
-----END PGP SIGNATURE-----



More information about the Apt-Rpm mailing list