Updating VirtualBox 7.1 keeps failing

Hello,

I manually added the repo from Oracle a while ago since it always contains newer VirtualBox versions than the OpenSuse repo does. When refreshing the repo in YaST I always have to confirm that the repo key is not trusted but in this case that’s no problem since the repo is hosted by Oracle and the fact that the key is not trusted never led to any problems regarding updates. I updated VirtualBox from that repo many times before.

However, from today updating VirtualBox keeps failing. Here is the journalctl output:

Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: qml: Package VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox selected for update
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Installing updates ("VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox") , simulate: true , untrusted: false
Jul 27 17:31:23 linux.fritz.box dbus-daemon[1106]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.40' (uid=1000 pid=2336 comm="/usr/bin/plasmashell --no-respawn ")
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box systemd[1]: Starting PackageKit Daemon...
Jul 27 17:31:23 linux.fritz.box PackageKit[9445]: daemon start
Jul 27 17:31:23 linux.fritz.box dbus-daemon[1106]: [system] Successfully activated service 'org.freedesktop.PackageKit'
Jul 27 17:31:23 linux.fritz.box systemd[1]: Started PackageKit Daemon.
Jul 27 17:31:23 linux.fritz.box PackageKit[9445]: new update-packages transaction /1_abacddeb scheduled from uid 1000
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net mobile: false
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Is net online: true
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Daemon changed
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Jul 27 17:31:23 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "dep-resolve" "(101%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Package updating: "VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox" , info: "installing"
Jul 27 17:31:26 linux.fritz.box PackageKit[9445]: in /1_abacddeb for update-packages package VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox was installing for uid 1000
Jul 27 17:31:26 linux.fritz.box PackageKit[9445]: update-packages transaction /1_abacddeb from uid 1000 finished with success after 3346ms
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "finished" "(0%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction "/1_abacddeb" finished with status "success" in 3 seconds
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Finished updating packages: ("VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox")
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Simulation finished with success, restarting the transaction
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Installing updates ("VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox") , simulate: false , untrusted: false
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "wait" "(101%)"
Jul 27 17:31:26 linux.fritz.box PackageKit[9445]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-update auth (only_trusted:1)
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "waiting-for-auth" "(101%)"
Jul 27 17:31:26 linux.fritz.box PackageKit[9445]: new update-packages transaction /2_cadcdaee scheduled from uid 1000
Jul 27 17:31:26 linux.fritz.box PackageKit[9445]: uid 1000 obtained auth for org.freedesktop.packagekit.system-update
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "setup" "(101%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "dep-resolve" "(101%)"
Jul 27 17:31:26 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "update" "(100%)"
Jul 27 17:31:27 linux.fritz.box dbus-daemon[1106]: [system] Activating via systemd: service name='org.opensuse.Snapper' unit='snapperd.service' requested by ':1.221' (uid=0 pid=9486 comm="/usr/lib/zypp/plugins/commit/snapper-zypp-plugin ")
Jul 27 17:31:27 linux.fritz.box systemd[1]: Starting DBus interface for snapper...
Jul 27 17:31:27 linux.fritz.box dbus-daemon[1106]: [system] Successfully activated service 'org.opensuse.Snapper'
Jul 27 17:31:27 linux.fritz.box systemd[1]: Started DBus interface for snapper.
Jul 27 17:31:27 linux.fritz.box packagekitd[9445]: DownloadProgressReportReceiver::start():https://download.virtualbox.org/virtualbox/rpm/opensuse/15.6/x86_64/ --VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox
Jul 27 17:31:27 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Package updating: "VirtualBox-7.1;7.1.12_169651_openSUSE156-1;x86_64;VirtualBox" , info: "downloading"
Jul 27 17:31:27 linux.fritz.box plasmashell[2336]: plasma-pk-updates: Transaction status changed: "download" "(0%)"
Jul 27 17:31:50 linux.fritz.box packagekitd[9445]: warning: /var/tmp/AP_0xIMX6nQ/VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2980aecf: NOKEY
Jul 27 17:31:51 linux.fritz.box plasmashell[2336]: PK error: "Installation has been aborted as directed." type: "internal-error"

I already refreshed the repos, but that didn’t help. Any ideas?

Run zypper up and post the full output.

Nice, such a journal, but the story starts with you trying to do the update. And we see nothing of any update command and the output it generates. I guess that that output triggered you to look in the journal, be we do not see it.

Also when telling you have something special in your repos, it is better to show a list of them zypper lr -d.

Please always try to bring your potential helpers at the same level of information as you have.

You cannot install a new version of VirtualBox if any part of VirtualBox is running.
It will fail every time.

I run 7.1.12 from Oracle with no issues.

to see if any VirtualBox is running open a terminal and type

ps -ef | grep irtual
llrainey  8734     1  0 Jul20 ?        00:09:35 /usr/lib/virtualbox/VirtualBox %U
llrainey  8766     1  0 Jul20 ?        01:13:13 /usr/lib/virtualbox/VBoxSVC --auto-shutdown --inherit-startup-pipe 19
llrainey 10851  8766 36 Jul26 ?        09:46:24 /usr/lib/virtualbox/VirtualBoxVM --comment VM1 --startvm bd3631a5-22ea-4c64-9926-653b1a0eae67 --no-startvm-errormsgbox

Sorry, I was using the Plasma PackageKit Updater, so I pasted the journalctl output. However, as someone already pointed out, zypper up gives a much more detailed output.
And doing so indeed already solved the problem:

The following package is going to be upgraded:
  VirtualBox-7.1

1 package to upgrade.

Package download size:   112.2 MiB

Package install size change:
              |     258.7 MiB  required by packages that will be installed
  -154.7 KiB  |  -  258.9 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
Retrieving: VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64 (VirtualBox)                                                                                                                                                                                (1/1), 112.2 MiB    
Retrieving: VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64.rpm ..........................................................................................................................................................................................[done (3.3 MiB/s)]
VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID a2f683c52980aecf: NOKEY
    V3 RSA/SHA256 Signature, key ID a2f683c52980aecf: NOKEY

warning: /var/tmp/AP_0xmnK7gm/VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 2980aecf: NOKEY
Repository VirtualBox does not define 'gpgkey=' URLs.
VirtualBox-7.1-7.1.12_169651_openSUSE156-1.x86_64 (VirtualBox): Signature verification failed [4-Signatures public key is not available]
Abort, retry, ignore? [a/r/i] (a): i

I didn’t remember that the Plasma updater doesn’t ask whether signature verification problems should just be ignored. Thanks for the help.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.