Virtualization repo keys expired?

leap 16.0, x64

suddenly i can not update/upgrade my virtualbox packages any more from:

3 | Virtualization | Virtualization (16.0) | Yes | (r ) Yes | Yes | - | 99 | rpm-md | https://download.opensuse.org/repositories/Virtualization/16.0/ |

zypper lu:

zypper lu
Loading repository data...
Reading installed packages...
S  | Repository            | Name                   | Current Version                        | Available Version                      | Arch
---+-----------------------+------------------------+----------------------------------------+----------------------------------------+-------
v  | Virtualization (16.0) | virtualbox             | 7.2.20-Virt.1600.6.4                   | 7.2.20-Virt.1600.6.6                   | x86_64
v  | Virtualization (16.0) | virtualbox-host-source | 7.2.20-Virt.1600.6.4                   | 7.2.20-Virt.1600.6.6                   | noarch
v  | Virtualization (16.0) | virtualbox-kmp-default | 7.2.20_k6.12.0_160000.38-Virt.1600.6.1 | 7.2.20_k6.12.0_160000.39-Virt.1600.6.4 | x86_64
v  | Virtualization (16.0) | virtualbox-qt          | 7.2.20-Virt.1600.6.4                   | 7.2.20-Virt.1600.6.6                   | x86_64

zypper up (dup) messages:

The following 3 packages are going to be upgraded:
  virtualbox virtualbox-host-source virtualbox-qt

The following NEW package is going to be installed:
  virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4

3 packages to upgrade, 1 new.

Package download size:
            |      54,6 MiB  overall package size
       0 B  |  -   54,6 MiB  already in cache

Package install size change:
              |     144,1 MiB  required by packages that will be installed
     2,4 MiB  |  -  141,7 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
In cache virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64.rpm                                                                                                                                                                                             (1/4), 914,8 KiB    
In cache virtualbox-7.2.20-Virt.1600.6.6.x86_64.rpm                                                                                                                                                                                                                           (2/4),  27,4 MiB    
In cache virtualbox-qt-7.2.20-Virt.1600.6.6.x86_64.rpm                                                                                                                                                                                                                        (3/4),  25,0 MiB    
In cache virtualbox-host-source-7.2.20-Virt.1600.6.6.noarch.rpm                                                                                                                                                                                                               (4/4),   1,3 MiB    

Checking for file conflicts: ...............................................................................................................................................................................................................................................................[done]
error: Key a193fbb572174fc2 (Virtualization OBS Project <Virtualization@build.opensuse.org>) expired on 2026-10-13 20:16:08
warning: /var/cache/zypp/packages/Virtualization/x86_64/virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 72174fc2: NOTTRUSTED
error: Key a193fbb572174fc2 (Virtualization OBS Project <Virtualization@build.opensuse.org>) expired on 2026-10-13 20:16:08
error: Key a193fbb572174fc2 (Virtualization OBS Project <Virtualization@build.opensuse.org>) expired on 2026-10-13 20:16:08
        package virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64 does not verify: Header V3 RSA/SHA256 Signature, key ID 72174fc2: NOTTRUSTED
(1/4) Installing: virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64 ....................................................................................................................................................................................................[error]
Installation of virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64 failed:
Error: Subprocess failed. Error: RPM failed: Command exited with status 1.

i did import (rpm --import …) that key file from:

https://download.opensuse.org/repositories/Virtualization/16.0/repodata/repomd.xml.key

so what now? where is the trust problem or how and why did all my previous zypper up for this virtualbox stuff work in the recent months and year(s)?

why is there never? a concept of something like a chain of keys and their successors and predecessors or similar ideas? thanks for help.

https://bugzilla.opensuse.org/show_bug.cgi?id=1284494

There are quite some bugreports regarding this topic. If the metadata of a repo does not change, the keys do not get refreshed. As a workaround you need to delete the expired key and import the fresh ones.

https://bugzilla.opensuse.org/show_bug.cgi?id=1285409

1 Like

so there is a key package bug or something? so then i:

rpm -qa gpg-* | grep -i fc2
gpg-pubkey-72174fc2-66afc568

and then:

rpm -qi gpg-pubkey-72174fc2-66afc568 
Name        : gpg-pubkey
Version     : 72174fc2
Release     : 66afc568
Architecture: (none)
Install Date: Sun 18 Jan 2026 03:42:21 PM CET
Group       : Public Keys
Size        : 0
License     : pubkey
Signature   : (none)
Source RPM  : (none)
Build Date  : Sun 04 Aug 2024 08:16:08 PM CEST
Build Host  : localhost
Packager    : Virtualization OBS Project <Virtualization@build.opensuse.org>
Summary     : Virtualization OBS Project <Virtualization@build.opensuse.org> public key
Description :

and then remove this package

sudo rpm -e gpg-pubkey-72174fc2-66afc568

and then force the virtualization repo again to refresh:

sudo zypper ref --force
....

Forcing raw metadata refresh
Looking for gpg keys in repository Virtualization (16.0).
  gpgkey=https://download.opensuse.org/repositories/Virtualization/16.0/repodata/repomd.xml.key

New repository or package signing key received:

  Repository:       Virtualization (16.0)
  Key Fingerprint:  55A0 B34D 4950 1BB7 CA47 4F5A A193 FBB5 7217 4FC2
  Key Name:         Virtualization OBS Project <Virtualization@build.opensuse.org>
  Key Algorithm:    RSA 2048
  Key Created:      Tue 29 Sep 2026 08:20:03 PM CEST
  Key Expires:      Thu 07 Dec 2028 07:20:03 PM CET
  Rpm Name:         gpg-pubkey-72174fc2-6abc0153
.....

… wow and yes… thanks… that helped… it is able to install update upgrade those packages now…

sudo zypper dup
Refreshing service 'openSUSE'.
Loading repository data...
Reading installed packages...
Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Computing distribution upgrade...

The following 3 packages are going to be upgraded:
  virtualbox virtualbox-host-source virtualbox-qt

The following NEW package is going to be installed:
  virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4

3 packages to upgrade, 1 new.

Package download size:
            |      54,6 MiB  overall package size
       0 B  |  -   54,6 MiB  already in cache

Package install size change:
              |     144,1 MiB  required by packages that will be installed
     2,4 MiB  |  -  141,7 MiB  released by packages that will be removed

Backend:  classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y): 
In cache virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64.rpm                                                                                                                                                                                             (1/4), 914,8 KiB    
In cache virtualbox-7.2.20-Virt.1600.6.6.x86_64.rpm                                                                                                                                                                                                                           (2/4),  27,4 MiB    
In cache virtualbox-qt-7.2.20-Virt.1600.6.6.x86_64.rpm                                                                                                                                                                                                                        (3/4),  25,0 MiB    
In cache virtualbox-host-source-7.2.20-Virt.1600.6.6.noarch.rpm                                                                                                                                                                                                               (4/4),   1,3 MiB    

Checking for file conflicts: ...............................................................................................................................................................................................................................................................[done]
(1/4) Installing: virtualbox-kmp-default-7.2.20_k6.12.0_160000.39-Virt.1600.6.4.x86_64 .....................................................................................................................................................................................................[done]
/usr/bin/systemd-sysusers --replace=/usr/lib/sysusers.d/vbox.conf -
/usr/lib/virtualbox/VBoxHeadless: setting to root:vboxusers 4750 (wrong permissions 0755)
.....

thanks a lot. cheers.

1 Like

Thank you, rpm -e gpg-pubkey-72174fc2-66afc568 fixed it for me.

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