[Bug 625426] New: packages from OSS repository are bypassed on upgrade
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c0 Summary: packages from OSS repository are bypassed on upgrade Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: antoine.mechelynck@belgacom.net QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:2.0b2pre) Gecko/20100701 Lightning/1.1a1pre SeaMonkey/2.1a3pre - I installed the Mercurial package while still on openSUSE 11.2; at the time, its version was 1.3.1 - When upgrading from 11.2 to 11.3 by means of a downloaded DVD image, the 11.3 OSS repository was enabled by the upgrade, but its version (1.5) of the Mercurial package was not installed. - Since then, the "Online Update" function of YaST never told me that a nawer version of Mercurial was available: I had to complain about a bug on the Mercurial mailing list to be told that, actually, the Mercurial version shipped with openSUSE 11.3 was Mercurial 1.5 (it never came to my mind that YaST would not propose a newer version if one was available). Reproducible: Always Steps to Reproduce: See above Actual Results: YaST never told me a Mercurial upgrade was available on the OSS repository. Expected Results: YaST should, as a minimum, have told me (either during the 11.2 => 11.3 upgrade or when I invoked "Online Update" thereafter) that an upgrade was available. Additional info: I don't know (how _could_ I know) which other OSS and/or non-OSS packages, if any, are still ready for an upgrade which YaST won't tell me is available. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c1 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Component|YaST2 |libzypp InfoProvider| |antoine.mechelynck@belgacom | |.net AssignedTo|yast2-maintainers@suse.de |zypp-maintainers@forge.prov | |o.novell.com QAContact|jsrain@novell.com |qa@suse.de --- Comment #1 from Jiří Suchomel <jsuchome@novell.com> 2010-07-27 07:39:24 UTC --- Please attach YaST log files (http://en.opensuse.org/openSUSE:Bugreport_YaST) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c2 Tony Mechelynck <antoine.mechelynck@belgacom.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|antoine.mechelynck@belgacom | |.net | --- Comment #2 from Tony Mechelynck <antoine.mechelynck@belgacom.net> 2010-07-27 12:04:33 CEST --- Created an attachment (id=378586) --> (http://bugzilla.novell.com/attachment.cgi?id=378586) yast2 logs -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c3 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #3 from Michael Andres <ma@novell.com> 2010-08-02 16:06:53 CEST --- IMO no bug: The "Online Update" function of YaST processes patches only, i.e. officially released packages for a distibution fixing bugs or security holes. This is something different than 'just' updating all the installed packages to newer versions available in any of the available repositories; like e.g 'zypper up' would do. The problem here is that YaST performed the update based on the 11.3 ISO. After the package update is done, the online repos were added. AFAIK the ISO does not contain mercurial, that's why it did not get updated. And the "Online Updates" performed later on are not suitable to update any packages introduced by the online repos. IMO the best would be to perform the update based on the online repos, or at least perform a 'zypper dup' after the update from ISO in order to introduce the latest versions of all packages. Downside of the 2nd way is, that installed packages which are not available on the ISO and which do get involved into some dependency conflict, may get deleted by the solver. If there is no enabled repo providing a package, the package is considered as being discontinued, thus the solver prefers to delete it rather than not updating some well known package. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c4 --- Comment #4 from Tony Mechelynck <antoine.mechelynck@belgacom.net> 2010-08-03 04:13:03 CEST --- Hm. So there's no way out of zypper, there are _absolutely necessary_ actions which YaST cannot perform. Sheesh, too bad. I just started "zypper up" and I'm surprised by the high number of packages it found needed an upate: 2016, many of them "debuginfo" packages which apparently YaST did not find when I told it "Extra => Install all matching debuginfo packages" from the live 11.3 system with all the 11.3 repos that I care about (including debug) enabled and the Internet connected. Ah la la. I guess I'll go to bed and see in the morning if it has finished. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c5 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|RESOLVED |REOPENED CC| |tgoettlicher@novell.com Component|libzypp |Update Problems Resolution|INVALID | AssignedTo|zypp-maintainers@forge.prov |bnc-team-screening@forge.pr |o.novell.com |ovo.novell.com QAContact|qa@suse.de |jsrain@novell.com --- Comment #5 from Michael Andres <ma@novell.com> 2010-08-03 13:14:22 CEST --- The point is that the update was performed based on the DVD, which has less packages than the online repos, which are added after the update. Instead of 'zypper up' one can select YaSTs 'Package -> All Packages -> update if newer version is available'. The result is similar, but IMO zypper does a slightly better job under certain conditions. I reopen the bug and pass it to the YaST guys: Maybe it's worth thinking about improving the update workflow. On could suggest to immediately include the online repos when performing the update. If the user does not want to, one should tell him (2nd stage?) how to complete the upadte after the online repos were added. IMO best would be another 'dup' (to also catch renamed/splited packages outside the DVD), at least to suggest an 'update'. @Thomas: 'update if newer version is available' could be easily improved to match 'zypper up'. With this being done, Tony could complete the update without leaving YaST ;) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=625426 http://bugzilla.novell.com/show_bug.cgi?id=625426#c6 --- Comment #6 from Tony Mechelynck <antoine.mechelynck@belgacom.net> 2010-08-03 17:08:48 CEST --- (In reply to comment #5) [...]
@Thomas: 'update if newer version is available' could be easily improved to match 'zypper up'. With this being done, Tony could complete the update without leaving YaST ;)
In particular, the first bootup of the newly version-upgraded system (which doesn't use the same inittab or whatever than all later bootups, but, unlike the part of the update which is run from the DVD system, has a working Internet connection) might propose (from a YaST window maybe, opened at "Installation Summary" to allow user tweaks, and with the usual [ Cancel ] [ Accept ] at bottom) to update all packages for which a new version is available. This would allow upgrading from other repositories than the main DVD disk image, and it would make this "update packages" function of YaST more discoverable. BTW, that "zypper up" job launched shortly after comment #4 is still running: package 1094 of 2016, kernel-desktop-debuginfo. I'll leave it running later today when I go to the snackbar, it seems to work quite well unattended. But YaST+Qt is better-looking. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c9 Thomas Fehr <fehr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com --- Comment #9 from Thomas Fehr <fehr@novell.com> 2011-08-02 09:59:24 UTC --- Reassigned to maintainer of yast2-update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c10 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEW CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |tgoettlicher@novell.com --- Comment #10 from Jiří Suchomel <jsuchome@novell.com> 2011-08-08 14:05:58 UTC --- (In reply to comment #5)
@Thomas: 'update if newer version is available' could be easily improved to match 'zypper up'. With this being done, Tony could complete the update without leaving YaST ;)
I guess here is the place for improvement/change. It is not in yast2-online-update, but in software manager widget. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c11 Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |ma@novell.com --- Comment #11 from Thomas Göttlicher <tgoettlicher@novell.com> 2011-08-18 13:45:28 UTC --- (In reply to comment #5)
@Thomas: 'update if newer version is available' could be easily improved to match 'zypper up'. Could you please explain how YQPackageSelector::globalUpdatePkg( bool force ) and YQPkgObjList::setAllItemStatus( S_Update) needs to be improved?
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c12 --- Comment #12 from Tony Mechelynck <antoine.mechelynck@belgacom.net> 2011-10-11 08:29:40 CEST --- Since I reported this bug, I got a new computer, installed openSUSE 11.4 x86_64 on it, and now 12.1 is due in a month. Does this bug still apply to current software? I have also changed my daily routine: I run "zypper lu" in konsole to see if there are available upgrades. If there are, YaST will list patches (from the Update, Update-Debug, Update-Test and Update-Test-Debug repositories) but not new versions not distributed as patches (e.g. from the Packman repository). The latter I upgrade manually with the help of YaST's Search function. Is there anything more to be done to get all available upgrades? (And I'm asking questions, but I didn't set the NEEDINFO status: that was in comment #11 two months ago.) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c13 --- Comment #13 from Michael Andres <ma@suse.com> 2011-11-14 14:20:03 CET --- (In reply to comment #11)
Could you please explain how YQPackageSelector::globalUpdatePkg( bool force ) and YQPkgObjList::setAllItemStatus( S_Update) needs to be improved?
- In YQPkgObjListItem::init I see _installedIsNewer/_candidateIsNewer set based on a simple version compare: ( candidate->edition() < installed->edition() ) - In YQPkgList::globalSetPkgStatus I see in 'case S_Update:' 'doChange = ( installed->edition() < candidate->edition() );' - In YQPkgObjList::setAllItemStatus I see 'if ( newStatus == S_Update ) if ( item->candidateIsNewer()': 'item->setStatus( newStatus ). So the UI simply looks at the version and then selects the package. This is bad, because the highest version is not necessarily the best choice, especially if the same package is provided by multiple repos/vendors. The flaw in the current approach is that the UI should not look for a higher version, but check whether there is an 'updateCandidateObj' for this selectable. The Selectable will return an item which is likely to be chosen by the solver as well (at least an item that fits all active solver policies), or NULL if no available package fits the current solver policies. (Keep in mind that you need to call setCandidate, if the updateCandidateObj and candidateObj are different) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c Michael Andres <ma@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|ma@suse.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|packages from OSS |[libyui-qt-opkg] packages |repository are bypassed on |from OSS repository are |upgrade |bypassed on upgrade -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c14 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tgoettlicher@suse.com |mvidner@suse.com --- Comment #14 from Thomas Göttlicher <tgoettlicher@suse.com> 2014-01-21 10:03:18 UTC --- Reassigning to new maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=625426 https://bugzilla.novell.com/show_bug.cgi?id=625426#c Martin Vidner <mvidner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[libyui-qt-opkg] packages |[libyui-qt-pkg] packages |from OSS repository are |from OSS repository are |bypassed on upgrade |bypassed on upgrade -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com