Mailinglist Archive: opensuse-softwaremgmt (11 mails)

< Previous Next >
Re: [softwaremgmt] assign lower priority to newly added repositories
  • From: Elmar Stellnberger <estellnb@xxxxxxxx>
  • Date: Fri, 27 Mar 2009 12:01:22 +0000
  • Message-id: <49CCC012.1090905@xxxxxxxx>
Well, I think there is pretty good reason to give the update
repository a high priority like 20.
Besides this I would prefer the default repos (repo-oss, repo-non-oss)
to have a higher priority say 40 than user added ones (99) for the
reasons of security. Core distro packages are more trustworthy than
those from 2nd hand repos or temporarily added repos.
The installation DVD may have a priority of 30 in order to save the
user from downloading packages which are available on the DVD. This will
even speed up installation for those users who have a broadband connection.
It is generally no good idea to leave over priority assignment to the
sys admin because in most cases there will simply be no admin. Desktop
users expect their system to work out of the box. They should never need
to reassign priorities.

Michael Andres schrieb:
On Thursday 26 March 2009 20:05:38 Elmar Stellnberger wrote:
User added repositories should have a lower priority than the core
distro repos (change request).
Usually these repositories contain additional software not available
anywhere else but are less trustworthy than the core distro packages.
f.i. I do not want packages to be installed from Packman if they are
available in the core distro as well. If there are certain packages that
should rather be taken from Packman than OpenSuse-OSS I wanna select
them manually.
Even worse giving newly added repos a higher priority by default will
make all those temporarily added repos that just were intended to
install a single package or a few override the core distro packages. The
security implications are really just too bad.
So even if someone would like Packman to have a higher priority than
the core distro packages that should not automatically be applied to all
temporarily added repos.
Even worse some users will desire to add Suse11.0-repos to a Suse 11.1
installation, because a couple of packages are not available in 11.1 as
it is not a major release.

The source of confusion are IMO malformed controll.xml files located on the
installation media. They are evaluated by yast and lead to update repos with
priority 20, and 11.1 repos with low priority 100. Both is pretty bad.

The install media should not define any repo priority. Repos should be
with the default priority (99). Whether and how repo priorities are used
should be decision of the local admin. Everything else leads to confusion.

I'd suggest to change at least all the 'priority=100' repos back to the
sudo sed -i 's/^priority=100//' /etc/zypp/repos.d/*

To unsubscribe, e-mail: opensuse-softwaremgmt+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-softwaremgmt+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
Follow Ups