Using Yast online update versus zypper update

When I use Yast Online Update it shows no needed patches. When I use the command line and try ‘zypper update’ it shows:


The following 44 package updates will NOT be installed:
cpp6 gcc6 gcc6-32bit gcc6-c++ gcc6-c+±32bit libfftw3-3 libfreebl3 libmozjs-17_0 libnsssharedhelper0 libsoftokn3 libstdc++6-devel-gcc6 libstdc++6-devel-gcc6-32bit llvm llvm-devel MozillaFirefox-branding-openSUSE
mozilla-kde4-integration mozilla-nss mozilla-nss-certs MozillaThunderbird python3-bottle python3-cairo python3-coverage python3-nose python3-pip python3-py python3-pycurl python3-requests python3-setuptools
python3-simplejson python-cairo python-cffi python-configobj python-cryptography python-decorator python-enum34 python-gtk python-idna python-ipaddress python-numpy python-pyasn1 python-pycparser python-pyOpenSSL
python-pyudev python-six

The following 3 NEW packages are going to be installed:
kernel-default-4.4.87-18.29.1 libmp3lame0 libtwolame0

The following application is going to be REMOVED:
Konsole

The following 161 packages are going to be upgraded:
alsa bind-libs bind-utils cpio cryptsetup cvs dconf device-mapper dirmngr dnsmasq dos2unix ft2demos glibc glibc-32bit glibc-devel glibc-devel-32bit glibc-extra glibc-locale glibc-locale-32bit
gsettings-backend-dconf gstreamer-plugins-bad gstreamer-plugins-base hwinfo ImageMagick iproute2 java-1_8_0-openjdk java-1_8_0-openjdk-headless kdelibs4 kdelibs4-core konsole konsole-part libasound2
libasound2-32bit libavcodec57 libavformat57 libavutil55 libcryptsetup4 libdconf1 libfreebl3 libfreetype6 libfreetype6-32bit libgcrypt20 libgcrypt20-32bit libgnutls28 libgraphite2-3 libgraphite2-3-32bit
libgstadaptivedemux-1_0-0 libgstallocators-1_0-0 libgstapp-1_0-0 libgstaudio-1_0-0 libgstbadaudio-1_0-0 libgstbadbase-1_0-0 libgstbadvideo-1_0-0 libgstbasecamerabinsrc-1_0-0 libgstcodecparsers-1_0-0
libgstfft-1_0-0 libgstgl-1_0-0 libgstmpegts-1_0-0 libgstpbutils-1_0-0 libgstphotography-1_0-0 libgstriff-1_0-0 libgstrtp-1_0-0 libgstrtsp-1_0-0 libgstsdp-1_0-0 libgsttag-1_0-0 libgsturidownloader-1_0-0
libgstvideo-1_0-0 libgstwayland-1_0-0 libharfbuzz0 libharfbuzz-icu0 libical1 libkde4 libkdecore4 libKF5Auth5 libksuseinstall1 libltdl7 libltdl7-32bit liblua5_1 libMagickCore-6_Q16-1 libMagickWand-6_Q16-1
libmwaw-0_3-3 libnetpbm11 libopenjpeg1 libply4 libply-boot-client4 libply-splash-core4 libply-splash-graphics4 libpulse0 libpulse0-32bit libpulse-mainloop-glib0 libQt5Concurrent5 libQt5Core5 libQt5DBus5
libQt5Gui5 libQt5Network5 libQt5OpenGL5 libQt5PrintSupport5 libQt5Sql5 libQt5Sql5-mysql libQt5Sql5-sqlite libQt5Test5 libQt5Widgets5 libQt5Xml5 libQtQuick5 libsoftokn3 libswresample2 libswscale4 libsystemd0
libsystemd0-32bit libtag1 libtag_c0 libtirpc3 libtirpc-netconfig libudev1 libwacom2 libwacom-data libXdmcp6 libXi6 libXi6-32bit libzypp lvm2 MozillaFirefox mozilla-nspr mozilla-nss mozilla-nss-certs
myspell-dictionaries myspell-lightproof-en netpbm nscd openssh openssh-helpers plasma5-pk-updates plymouth plymouth-dracut plymouth-plugin-label-ft plymouth-plugin-script plymouth-scripts pulseaudio
pulseaudio-bash-completion pulseaudio-module-bluetooth pulseaudio-module-jack pulseaudio-module-lirc pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio-utils pulseaudio-utils-32bit python-pyinotify
python-simplejson rpcbind ruby2.1-rubygem-gem2rpm sed shadow smartmontools systemd systemd-32bit systemd-logger systemd-sysvinit taglib udev yast2-pkg-bindings zypper

