Mailinglist Archive: yast-devel (191 mails)

< Previous Next >
[yast-devel] Re: [zypp-devel] libzypp-4.6.1: Allow prioritizing repos.
  • From: Ladislav Slezak <lslezak@xxxxxxx>
  • Date: Thu, 27 Mar 2008 14:25:53 +0100
  • Message-id: <47EBA061.3010701@xxxxxxx>
Michael Andres napsal(a):
JFYI: libzypp-4.6.1 now supports repo priorities.



/etc/zypp/repos.d
-----------------
Allow prioritizing repos (yum-priorities) by adding a line

priority=N

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?


--

Best Regards

Ladislav Slez√°k
Yast Developer
------------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: lslezak@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 960
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz/
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
References