After a fresh opensuse 13.1 install I got an error “yast2 ui syntax error couldn’t load plugin qt-pkg” when attempting to add multimedia codecs via this page.
The reason was that Yast software management failed with this message, rendering me unable to do any software management.
As I did some searching and people seem commonly to suggest complete reinstall, which I didn want to do, I ended up using pin (which I luckily installed) and found this would solve the problem:
insert the install DVD
mount it and chdir to the mount point
enter “zypper in ./suse/x86_64/libyui-qt-pkg5-2.42.13-2.1.5.x86_64.rpm”
After doing this Yast worked fine.
P.S.: Please don blast me for posting this. I don post this to defame OpenSuse. I like OpenSuse and I consider telling about solutions for problems I encountered a way to give something back to the community.
Thank you for posting this. It is always good to see a solution for things others may also stumble into.
BTW, I am (like you I assume) curious how this could happen. Not something many others have after a installation.
Like you, I assume a new install wouldn’t have helped. A computer is very good at repeating things. Thus when you re-install with the same parameters, you would get the same result of course.
This should not be necessary, at least if you do a KDE installation.
Probably you got YaST GTK installed (i.e. libyui-gtk-pkg5), and tried to start the Qt version?
This cannot work of course.
So, what did you choose to install in the first place?
But you should have a working YaST (either Qt, Gtk, or ncurses) directly after installation. If not, you experienced a bug and should report it.
I suppose the cause for this could be that in the installation process, I checked the software installation details and added a lot of packages that aren’t installed by default.
This took a long time to browse the software installation detail selections…
Maybe some package I added broke Yast?
As I didn want to repeat the effort to browse hundreds of packages, I looked for an alternative to a reinstall attempt.
If I can help to find the reason for this strange behaviour by providing some data, maybe some installation logs or the like, please say what I should submit.
Ok, but what type of installation did you choose as a start? (KDE, GNOME, …)
If you manually override the automatic package selection, you probably cannot really blame the installer when something’s not working as it should after the installation.
Maybe some package I added broke Yast?
Well, the only package that could “break” it IMHO is one of the libyui-gtk packages. If you select one of them, libyui-qt will not get installed automatically any more, and only the Gtk version of YaST will work.
YaST does not explicitely require libyui-gtk or libyui-qt, it just requires one of them.
If I can help to find the reason for this strange behaviour by providing some data, maybe some installation logs or the like, please say what I should submit.
Well, the installation logs are in /var/log/YaST/.
I suppose you do have libyui-gtk-xxx installed (and did get that automatically, so I do not really see a bug here.
Please post: “rpm -qa | grep libyui” for confirmation.
The only possible problem I see is that you obviously wanted to start YaST QT, which didn’t work because you only had YaST GTK (i.e. libyui-gtk*) installed. This is mainly speculation, but according to the package dependencies, that is the only thing I can imagine, unless you chose “break xxx by ignoring some of its dependencies” during the installation (which would make it a user error even more so ).
> P.S.: Please don blast me for posting this. I don post this to defame
> OpenSuse.
Why would we do that, or think the other? :-?
> I like OpenSuse and I consider telling about solutions for
> problems I encountered a way to give something back to the community.
Well, it looks so far as if you simply did the wrong selection. You
probably selected the gnome or the simple pattern, in which case the
“yast qt” flavour is not installed. If you do that (install the simple
pattern, or the gnome pattern), you simply have to know what else to
install to have it (yast in qt flavour)
Next time, ask. It is possible that someone already knows about your
“issue”.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)