Mailinglist Archive: zypp-devel (148 mails)

< Previous Next >
Re: [zypp-devel] libzypp-4.6.1: Allow prioritizing repos.
  • From: "Dominique Leuenberger" <Dominique.Leuenberger@xxxxxxxxxxxxx>
  • Date: Thu, 27 Mar 2008 14:49:09 +0100
  • Message-id: <47EBC1F5.2554.0029.1@xxxxxxxxxxxxx>
On 3/27/2008 at 15:25, Ladislav Slezak <lslezak@xxxxxxx> wrote:
to the .repo file. Where N is an integer number from 1 (highest prio)
to 99 (least and default).

That's great, but ... ehm... what does it mean? I mean does it influence the

solver or downloading a package in commit?

Example situation:
repository X with priority 99 containing package foo-1.0
repository Y with priority 90 containing package foo-0.9
repository Z with priority 95 containing package foo-1.0

User selects foo for installation. Which package will be installed?

And what users expect to happen when they change priority of a repository?

ACtually a very interesting question.

Me, as a user, would expect the following:
-> foo-0.9 from repository Y is being installed and maintained.

If I change the priorities, the system, just at this moment, should not do
anything.
On the next upgrade cycle (zypper up -t package) it should evaluate it and make
decisions. There I would expect it not to downgrade a package though, even if a
repo with higher priority has a older version.

I see it especially as important when I install a new RPM.

Dominique



--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >