I upgraded to tumbleweed from 12.1 KDE edition and I can update packages just fine using zypper from the command line. “# zypper update” shows a list of packages to update and I can choose to install or not install them. However, when I go to Yast and try the update tool, it lists nothing and acts like everything is okay. What’s going on here? Is something messed up with my installation?
Try YaST (Enter Root Password) / Software / Software Management / Package / All Packages / Update If Newer Version Available. If there are any conflicts and there is an option to Not install the conflicting program, then do that. Otherwise here is my general advise:
To avoid package problems, the most important thing to do is to: NEVER
ignore a dependency, even if YaST/zypper/updater gives you such an option!
In general, never switch to an >inferior< architecture and the solution is
most often to just switch Vendor to the >Packman< repository. So changing
the vendor is OK, but >ignoring< dependencies is never a very good idea!
Tumbleweed packages are tested specially for dependency issues (i.e. these are fixed before the packages are made available to Tumbleweed users). The tests are done against a specified suite of repositories and for updates that are performed by running the command “zypper dup”. So the way to proceed successfully with Tumbleweed is (a) to get the repositories correct and (b) to update by running “zypper dup”. Of course, there are specialty repos you can add and package-specific updates you can do, but generally speaking, “zypper dup” with the correct repos attached is the way to go. For details, go here: How to Upgrade openSUSE 12.x to Tumbleweed
Footnote: the Tumbleweed repos won’t have much in them ATM or much flowing in until the packager, Greg K-H, returns from Xmas hols.
It’s not that tumbleweed is dormant and there’s no packages to update, it’s just that what zypper shows and what Yast update shows are completely different. ‘#zypper update’ lists X number of packages to update, while Yast software update shows absolutely nothing.
Yes I know, and the footnote was only for interest, an aside. What I wanted to emphasise is that there are (as you pointed out) various ways to apply updates to openSUSE and Tumbleweed. They were designed for openSUSE. For Tumbleweed you should generally use “zypper dup” because it’s been designed to work that way.
And I note that “zypper update” is different from “zypper dup”. I don’t use “zypper update” because it doesn’t allow for vendor changes such as occur occasionally with Tumbleweed.
That explains it. So zypper should be used (zypper dup, specifically) for updating packages? And the yast update…just don’t worry about it?
Generally speaking that a “yes”.
There are plenty of special occasions when I use Yast’s Software Management modules, but not for doing updates.
> It’s not that tumbleweed is dormant and there’s no packages to update,
> it’s just that what zypper shows and what Yast update shows are
> completely different. ‘#zypper update’ lists X number of packages to
> update, while Yast software update shows absolutely nothing.
YaST update does patches only.
The same can be done with zypper:
‘zypper up -t patch’
No version updates in those, just patches.
‘Zypper up’ does all updates, also version updates, but no vendoe changes.
‘Zypper dup’ does even those.
But both those last things there can also be achieved with YaST.
openSUSE 11.4 (x86_64) 18.104.22.168-0.9-default main host
openSUSE 12.1 (x86_64) 3.1.1-48-desktop Tumbleweed in VirtualBox
openSUSE 12.1 (i586) 3.1.0-1.2-desktop in EeePC 900