Is software update via Cockpit on Tumbleweed safe?

Hi. I have a Tumbleweed server running with cockpit and cockpit-packagekit installed. Today it told me there are software updates so I clicked install and rebooted. All went fine. However, in the back of my mind I understand tumbleweed must be upgrade with:

zypper dup

And from what I can tell Cockpit uses:

pkcon get-updates

So, assuming the above is right, is Cockpit a safe way to update Tumbleweed long term, or should I just use the terminal and zypper dup each update?

Thanks
Nick

I would stick with zypper dup on Tumbleweed.

This does not install anything, it just shows available updates. So it certainly cannot be used to update.

PackageKit zypper backend does exactly that on Tumbleweed (at least, by default, may be it is possible to override it). The primary difference is that zypper dup offers interactive problem resolution and PackageKit does not (again, I am not sure whether this is inherent in PackageKit API or just not implemented in available frontends).

Good to know, thanks! I do prefer having the problem resolution option myself.

Thanks both. So does this mean that a packagekit update on Tumbleweed translates to zypper dup? In other words, this would make an update via Cockpit equivalent to zypper dup, just without the additional safeguards you get from updating via the termial?

Oh, and of course it is pkcon update I should have quoted. Here’s the reference: Package Updates

Thanks
Nick

Yes, that’s correct.

That’s a great help - many thanks again both of you for the advice.