161 packages to upgrade, 3 new.


Huh ?

Does anybody know what is going on ? I can hardly believe that a ‘zypper update’ is going to remove the Konsole and install 3 n ew and 161 updates when Yast Online Update tells me I have no updates to make.

I haven’t read your long story, but act on the title.

YaST Online Update is the same as zypper patch (not zypper update).

And please, when showing what you see on a terminal, copy complete (prompt, command, output, next prompt) and paste it betweenn CODE tags in your post. You gethe CODE tags by clicking on the # button in the toole bar off the post editor. What we now have is a lot of output, but no idea what command created it.

You are right that I should have pasted it within Code tags.
I did say in my OP that the output was from the “zypper update” command.

Are you telling me that Yast Online Update does not really update my system to the latest changes in the online repositories ? If so, that is really a surprise to me, and I then have little idea why Yast Online Update actually exists, as well as not understanding why there is no Yast functionality to update my system.

Yes, I fully understand that you try to provide correct information. But we think that it is easier to include the command (and the prompts) in the mouse sweep, then adding such explanations manually. Nobody tries to cheat on purpose, but nevertheless many times those explanations contain conclusions, leave out details the poster thinks unimportant, etc. Thus we like to see the simple, unchanged and unabridged text as it was on the system.

I tell you that YaST Online Update does the same as zypper patch. I assume that you can find in the man page of zypper what zypper patch is supposed to do. Patches are offered in the Update repos that belong to the OSS and non-OSS repos of the official distribution. Thus zypper patch will bring your official openSUSE version “up-to-date” (Security and Recommended patches).

zypper up will install all newer versions of installed packages from all enabled repos without vendor change. It will include what zypper patch would do.

I am not aware of a feature in YaST > Software > Software Management that does the same as zypper dup in one click. Personally I do this repo by repo (only have Packman to do weekly and a few others I do occasionally). This by using the Repo View > select the repo > in the list right-click and choose All in this list > update when a newer version is available.
You could of course also create a list of all installed packages at right (repo independent) and then do the same in that list.

II hope it is more clear now what I was (trying to) tell you.

Thanks ! I had never realize that Yast Online Update did not update my system by updating packages with available newer releases. I think that the name is a complete misnomer. It should really be called Yast Online Patch. Well, now I know. I find it funny that Yast, with all its functionality, has no GUI facility for updating packages with newer package releases. I understand this can be done through the Software Updater, as well as by ‘zypper update’.

I ran into this problem when using the System Upgrade command-line techniqie to go from Leap 42.2 to 42.3. I was successful, but now I know to use the Software Updater to keep my system up to date. I would not say that the Software Updater applet has a great GUI interface <g>, but at least it works. I do found it a bit silly that in OS you have to use two completely separate GUI apps to keep your system up to date. I have never run into as Linux distro before where that was needed. But OS is still a joy to use, and has always worked verty well for me.

You are welcome.

I agree that YaST Online Update (you) is a bit of a misnomer as it does the same as zypper patch. Probably this is grew historically. In fact it brings your “official” openSUSE up-to-date.
But many people think that it will do the same with all extra repos they added.

I never use the update applet. Haven’t even installed it, nor the underlying PacketManager. It is not an openSUSE solution, but added by the desktop developers. But that is my purely personal decision.

I do not know exactly what you mean by bringing the “official” openSUSE up-to-date. If there is an update to a package in the official openSUSE repositories, the YaST Online Update does not apply that update, does it ? So even considering the official openSUSE repositories, it does not bring openSUSE up to date in my mind. I understand that many people see this as adequate, and do not need to update their packages for any given openSUSE release.

Removing an application doesn’t seem to mean anything much. Removing a package is more significant.

My experience: If I use only the default repos that were set up by install, the Yast online update is fine. If I use other repos, then I need “zypper update”.

At the moment, I’m using only the default repos and packman. So I see online update doing everything except packman. I follow that with a “zypper update” to bring the packman stuff up to date.

When I have used the KDE-extra repo, I also needed “zypper update” for that.

The desktop update applet should handle all. But I prefer to turn that off, and use online update and zypper on a schedule that is convenient for me. I prefer to update just before shutting down or rebooting. The update applet wants to update just after booting.

Please re-read all I said.

In short:
A (security or recommended) patch is published in (on of he two) Update repos. You can install them by

  • YaST > Oline update (because that is made for that task);
  • zypper patch (because it installs patches and that what they are)
  • zypper update (because that includes the functionality of zypper patch, but it will also in stall newer versions on other repos you that you may have enabled and it will do so without change of vendor).