yast vs zypper in viewing applications

Hello all,

can someone explain me why there’s a difference beetween Yast and Zypper in viewing the installed applications ?

example : yast will see an installed opera 9.52 and zypper will tell me opera is not installed :open_mouth:

How come ?

Thanks :wink:

in console here’s what i have :


fabrice@linux-p5b5:~> su
Mot de passe :
linux-p5b5:/home/fabrice # zypper se opera
Téléchargement des meta-données du dépôt 'openSUSE BuildService - GNOME:Community' [fait]
Construction du cache du dépôt 'openSUSE BuildService - GNOME:Community' [fait]
Téléchargement des meta-données du dépôt 'openSUSE BuildService - KDE4:Factory:Desktop' [fait]
Construction du cache du dépôt 'openSUSE BuildService - KDE4:Factory:Desktop' [fait]
Téléchargement des meta-données du dépôt 'openSUSE-11.0-Updates' [fait]
Construction du cache du dépôt 'openSUSE-11.0-Updates' [fait]
Téléchargement des meta-données du dépôt 'openSUSE BuildService - KDE:Backports' [fait]
Construction du cache du dépôt 'openSUSE BuildService - KDE:Backports' [fait]
Téléchargement des meta-données du dépôt 'openSUSE BuildService - XFCE' [fait]
Construction du cache du dépôt 'openSUSE BuildService - XFCE' [fait]
Téléchargement des meta-données du dépôt 'kde4_extra_apps' [fait]
Construction du cache du dépôt 'kde4_extra_apps' [fait]
Téléchargement des meta-données du dépôt 'kde4_community' [fait]
Construction du cache du dépôt 'kde4_community' [fait]
Téléchargement des meta-données du dépôt 'Packman Repository' [fait]
Construction du cache du dépôt 'Packman Repository' [fait]
Téléchargement des meta-données du dépôt 'openSUSE BuildService - Games' [fait]
Construction du cache du dépôt 'openSUSE BuildService - Games' [fait]
Lecture des paquets installés...

S | Nom   | Résumé                         | Type
--+-------+--------------------------------+----------
i | opera | The Opera Web Browser          | paquet
i | opera | opera: version upgrade to 9.52 | correctif
linux-p5b5:/home/fabrice # zypper up opera
Lecture des paquets installés...
Le paquet 'opera' n'est pas installé. 
Rien à faire.
" translation : opera package is not installed / nothing to do]"


I noticed that you were using the su command without the “-” option. The “-” option will give you root’s paths as well as permissions. That might not make a difference but you never know.
When I was using Fedora I’d sometime get inconsistencies between the CLI yum and the GUI yumex. These could be cleared up by cleaning out the metadata files every now and then, and or rebuilding the rpm database.

if it could only be that :frowning:

here’s what i’ve got now with su -

 # su -
linux-p5b5:~ # zypper up opera
Downloading repository 'openSUSE BuildService - Mozilla' metadata [done]
Building repository 'openSUSE BuildService - Mozilla' cache [done]
Downloading repository 'kde4_extra_apps' metadata [done]
Building repository 'kde4_extra_apps' cache [done]
Downloading repository 'kde4_community' metadata [done]
Building repository 'kde4_community' cache [done]
Downloading repository 'openSUSE BuildService - Virtualisation (VirtualBox)' metadata [done]
Building repository 'openSUSE BuildService - Virtualisation (VirtualBox)' cache [done]
Reading installed packages...
**Package 'opera' is not installed.**
Nothing to do.
 

Yeah, that msg is a bit misleading, given that input,
but read the fine print on the man page! [You are just assuming you
know the syntax. But, yes, I agree that it is
sort of a bug, since you were not the first one to
mention this.] :slight_smile:

The expected syntax is:

zypper up -t package opera
[which should yield: No update candidate for ‘opera’.]

https://bugzilla.novell.com/show_bug.cgi?id=407238
https://bugzilla.novell.com/show_bug.cgi?id=404430
https://bugzilla.novell.com/show_bug.cgi?id=395480

The post is fabulous and it shows the hard work that has been done behind creating the post. I am really grateful and thank you so much.


Construction Games](http://constructiongames.net)