[SOLVED][Proxmox Offline Mirror] Can't mirror ubuntu repo


New Member
Jul 1, 2023

I'm trying to mirror the ubuntu jammy repo with Proxmox Offline Mirror tool version 0.6.2 on a debian bookworm host.
The URL of the repo is https://fr.archive.ubuntu.com/ubuntu, a french mirror of the official repo.

- First I downloaded the Ubuntu GPG signing keys from the latest ubuntu-keyring archive : ubuntu-keyring_2021.03.26.tar.gz

- Here are the keys :

$ cat ubuntu-archive-keyring.gpg | gpg --show-keys
pub   rsa4096 2012-05-11 [SC]
uid                      Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>

pub   rsa4096 2012-05-11 [SC]
uid                      Ubuntu CD Image Automatic Signing Key (2012) <cdimage@ubuntu.com>

pub   rsa4096 2018-09-17 [SC]
uid                      Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>

- Then i configured the repo :
$ cat pom-config.cfg
mirror: ubuntu-jammy
    architectures amd64
    architectures all
    base-dir /srv/depot/ubuntu/jammy
    ignore-errors false
    key-path ubuntu-archive-keyring.gpg
    repository deb https://fr.archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    sync false
    verify true

- Then I try to set the mirror up

$ proxmox-offline-mirror mirror snapshot create ubuntu-jammy --config pom-config.cfg
Fetching Release/Release.gpg files
-> GET 'https://fr.archive.ubuntu.com/ubuntu/dists/jammy/Release.gpg'..
-> GET 'https://fr.archive.ubuntu.com/ubuntu/dists/jammy/Release'..
Verifying 'Release(.gpg)' signature using provided repository key..
Error: Malformed Cert: Additional packets found, is this a keyring?

Any help would be appreciated

-- EDIT --

I found the solution :

- Have to export the good key from the keyring :

gpg --keyring ./ubuntu-archive-keyring.gpg --no-default-keyring --export F6ECB3762474EDA9D21B7022871920D1991BC93C > key.gpg

- And i replace the key path in the config file
Last edited:


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!