Mailinglist Archive: opensuse-softwaremgmt (9 mails)

< Previous Next >
Re: [softwaremgmt] assign lower priority to newly added repositories
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Thu, 2 Apr 2009 12:01:30 +0100
  • Message-id: <200904021301.30900.ma@xxxxxxx>
On Wednesday 01 April 2009 19:48:05 Elmar Stellnberger wrote:
You're not getting all the bug reports like "zypper dup is downgrading
all my packman packages to opensuse"...

... but a well downgraded system will work better and contain fewer
errors!

  Of course, that should not happen.
When selecting a different than the standard installation source when
installing via YaST the packages should become locked in order to be
updated from the same source only. Is this not the way things work?

There's a slight difference between
zypper up
and
zypper dup

Assume: priority(packman) < priority(openSUSE)

'up' tries to update installed packages with respect to the packages
architecture and vendor. An already installed packman package will stay
packman, but it will not migrate installed openSUSE packages to packman, nor
will it use packman for new packages also available in openSUSE.

'dup' is free to change architecture and vendor, and even able to dowgrade
packages. It will try to adjust all packages according to the repository
priorities. Thus and already installed packman package may even be downgraded
to openSUSE.

(mls may correct me if this is not exact)

  There should not be any problem in continually drawing a user defined
set of packages from another possibly lower prioritized source like
Packman?

Unless you use 'zypper dup'. And maybe most trouble originates from this.

If you want to follow some development, like KDE4, people assign a high
priority and use 'zypper dup', because it will bring in all the KDE4
packages.

But unfortunately 'zypper dup' may also remove packages from low priority
repos. So 'dup' is not exactly what you want, but all you have.

Maybe 'zypper dup' should be deprecated and replaced by some command that
simply 'dup's one repo:

zypper follow-repo KDE4 // raise KDE4 prio and update the packages.

and then you continue to use

zypper up

to keep the system up-to-date


So what kind of priority assignment would you propose/agree on?

I guess without 'zypper dup' less people would mind having e.g. 3 levels

HIGH : special cases like development repos.
NORMAL : OpenSuse and Updates
LOW : default for new repos

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

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

< Previous Next >
List Navigation
Follow Ups
References