I did a clean install today of OpenSuse 13.2 (the computer Had Opensuse 13.1).
After installing some repository’s that i needed, the ones in the screenshot, i did an update by running zypper update in the terminal. I did all the updates.
After a restart, several preinstalled applications were missing, like okular, libreoffice, ktorrent, amarok etc.
Is there any reason why this did happen on my desktop computer? I have a notebook also and there are the same repository’s activated. However, no problems on my notebook computer with the updates.
Did i something wrong, or did i have bad luck?
Anyone here that had the same issues?
Is updating by the terminal recommended or should i use the GUI (Yast) for that?
I fixed it by reinstalling the missing applications. I ran another update and the problem didn’t come back.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for Bluetooth
Bus 003 Device 003: ID 04b8:0818 Seiko Epson Corp. Stylus CX3700/CX3800/DX3800
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
No.
“zypper update” should never remove anything, unless there are conflicts. And even then it would ask you how to resolve the conflict.
Did you just run “zypper update”, or did you add some options, like “–non-interactive” and “–force-resolution”? That would explain automatic removal of things.
Is updating by the terminal recommended or should i use the GUI (Yast) for that?
It doesn’t matter. Use what you prefer. In the end everything uses libzypp anyway, and this in turn just uses rpm.
I fixed it by reinstalling the missing applications. I ran another update and the problem didn’t come back.
Were the packages missing and you installed them again, or were they still installed and you reinstalled them (in YaST “Update Unconditionally”)?
There is a difference…
I ran ‘zypper update’ without any other commands. There were no conflicts.
I reinstalled the software by ‘zypper install amarok okular libreoffice ktorrent’.
Still pretty strange i think. Possibly a bug?
The most important is that it is resolved for now, however i’m worried this happens again.
There is another strange thing: when i run zypper update, i get this output:
The following package is going to be upgraded:
libqt5-qtbase-platformtheme-gtk2
1 package to upgrade.
Overall download size: 78.3 KiB. Already cached: 0 B No additional space will
be used or freed after the operation.
Continue? [y/n/? shows all options] (y): y
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Continue? [yes/no] (no): y
I think the file conflict is strange, and The following 519 package updates will NOT be installed is also strange.
I think these are a lot of packages.
Ok, this would only have effect when the packages are not installed.
Otherwise it would not install anything, but just tell you those packages are installed already.
Still pretty strange i think. Possibly a bug?
Yes, strange.
I never heard about something like this before, so it’s definitely not a general problem in zypper I’d dare to say.
Maybe the zypper history or the log would tell in more detail what happened?
The package history is located in /var/log/zypp/history, the log is /var/log/zypper.log.
The most important is that it is resolved for now, however i’m worried this happens again.
Well, as this never happened to me at all in the 12 years I am using (open)SUSE (and I use “zypper up” regularly), I would rather not expect that to happen again.
Ok, zypper exists only since 2005, but still…
Actually the most likely reason for something like that I could imagine would be problems with the harddisk/filesystem (probably an unclean shutdown) or even the RAM. This can cause all sorts of strange problems.
Is that the complete output?
It should tell you what the conflict actually is I think.
Maybe try to run “zypper ve” to verify your packages.
and The following 519 package updates will NOT be installed is also strange.
I think these are a lot of packages.
No, this is not strange at all I’d say.
This is caused by the amount of repos you added.
YaST/zypper do not switch packages to versions of other repos automatically (“vendor stickiness”). That message tells you that for those packages, higher versions in other repos exist but are not installed automatically. You’d have to explicitely force that, by specifying the exact version or using the “Versions” tab in YaST. You could also allow “vendor change”, but this is actually not really recommended, especially with that many repos.
Is it possible that one of these packages is the problem?
No. Absolutely no package should be able to force zypper to remove another package without telling you in the summary.
And even if there was a package in that list that obsoletes/replaces another one of your missing packages, it would have been removed again when you reinstalled the other packages.
And it wouldn’t explain all those packages missing.
Dear Carlos, yes indeed. Google Talk Plugin is installed via the rpm package on their website. It’s all clear for me. Thank you both for the help. Do I need to close this topic?
I did try to recreate the problem. I came to the following conclusions after installing OpenSuse in VirtualBox (instead of a psychical machine):
When i do a clean install, Okular, mp3 codecs, libreoffice and other applications are missing.
When you do ‘zypper up’ the mp3 codecs will be installed.
If you run ‘zypper DUP’ okular, touchpad configuration, marble etc will be installed.
There are no more missing applications after running zypper up and zypper dup.
Do i need to open a bug report? or am i the only one? strange thing is that it also happens when i do a clean install in VirtualBox.
I then also need to run zypper dup to get all the applications installed.
I was thinking, could it be that the OpenSuse LIVE CD (KDE) does not include above applications?
Anyways, i hope that this topic can help other people with this problem too (if they have).
yes that you install from LiveCD explains quite bit as the space on the CD is very limited and not enough for all applications . Once you run zypper up and dup from the online repos a lot more packages are available.
but also as an explanation
zypper up (updates) has vendor-stickiness - so only updates from the same repo are installed
zypper dup (distribution update) also install updates from another repo when the version is higher (and the priority is set accordingly)
> I was thinking, could it be that the OpenSuse LIVE CD (KDE) does not
> include above applications?
Yes.
Many (big) applications are not installed initially when you install
from the lives, they are too small. But they are not removed
automatically, either.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)