[Bug 544466] New: kupdateapplet don't consider locked packages and shows patches on every start
http://bugzilla.novell.com/show_bug.cgi?id=544466 Summary: kupdateapplet don't consider locked packages and shows patches on every start Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: KDE3 AssignedTo: kde-maintainers@suse.de ReportedBy: peter-mailbox@web.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 Gecko/2009060200 Firefox/3.0.11 I locked a package in YaST's software management ('Protected -- do not modify') to prevent an update of it (zypper shows that the package is really locked). But kupdateapplet don't consider the lock and recommends every start to update the package with a new patch. I also tried to lock the patch itself with YaST Online Update ('Taboo – never install'), but it also fails. This is quite annoying, any idea? Reproducible: Always Steps to Reproduce: 1. YaST software management: lock package 2. YOU: lock patzch (taboo) 3. kupdateapplet search for patches Actual Results: kupdateapplet don't consider the lock and recommends every start to update the package with a new patch Expected Results: kupdateapplet should not show patches for locked packages -- 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=544466 Lubos Lunak <llunak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kde-maintainers@suse.de |tgoettlicher@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=544466 User tgoettlicher@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c1 Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tgoettlicher@novell.com AssignedTo|tgoettlicher@novell.com |zypp-maintainers@forge.prov | |o.novell.com --- Comment #1 from Thomas Göttlicher <tgoettlicher@novell.com> 2009-10-08 09:27:54 MDT --- I think zypp should not report locked patches as needed patches. -- 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=544466 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c2 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO CC| |ma@novell.com Info Provider| |tgoettlicher@novell.com --- Comment #2 from Michael Andres <ma@novell.com> 2009-10-09 08:07:28 MDT --- Doable if the applet refers to ui::Selectable::isNeeded(). Thomas? -- 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=544466 User tgoettlicher@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c3 Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|tgoettlicher@novell.com | --- Comment #3 from Thomas Göttlicher <tgoettlicher@novell.com> 2009-10-09 08:30:26 MDT --- The applet doesn't directly use libzypp. As far as I know zypper reports only needed patches in its xml output. Perhaps packagekitzypp generates the list in a different way. -- 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=544466 User peter-mailbox@web.de added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c4 Peter Küppers <peter-mailbox@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |peter-mailbox@web.de --- Comment #4 from Peter Küppers <peter-mailbox@web.de> 2009-10-12 12:09:19 MDT --- Hello, some more informations, maybe they are helpful: I use KDE3, but kupdateapplet from KDE4 (since there is no version for KDE3?) I had the following packages installed: - kde4-kupdateapplet-0.8.34-2.1 - kde4-kupdateapplet-packagekit-0.8.34-2.1 I now installed also kde4-kupdateapplet-zypp-0.8.34-2.1 and changed the backend in the configuration of kupdateapplet to ZYpp-Modul (instead of PackageKit-Modul). But then I have troubles when I use my regular user (message like "applet error: ... execute as root 'zypper refresh'" appears and nothing works) and with user root it's the same problem as with PackageKit-Modul. -- 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=544466 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c5 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |tgoettlicher@novell.com --- Comment #5 from Michael Andres <ma@novell.com> 2009-11-02 12:45:07 MST --- I don't now much about the kupdateapplet. Anyway, the error message tells that the repositories metadata on the server have changed. Most probably because new packages and/or patches are available. Those new metadata have to be downloaded, but this can not be done as 'ordinary' user. @Peter: Until the applet does it automatically, you had to login as 'root' and call 'zypper refresh' to update the metadata. This should make the error disappear, but it does not solve the taboo-patch-problem. @Thomas: It looks like the applet does not invoke zypper as 'root'. This is nothing lzypper/libzypp can fix. Maybe you can help here? -- 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=544466 User peter-mailbox@web.de added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c6 --- Comment #6 from Peter Küppers <peter-mailbox@web.de> 2009-11-03 14:19:01 MST --- Hello Michael, it makes no big difference when I use kupdateapplet as root or normal user. When I use the PackageKit-Modul, I have to login as root or give the root password when I start to install the patches and then I have the taboo-patch-problem. When I use the ZYpp-Modul, it's not possible to use a normal user (then I have the "applet error") and when I login as root, it's then the taboo-patch-problem. So the result is, it's possible for me to install patches but the taboo-patch-problem still persists. -- 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=544466 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c7 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com --- Comment #7 from Ján Kupec <jkupec@novell.com> 2009-11-04 04:02:28 MST --- Peter, this is known bug when using the zypper (ZYpp-Modul) backend (bug 420606). But from your report it seems the packagekit backend has the same problem. So this should be fixed at the zypp implementation for the packagekit. -- 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=544466 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=544466#c8 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|tgoettlicher@novell.com | AssignedTo|zypp-maintainers@forge.prov |sreeves@novell.com |o.novell.com | --- Comment #8 from Michael Andres <ma@novell.com> 2009-11-04 07:51:17 MST --- @Scott: I suppose this has to be fixed in PackageKit: backend/zypp-utils.cpp: ... // check if patch is needed if((*it)->candidateObj ().isRelevant() && !((*it)->candidateObj ().isSatisfied())) { 1) Minor: Broken, satisfied and !relevant are mutual exclusive. And you can directly ask the Selectable (no need to pick the candidate first): // check if patch is needed if ( (*it)->isBroken() ) { 2) That's probably also the location where to exclude locked patches: // check if patch is needed if ( (*it)->isBroken() && ! (*it)->status() == zypp::ui::S_Taboo ) { -- 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=544466 http://bugzilla.novell.com/show_bug.cgi?id=544466#c9 Peter Küppers <peter-mailbox@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|KDE3 |KDE4 Applications AssignedTo|sreeves@novell.com |kde-maintainers@suse.de Product|openSUSE 11.1 |openSUSE 11.2 Target Milestone|--- |Final OS/Version|openSUSE 11.1 |openSUSE 11.2 --- Comment #9 from Peter Küppers <peter-mailbox@web.de> 2009-12-23 15:57:16 UTC --- Hello, Just a short 'update'. I upgraded now to openSUSE 11.2, but it's still the same behavior like above. So I changed product and component of the bug (hope this isn't a bad idea..) Cheers Peter -- 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=544466 http://bugzilla.novell.com/show_bug.cgi?id=544466#c Christian Trippe <christiandehne@web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |christiandehne@web.de AssignedTo|kde-maintainers@suse.de |sreeves@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.
https://bugzilla.novell.com/show_bug.cgi?id=544466 https://bugzilla.novell.com/show_bug.cgi?id=544466#c10 Jaan Vajakas <jaanvajakas@hot.ee> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilfirin.ms@gmail.com --- Comment #10 from Jaan Vajakas <jaanvajakas@hot.ee> 2010-12-04 20:14:18 UTC --- *** Bug 460972 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=460972 -- 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=544466 https://bugzilla.novell.com/show_bug.cgi?id=544466#c11 Jaan Vajakas <jaanvajakas@hot.ee> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jaanvajakas@hot.ee --- Comment #11 from Jaan Vajakas <jaanvajakas@hot.ee> 2010-12-04 20:44:14 UTC --- In openSUSE 11.3, the update applet still tries to update locked packages (i. e. installed packages that are marked as protected in Yast Software Management) but marking patches as taboo in Yast Online Update works (patches marked as taboo are not shown in the update applet). As I understand, this means that each time a new version appears in the update repository, the user must decide whether to accept the update even if s/he refused the previous version update. Maybe this is good enough because a new update might not have a problem that was present in a previous update. It might be a good idea to add an option to update applet GUI to let some updates be disabled (i. e. marked as taboo), so that the user does not have to figure out that s/he has to mark the update as taboo in Yast Online Update. (In case of critical updates, the applet might give some warning dialog asking whether you really want to block the 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.
participants (1)
-
bugzilla_noreply@novell.com