[zypp-devel] Online update priority breaking usage of extra repositories
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@suse.cz , l.lunak@kde.org 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 05 November 2008 15:10:12 Lubos Lunak wrote:
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
The question is - what is extra repository - the ones added by user?
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]?
Would that help or would it confuse users? Stano -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
On Wednesday 05 of November 2008, Stanislav Visnovsky wrote:
On Wednesday 05 November 2008 15:10:12 Lubos Lunak wrote:
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
The question is - what is extra repository - the ones added by user?
Anything that is not an official repository? I've been told this is not that simple to tell, but could this be e.g. told by the signature? OBS repos definitely have different signatures from the OSS repo.
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]?
Would that help or would it confuse users?
Ordering the priorities the way I suggested? I can definitely see where the current way can confuse, in which way would you expect my suggested order to confuse? - newer version wins, that doesn't seem confusing (thinking of it, perhaps it'd be better if extra repos had the same priority like online updates, not higher, to really make it just 'newest version wins') - explicitly added software wins, that doesn't seem confusing either In fact, why exactly don't all repos by default have the same priority, official, unofficial, online update or not, whatever? Why do online updates need to have a higher priorioty? I don't think 11.0/OSS repo has changed since 11.0 was out, so 11.0/updates should simply win by merely having newer versions. The moment somebody uses Factory/OSS, then of course there is a problem, but that's again people explicitly using unstable repos. -- Lubos Lunak KDE developer -------------------------------------------------------------- SUSE LINUX, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org 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@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org
participants (2)
-
Lubos Lunak
-
Stanislav Visnovsky