Mailinglist Archive: zypp-devel (59 mails)

< Previous Next >
[zypp-devel] Online update priority breaking usage of extra repositories
  • From: Lubos Lunak <l.lunak@xxxxxxx>
  • Date: Wed, 5 Nov 2008 15:10:12 +0100
  • Message-id: <200811051510.12426.l.lunak@xxxxxxx>

Hello,

I've pointed out a problem I had with updating from extra repository to local
Yast people and I've been told to ask on this list.

A bit simplified, on 11.0 I have 3 repositories
- the OSS one, shipping KDE-4.0.4, added automatically during install,
priority 99
- the online updates one, which has an online update for KDE (version 4.0.4
too), added automatically during install, priority 20
- KDE:KDE4:Factory:Desktop, which is where we prepare KDE-4.1.3 for 11.1,
added manually by me to test the packages on the machine I use. Also priority
99, set by default, since I in fact didn't even notice the priorities when
adding the repository - I simply added it, displayed it and selected updating
of all packages if there was a newer version.

The problem is that with this setup the by-now-pretty-old KDE4.0.4 packages
from the online update take precedence over the much newer packages (which of
course also already contain the fixes) from the KDE repository. In other
words, I explicitly added a repository, selected to get newer versions from
it, but it silently ignored this request for some packages. After I later
eventually noticed, I tried to force them by explicitly selecting them, but
that just gave me a lot of package conflicts that just puzzled me.
Technically not that surprising, since it in fact led to a request to
downgrade that package to KDE-4.0.4 from the KDE-4.1.2 version I had before,
but definitely strange from the user's point of view. To get what I wanted I
had to either manually select the newest version of all affected packages or
manually raise priority of the extra repository.

I can understand why online updates have higher priority than our official
repositories, but this in practice feels wrong for extra repositories, for
two reasons:
- OSS is never going to get a newer package than online updates, but KDE repo
is, and this setup of priorities won't let me easily update to it
- we are not going to ship online updates for extra repositories, so I don't
see the point of online updates having higher priority than them, also, by
explicitly installing software from an extra unsupported repository I've more
or less given up on being guaranteed online updates for them

Would it be possible to order priorities as [official repos] < [official
updates] < [extra repos]? Or maybe make the dialog for adding repositories
also have a combo for [high priority]/[low priority]?

--
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: l.lunak@xxxxxxx , l.lunak@xxxxxxx
Lihovarska 1060/12 tel: +420 284 028 972
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups