Automatic updates fail

Hi Folks.

Since some weeks ago I’m not able any more to update the system. This affects only the automatic updates after opening a session. When the notification little screen pops up and is left clicked, the main window is displayed listing all collected updates. When clicking on the “Install updates” button, a new error window is displayed stating: “Failed to check for authentication: GDBus.Errorr : org.freedesktop.PolicyKit1.Error.Failed: Action org.freedesktop.packagekit.system-update is not registered”.
When updating the system from Yast “On-line update”, it works but not all applications are updated, only the system.
Travelling on the internet I’ve read some posts but for Leap 42 and not specific for OpenSuse 13.2

Any answers ?

Antonio.

Open a terminal window and do


sudo zypper clean
sudo zypper ref
sudo zypper up

Most likely the cache still holds some packages which have newer versions available. The first command cleans that cache. The second will refresh the content your system thinks the repos have. The third will download and install the packages ( you need to confirm that though ).
If something goed wrong, then copy and paste the output here.

Hi](https://forums.opensuse.org/member.php/783-Knurpht) **Knurpht.

**](https://forums.opensuse.org/member.php/783-Knurpht)Everything ran ok. Thanks.
I’ll wait until next update.

Antonio.

Despite the fact that the above procedure ran perfectly well, today the system has found two more updates. The system update window popped up, I pushed onto the button update and got the same error message as on the first message of the thread. This means that a workaround works but this is nor a solution, something is still missing. One more precision, a few months ago, the updates had no problem at all which means that some update corrupted the system.
OpenSuse 13.2, XFCE
Antonio

I think that’s a “systemd” issue.

Have you rebooted since the last systemd update?

Have you made any pam changes that might interfere with the pam entry for systemd?

(Those are intended only as rhetorical questions that might hint at where the problem is.)

Have you rebooted since the last systemd update?
Yes

Have you made any pam changes that might interfere with the pam entry for systemd?
No as far as I can remember

Antonio

Try to reinstall PackageKit:

sudo zypper in -f PackageKit

The file that registers the “org.freedesktop.packagekit.system-update” polkit action may have gotten corrupted or deleted somehow.
Some time ago a few other users did have the same problem…
https://forums.opensuse.org/showthread.php/519080-Software-Updates-broken?p=2788184#post2788184

Hi wolfi323.

Reinstalling the package has given a perfect solution. This morning, a new update was requested for two package updates and no more error happened.
Thanks a lot for your help. I will apply it on the other half dozen servers.

Antonio.