[Yum] sticky repositories

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ I posted something similar about 2 months ago on the freshrpms list:

http://lists.freshrpms.net/pipermail/freshrpms-list/2004-May/009640.html

and follow-ups, but I guess that it was ignored... ]

On Tue, 6 Jul 2004, seth vidal wrote:

> each package object has a repo it came from w/i it.

This would be enough for what I have proposed.

> However, this is based on the packages being equal versions, and
> picking one location MORE than the other.

This is not a good idea when you have dependency chains that are also 
provided in different repos. When you start to mix and match, you have 
no guarantee that when results still functions. Even with same 
version, there is no guarantee about the compilation environment, 
flags, etc.

> The problem I have is that you want to say:
> even if repofoo has package bar as the newest, I want package bar to
> come from repobaz.

... if I specify a higher preference for repobaz in general or for 
package bar from repobaz in particular.

> It seems like these are policies best applied in advance so yum doesn't
> have to know about them and realize it's not allowed to use them.

I don't quite understand what you mean here... Force people to play 
with repos entries and --excluderepo switches ?

> but then what people normally want is, use repobaz for package bar, but
> only if they are w/i the same major version, otherwise use whatever is
> the highest.

... if "people" want to be on the bleeding edge of the software
development. But reading grumbles from people on Fedora and freshrpms
lists, I see that most people want to be able to set some preferred
repo for a certain package and make sure that also dependencies of
this package are satisfied (if possible) from the same repo. This does 
not exclude wanting the most recent (different major) version - just 
change preference for that package to a different repo that offers 
the bleeding edge version - this would in lots of cases imply also 
installing (probably from the same bleeding edge repo) newer versions 
of dependencies.

-- 
Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu@xxxxxxxxxxxxxxxxxxxxx


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux