Online updates for 11. 2 and 11.0 Corrupted Yast and Zypper

There must be something wrong with the latest online updates.

Using 11.2 64 bit on Amd 3200 64
I installed 4 Days ago

After running a online update yesterday with Yast which was completely finished, starting the machine today, I wanted to add a program
Yast reports “UI Syntacs Error Couldn’t load plugin qt_pkg”

Using 11.0 on P2800
I run an online update 3 days ago.
Today I started, the updater reported updates. When I accepted I got the error message “DBus error :Unable to get transaction id from packagekit.”

Disabling the updater, starting Yast, I got “error initializing the repositorys.Parse error.” and “UI Syntacs Error Couldn’t load plugin qt_pkg”

On both machines I gave the command
rpm --rebuilddb

On the 11.2 Yast started without error.
I wanted to instal a program when the download was completed I got again the message “UI Syntacs Error Couldn’t load plugin qt_pkg”

On the 11.0 Yast installed a small Program without error.
When I opened Yast online update, I got the "parse error again.
When I say o.k. there, Updates are shown and installed.
However using the updater kit it reports still “DBus error : Unable to get transaction id from packagekit”.

Questions:

a)How can I fix the Problem of 11.2

b)How can I fix the DBUS error of the 11.0

(On an 9.0 I had to deinstall Rug and thereafter run only Yast)
I can deal with the Parser error myself, checking all Repositories should do it)

Thank You
Willi

The conventional Wisdom around here seems to perform a rebuild of your package database. Open up a Terminal session (konsole will do) and enter the following commands:

su -
password:******
rpm -vv --rebuilddb

This should rebuild your repository database. You could tell about which repositories you are using. It is kind of odd that two computers have almost the same problem at the same time. Also, consider that internet speed can have an affect on the update process. Too many internet errors can cause timeout problems with your updates.

Thank You,

In both cases, quit the updater applet.
Then as su, do

zypper up

then to install

zypper in <package_name>

Repositories

For the 11.2 unit

I used only the _64x86 DVD
(and the update repos installed by the intallation.

For the 11.0 I used

URL: Index of /debug/distribution/11.0/repo/oss
URL: Index of /source/distribution/11.0/repo/oss
URL: Index of /Linux/Packman//suse/11.0
URL: Index of /distribution/11.0/repo/non-oss
URL: Index of /repositories/security:/passwordmanagement/openSUSE_11.0
URL: ftp://ftp.gwdg.de/%2Fpub/linux/misc/suser-jengelh/SUSE-11.0/
URL: Index of /pub/videolan/vlc/SuSE/11.0/
URL: Index of /update/11.0

I soved the problems for:

11.2

The command rpm -vv --rebuilddb caused Yast to turn ‘wild’ when started. I saw sometimes very short a message it was missing a libary “qt-pkg-2…”
I had for the first time in 15 years to kill the yast-processes.

after some research I found that there was a wrong file version.

I finally created the symbolic link ln -s libzypp.so.631.0.4 libzypp.so.619

gave the command rpm -vv --rebuilddb

thereafter I started the updater uplet.

It did an complete update and thereafter Yast and Zypper worked fine again.

11.0

The rpm -vv --rebuilddb worked fine and after checking and correcting a small difference between the Yast- and Zypper-repositories the parser error disappeart too.

Thanks all for your kind help
Willi

I had a similar problem.
While upgrading softwares through Install Softwares the
programme aborted and afterwards the Package Manager could
not be accessed.
Now I found in the Forum the solution:

rpm --rebuilddb

Everything is now working.
Thanks.

I came across a very similar problem…

openSuSE 11.2 X86_64 KDE Desktop

I noticed after an update that the Update Applet showed I had updates available, but when I clicked on it I got an error box with the message “DBus error : Unable to get transaction id from packagekit”. This was a couple of weeks ago. Tonight I noticed yast wasn’t working either, clicking on ‘Online Update’ did nothing. Same for Software Management. I tried:

rpm -vv --rebuilddb

Restart session. Same error.

Then tried:

cd /usr/lib64/
ln -s libzypp.so.631.0.4 libzypp.so.619

Updater Applet still had the DBUS error, but now the Online Update in yast worked! Ran the update, restarted the machine and everything works. No more Update errors.

Question: Shouldn’t there be a link to libzypp.so from libzypp.so.613.0.4 in that directory? I’m gonna try deleing the libzypp.so.619 link and making a libzypp.so link to libzypp.so.613.0.4 and report back. :slight_smile:

Test case: rm /usr/lib64/libzypp.so.619. Restart session.
Test result: No change, Update Applet and yast work as expected.

No need for libzypp.so methinks.

Thanks to Willi for the original solution.