[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
http://bugzilla.novell.com/show_bug.cgi?id=500382
Arvin Schnell
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
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
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
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
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
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
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
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
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
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
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
(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
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
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
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
@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
https://bugzilla.novell.com/show_bug.cgi?id=500382
https://bugzilla.novell.com/show_bug.cgi?id=500382#c
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=500382
https://bugzilla.novell.com/show_bug.cgi?id=500382#c
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=500382
https://bugzilla.novell.com/show_bug.cgi?id=500382#c16
Thomas Göttlicher
participants (1)
-
bugzilla_noreply@novell.com