[opensuse] repository priority in yast (oS 11.2)
Hello list readers: According to man zypper: -p, --priority <positive-integer> Set priority of the repository. Priority of 1 is the highest, the higher the number the lower the priority. Default prior- ity is 99. Packages from repositories with higher priority will be preferred even in case there is a higher installable version available in the repository with a lower priority. But in yast software manager when I click update for a package the selected repo has the highest number (ie the lowest priority according to the above.) Is this a bug or is it on purpose (that the gui interprets priority in the opposite manner)? Thanks, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 5/28/2011 6:37 AM, Istvan Gabor wrote:
Hello list readers:
According to man zypper:
-p, --priority <positive-integer> Set priority of the repository. Priority of 1 is the highest, the higher the number the lower the priority. Default prior- ity is 99. Packages from repositories with higher priority will be preferred even in case there is a higher installable version available in the repository with a lower priority.
But in yast software manager when I click update for a package the selected repo has the highest number (ie the lowest priority according to the above.)
Is this a bug or is it on purpose (that the gui interprets priority in the opposite manner)?
Thanks,
Istvan
I have found, that if a New repositories that held packages which also appeared in opensuse repository, neither the priority of the repository nor the version numbers of the package made any difference UNTIL I clicked that link at the top of yast to switch system packages to the new repository. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sat, 2011-05-28 at 15:49 -0700, John Andersen wrote:
I have found, that if a New repositories that held packages which also appeared in opensuse repository, neither the priority of the repository nor the version numbers of the package made any difference UNTIL I clicked that link at the top of yast to switch system packages to the new repository.
Which to me seems a bit redundant. If I set a higher priority then I expect it to be used over one with a lower priority. The odd thing is that when you press the 'switch' option, packages in that repo seem to get selected even if the repo has a lower priority. Which begs the question: do the priority settings really function anymore? They obviously are meant to interact with the 'switch' functionality. Is there a description of how they are meant to interact? Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Am Montag, 30. Mai 2011, 08:59:11 schrieb Roger Oberholtzer:
Which to me seems a bit redundant. If I set a higher priority then I expect it to be used over one with a lower priority. The odd thing is that when you press the 'switch' option, packages in that repo seem to get selected even if the repo has a lower priority. Which begs the question: do the priority settings really function anymore? They obviously are meant to interact with the 'switch' functionality. Is there a description of how they are meant to interact?
I think you forget about vendor stickiness. AFAIK zypper will ignore higher versions and priorities as long as those packages would imply a vendor change. If you want to change the vendor you have to explicitly install that package or use dup. Sven -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (4)
-
Istvan Gabor
-
John Andersen
-
Roger Oberholtzer
-
Sven Burmeister