[Bug 500382] New: zypper and yast2 have different opinions about what needs updating
http://bugzilla.novell.com/show_bug.cgi?id=500382 Summary: zypper and yast2 have different opinions about what needs updating Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: i686 OS/Version: openSUSE 11.1 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: admin@eregion.de QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.0.9) Gecko/2009041500 SUSE/3.0.9-0.1.1 Firefox/3.0.9 i do a "zypper -r up" as root on a commandline and i get this output: sai:~ # zypper -r lu Retrieving repository 'Packman Repository' metadata [done] Building repository 'Packman Repository' cache [done] Loading repository data... Reading installed packages... No updates found. sai:~ # to me that means "no new package versions for the stuff you have installed." Now, if i start yast2, go to "install/remove software" (yast2 sw_single), select "summary", then set the checkmark for "keep" (I see all installed packages now), then right-click somewhere in that list and choose "all in this list -> update if never version is available" i get a message telling me "plasmoid-systemloadviewer-0.6-2.36.i686 needs kdebase4-runtime >= 4.2.2 which is not available", and a list of 100 packages, all belonging to KDE 4.2.2, which should be uninstalled. The culprit is the package kde4-webkitpart-4.2.2.svn958332-2.1 from kde3::backports (which, in my opinion, should not be there at all anyways). If i select "do not install kde4-webkitpart-4.2.2.svn958332-2.1" i dont get any problems. Now, the issue in this bug is, why does yast2 think that kde4-webkitpart needs upgrading, and "zypper -r up" does not? Which of the two ways to update your installation is the one to be trusted and relied on? yast2, or zypper? Reproducible: Always Steps to Reproduce: 1. add the repositories for KDE 4.2 and KDE 3 for opensuse 11.1 2. zypper -r up 3. yast2 sw_single (see above) Actual Results: see summary Expected Results: zypper and yast2 should have the same "ideas" about which packages need updating. -- 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=500382 Zheng Chen <zchen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zchen@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=500382 Arvin Schnell <aschnell@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |zypp-maintainers@forge.prov | |o.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=500382 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c1 Mathias Homann <admin@eregion.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P1 - Urgent Severity|Major |Critical --- Comment #1 from Mathias Homann <admin@eregion.de> 2009-05-05 10:42:49 MDT --- another occurence happening right now, the update banshee-1.829 (taglib-sharp-2.0.3.2-0.1.1.noarch.rpm) shows up in yast and updater applet but not in zypper... and if i _TRY_ to install this "update for banshee" it will uninstall all of beagle/kerry. funny part is, i dont even have banshee installed. i would care to suggest that "P5 - none" is a way too low priority for this. -- 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=500382 User mls@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c2 --- Comment #2 from Michael Schröder <mls@novell.com> 2009-05-05 11:29:55 MDT --- "banshee" is just the name of the update, it contains multiple packages like "taglib-sharp". I'm curious why it wants to uninstall beagle, how did you try to install the update? -- 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=500382 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c3 --- Comment #3 from Mathias Homann <admin@eregion.de> 2009-05-05 11:56:20 MDT --- several ways. from the "install" button in the updater applet i only get "some error occured" with no details whatsoever. from the package manager in yast i get the actual list of conflicts. it wants to uninstall beagle (and because of that, kerry for kde3 and kde4) because beagle depends on an older version of taglib-sharp. from "zypper -r up" i dont get anything because "zypper -r up" does not even SHOW that update as 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=500382 User mls@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c4 Michael Schröder <mls@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dmueller@novell.com --- Comment #4 from Michael Schröder <mls@novell.com> 2009-05-06 03:11:00 MDT --- Ok, but you do get a "conflicts" message, so there's no bug (aside from the zypper bug). Good. (Zypper -r up? Don't you mean 'zypper patch'? Does zypper even look at patches in "rug" mode?) Anyway, the taglib-sharp ("banshee") update seems to be broken, as it doesn't contain the beagle package. Added maintenance to CC list. -- 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=500382 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c5 --- Comment #5 from Mathias Homann <admin@eregion.de> 2009-05-06 03:22:51 MDT --- it seems that "zypper -r up" does not look at all available packages either. "zypper patch" sees the broken banshee patch and shows the same conflicts as yast2. but that's actually outside the scope of this bug... what the bug is about is that behaviour described in the initial report which is not about patches but about regular newer 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=500382 User dmueller@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c6 --- Comment #6 from Dirk Mueller <dmueller@novell.com> 2009-05-06 03:37:04 MDT --- the underlying dependency conflict over taglib-sharp and beagle in the 11.1 update repo has been solved now. -- 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=500382 User mls@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c7 --- Comment #7 from Michael Schröder <mls@novell.com> 2009-05-06 11:30:52 MDT --- #5: ok, but comment #1 was about patches so I assumed something in the patch handling is wrong. Sorry. If 'zypper -r up' is the same as 'zypper up' it won't update packages if that would result in other packages being deleted/downgraded. -- 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=500382 User dmacvicar@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c8 Duncan Mac-Vicar <dmacvicar@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 - Urgent |P2 - High CC| |dmacvicar@novell.com Severity|Critical |Normal --- Comment #8 from Duncan Mac-Vicar <dmacvicar@novell.com> 2009-05-12 09:36:55 MDT --- Wrong severity set by user. Critical means data loss. Mathias, priority field is for developers use. Changing to Normal, P2 -- 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=500382 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c9 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkupec@novell.com --- Comment #9 from Ján Kupec <jkupec@novell.com> 2009-05-13 05:00:13 MDT --- (In reply to comment #0)
i do a "zypper -r up" as root on a commandline and i get this output: sai:~ # zypper -r lu Retrieving repository 'Packman Repository' metadata [done] Building repository 'Packman Repository' cache [done] Loading repository data... Reading installed packages... No updates found. sai:~ #
to me that means "no new package versions for the stuff you have installed."
It actually means, "no installable updates found". Do 'zypper lu --all' to list all available newer version to installed packages.
Now, if i start yast2, go to "install/remove software" (yast2 sw_single), select "summary", then set the checkmark for "keep" (I see all installed packages now), then right-click somewhere in that list and choose "all in this list -> update if never version is available" i get a message telling me "plasmoid-systemloadviewer-0.6-2.36.i686 needs kdebase4-runtime >= 4.2.2 which is not available", and a list of 100 packages, all belonging to KDE 4.2.2, which should be uninstalled.
This is the same as doing 'zypper update the-packages-from-the-list' - you would get the same result as with yast here.
Now, the issue in this bug is, why does yast2 think that kde4-webkitpart needs upgrading, and "zypper -r up" does not?
Explained above.
Which of the two ways to update your installation is the one to be trusted and relied on? yast2, or zypper?
From this report i see it would be nice to document the equivalent operations of YaST and zypper on zypper's wiki. E.g. "YaST's 'Update All In This List" is
Both. In each you have several ways how to do it. Please read the manuals (man zypper, http://en.opensuse.org/Zypper, YaST help), and if you don't find answers, complain like you did now. the same as "zypper up <the-list-of-packages>" and "There is no equivalent of zypper up in YaST". Anything else we should do regarding this report? -- 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=500382 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c10 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |tgoettlicher@novell.com --- Comment #10 from Ján Kupec <jkupec@novell.com> 2009-05-13 05:01:49 MDT --- (In reply to comment #9)
From this report i see it would be nice to document the equivalent operations of YaST and zypper on zypper's wiki. E.g. "YaST's 'Update All In This List" is the same as "zypper up <the-list-of-packages>" and "There is no equivalent of zypper up in YaST".
Thomas, Duncan, please check if this is true, i'm not sure. -- 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=500382 User tgoettlicher@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c11 Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |tgoettlicher@novell.com Info Provider|tgoettlicher@novell.com | --- Comment #11 from Thomas Göttlicher <tgoettlicher@novell.com> 2009-05-14 03:42:37 MDT --- (In reply to comment #10)
(In reply to comment #9)
From this report i see it would be nice to document the equivalent operations of YaST and zypper on zypper's wiki. E.g. "YaST's 'Update All In This List" is the same as "zypper up <the-list-of-packages>" and "There is no equivalent of zypper up in YaST".
Thomas, Duncan, please check if this is true, i'm not sure.
zypper up is simliar to 1. Filter: All Packages 2. All in this list -> Update if newer version 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=500382 User admin@eregion.de added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c12 --- Comment #12 from Mathias Homann <admin@eregion.de> 2009-05-14 03:51:29 MDT --- it is actually not quite similar... yast -> install software -> summary -> all in this list -> update if newer is supposed to behave exatly the same as "zypper -r up" (without the -r zypper only handles packages for the official repositories). What this bug is about is the fact that yast, used as described above, updates MORE packages than zypper, sometimes leading to deinstallation of packages, up to a degree where a whole desktop environment gets uninstalled... rendering a machine useless. -- 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=500382 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c13 --- Comment #13 from Ján Kupec <jkupec@novell.com> 2009-05-14 10:30:13 MDT --- c#11: OK, thanx. So yast does not use solver's Resolver::doUpdate() - this is what 'zypper up' does. This command installs only installable updates and ingores any newer versions which are not installable because of dependency problems (those can be install using 'zypper up/in foo' in which case user must choose from one of the proposed solutions). The yast operation you described: 1. Filter: All Packages 2. All in this list -> Update if newer version available is (or should be) equivalent with $ zypper up <the-list-of-all-installed-packages> The following achieves the same, but also tells which of available packages are not installed: $ zypper up '*' -- 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=500382 User jkupec@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c14 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 - High |P4 - Low Severity|Normal |Enhancement --- Comment #14 from Ján Kupec <jkupec@novell.com> 2009-05-14 10:44:59 MDT --- (In reply to comment #12)
it is actually not quite similar...
yast -> install software -> summary -> all in this list -> update if newer
is supposed to behave exatly the same as "zypper -r up"
No, it's not, see c#13
(without the -r zypper only handles packages for the official repositories).
It seems like you're talking about an older zypper (but you're report is filed against openSUSE 11.1). See http://en.opensuse.org/Zypper/Changes/11.1. zypper up/lu now updates with newer versions of packages, zypper patch/lp updates via (official) patches.
What this bug is about is the fact that yast, used as described above, updates MORE packages than zypper,
yes, explained in c#13. It's not a bug actually, but the documentation can be improved, as i suggested earlier. Can we settle on that? @Thomas: we could also add the doUpdate() functionality to YaST (i thought it was already there somewhere).
sometimes leading to deinstallation of packages, up to a degree where a whole desktop environment gets uninstalled... rendering a machine useless.
well, it won't make your machine useless automatically - it just proposes some solutions to encountered dependency problems with the user's request (the request to update some package) - you actually have to choose a (bad) solution and click Finish to make your system 'useless' - but that's not a bug (sometimes there is no good solution) and it's not what this report is about -- 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=500382 User ma@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=500382#c15 Michael Andres <ma@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ma@novell.com AssignedTo|zypp-maintainers@forge.prov |tgoettlicher@novell.com |o.novell.com | --- Comment #15 from Michael Andres <ma@novell.com> 2009-10-20 05:02:45 MDT --- (In reply to comment #14)
@Thomas: we could also add the doUpdate() functionality to YaST (i thought it was already there somewhere).
So this is for the UI. -- 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=500382 https://bugzilla.novell.com/show_bug.cgi?id=500382#c Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|zypper and yast2 have |[Qt4-Pkg] zypper and yast2 |different opinions about |have different opinions |what needs updating |about what needs updating -- 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=500382 https://bugzilla.novell.com/show_bug.cgi?id=500382#c Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- 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=500382 https://bugzilla.novell.com/show_bug.cgi?id=500382#c Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[Qt4-Pkg] zypper and yast2 |[libyui-qt-pkg] zypper and |have different opinions |yast2 have different |about what needs updating |opinions about what needs | |updating -- 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=500382 https://bugzilla.novell.com/show_bug.cgi?id=500382#c16 Thomas Göttlicher <tgoettlicher@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|tgoettlicher@suse.com |mvidner@suse.com --- Comment #16 from Thomas Göttlicher <tgoettlicher@suse.com> 2014-01-21 10:12:03 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.
participants (1)
-
bugzilla_noreply@novell.com