[Bug 637764] New: Packagekit updater applet in GNOME sees upgrades/updates from all repositories irrespective of vendor changes
https://bugzilla.novell.com/show_bug.cgi?id=637764 https://bugzilla.novell.com/show_bug.cgi?id=637764#c0 Summary: Packagekit updater applet in GNOME sees upgrades/updates from all repositories irrespective of vendor changes Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 1 of 6 Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: libzypp AssignedTo: zypp-maintainers@forge.provo.novell.com ReportedBy: badshah400@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8 Thus far (till openSUSE 11.3), the updater applet in GNOME was used to show only the official bug-fix/security updates released via the main update repositories, this being similar to the usage of "zypper list-patches" and when chosen to do a "zypper patch". But with 11.4 Milestone 1, I notice that the updater applet shows all available updates/upgrades from all configured repositories, acting more like "zypper lu -a" instead. This is a major problem as the updater applet is the most common way a layman desktop user would do his package updates, and the current scenario means he will be exposed to all sorts of experimental package updates/upgrades that might be available from the non-standard sources he/she has configured. It is important, therefore that the updater applet only shows the official updates released by the maintenance team. Users interested to live on the bleeding edge should be able to do so by using YaST's SOftware Management appropriately. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c1
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c2
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c3
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c4
--- Comment #4 from Atri Bhattacharya
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c5
Rastislav Krupansky
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c6
--- Comment #6 from Atri Bhattacharya
@Atri: You have probably enabled factory repositories, if the updater applet shows all available the bleeding edge updates/upgrades. Disable them.
Yes, I have Factory enabled, and I know how to use YaST to upgrade to the latest versions from there. I still expect the updater applet to act as a frontend for the command "sudo zypper patch" only. It has done that till 11.3, and there is no reason at all to change that behaviour all of a sudden. Please note, if you want the updater-applet to behave differently from what it has done till now, which is act as a frontend for "zypper patch", and not "zypper up", file an openFATE feature. This bug is not the place to do this. If the devs think this is intended, let them mark it as WONTFIX, otherwise this is a serious issue that needs to fixed come 11.4. -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c7
--- Comment #7 from Atri Bhattacharya
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c8
Martin Schlander
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c9
--- Comment #9 from Michael Meeks
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c10
--- Comment #10 from Martin Schlander
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c11
--- Comment #11 from Sven Burmeister
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c12
--- Comment #12 from Michael Meeks
Either you grossly overestimate users - or your view is that openSUSE is only for quite advanced users
or the excluded middle: "or you didn't read my answer carefully" :-) Clearly we want to filter out vendor changes from the updates - so much is obvious (as Sven says); on the other hand, I do not have the cycles to hack it up, nevermind test it; though it is not that much work. Martin perhaps you could have a go, I pointed you at the code. -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c13
--- Comment #13 from Martin Schlander
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c14
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c15
--- Comment #15 from Michael Meeks
This behavior was changed without thinking much on the consecuences.
Which is a shame, since it was discussed on the list, and approved by the zypp guys :-)
PackageKit applets were never intended to be notifier of newer versions of the package but newer versions of the package you have installed.
Sure - but then, this is not what patches do for you for most non-distro repositories :-)
The right solution should be selecting relevant patches, and then using the solver system update to select the relevant packages. This protect against vendor changes and also conflicting packages.
Unfortunately, that only yields updates that stem from patches; and not updates to the majority of community / build-service repositories which have no patchinfo (right) ? And, yes - I would love this functionality to be in libzypp itself ;-) -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c
Will Stephenson
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c16
--- Comment #16 from Will Stephenson
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c
Will Stephenson
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c17
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c18
Atri Bhattacharya
Please test PackageKit on home:dmacvcar which supports hiding packages and when showing them it uses the zypper lu algorithm.
See http://lists.opensuse.org/opensuse-factory/2011-02/msg00586.html
Works! Thanks a lot for fixing this, Duncan! Testing method: * Start LiveCD with default repos added * Install packages from repo mentioned above. * Add factory-oss (same vendor as default repos) and X11:Compiz (different vendor) * Start gnome-packagekit ("software update" in control-centre) Result:- Shows exactly the result from zypper lu, i.e. packages from the different vendor (X11:Compiz) are not shown, but all packages from factory-oss are shown. Using "zypper lu -a" also shows updates from X11:Compiz, confirming that packagekit's behaviour is now indeed "zypper lu". So this solves the main problem in my report, namely: not respecting version stickiness. Remarks:- For me however the expected behaviour of packagekit, in consistency with earlier versions of openSUSE (<= 11.3), is as a front-end to "zypper list-patches" as I described in the report. So I tried what was suggested in the message in the earlier comment, i.e. " Now you can disable packages as well, just create /etc/PackageKit/ZYpp.conf and set: [Updates] HidePackages=true " Then running gnome-packagekit shows just the patches from the default update repository. So this works too :) I would suggest that this be done by default, i.e., update packages be hidden and only patches shown in the packagekit interface by default. For those interested in seeing also update "package candidates", perhaps some information in the release notes regarding removing the ZYpp.conf file will help. -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c19
--- Comment #19 from Vincent Untz
Now you can disable packages as well, just create /etc/PackageKit/ZYpp.conf and set:
[Updates] HidePackages=true
It's extremely easy to do so, in the PackageKit-branding-openSUSE package. (I guess it's zypp.conf, not ZYpp.conf, right?) Duncan, should we also do this? -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c20
--- Comment #20 from Vincent Untz
(I guess it's zypp.conf, not ZYpp.conf, right?)
Just read the patch, where I saw it's indeed ZYpp.conf. -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c21
--- Comment #21 from Scott Reeves
(In reply to comment #18)
disable packages as well, just create /etc/PackageKit/ZYpp.conf and set:
[Updates] HidePackages=true
It's extremely easy to do so, in the PackageKit-branding-openSUSE package. (I guess it's zypp.conf, not ZYpp.conf, right?)
Duncan, should we also do this?
Thanks for the nice work on this Duncan. In the opensuse-gnome meeting the question was asked if hiding package updates and only showing patches should be the default. The result was unanimous to hide by default. What do you think? -- 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=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c22
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c23
Duncan Mac-Vicar
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c24
Vincent Untz
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c25
Will Stephenson
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c26
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=637764
https://bugzilla.novell.com/show_bug.cgi?id=637764#c27
Swamp Workflow Management
participants (1)
-
bugzilla_noreply@novell.com