Offline Mirror gets stuck while downloading

Jan 6, 2025
4
1
3
Austria
I'm trying to setup a Proxmox cluster in an airgapped environment. But i can't download the Debian repos with the proxmox-offline-mirror.
After downloading somewhere around 5GB it just stops. No network or disk activity, no errors, just stopped.
Downloading all the Proxmox and Ceph repos works without issue, it's only debian itself causing me trouble.

I installed proxmox-offline-mirror on a new Debian 12 VM using the pbs no subscription repo. The VM has 4 cores, 16GB RAM and a 1TB disk reserved for the download.

I'm running this command:
proxmox-offline-mirror mirror snapshot create debian_bookworm_main

These are the last few lines of the terminal output:
Code:
-> GET 'http://deb.debian.org/debian/pool/main/b/bowtie/bowtie_1.3.1-1+b1_amd64.deb'..
-> GET 'http://deb.debian.org/debian/pool/main/b/bowtie/bowtie-examples_1.3.1-1_all.deb'..
-> GET 'http://deb.debian.org/debian/pool/main/b/bowtie2/bowtie2_2.5.0-3+b2_amd64.deb'..
-> GET 'http://deb.debian.org/debian/pool/main/b/bowtie2/bowtie2-examples_2.5.0-3_all.deb'..
-> GET 'http://deb.debian.org/debian/pool/main/b/box2d/libbox2d-dev_2.4.1-3_amd64.deb'..

Netstat shows that there is still a connection to the repo server on port 80

For reference here is my config file:
Code:
mirror: debian_bookworm_security                                                                                                                                                                                                             
        architectures amd64                                                                                                                                                                                                                   
        architectures all                                                                                                                                                                                                                     
        base-dir /mnt/repo                                                                                                                                                                                                                   
        ignore-errors false                                                                                                                                                                                                                   
        key-path /usr/share/keyrings/debian-archive-bookworm-security-automatic.gpg                                                                                                                                                           
        repository deb http://deb.debian.org/debian-security bookworm-security main contrib                                                                                                                                                   
        skip-sections debug                                                                                                                                                                                                                   
        skip-sections games                                                                                                                                                                                                                   
        sync true                                                                                                                                                                                                                             
        verify true                                                                                                                                                                                                                           

mirror: debian_bookworm_main
        architectures amd64
        architectures all
        base-dir /mnt/repo
        ignore-errors false
        key-path /usr/share/keyrings/debian-archive-bookworm-stable.gpg
        repository deb http://deb.debian.org/debian bookworm main contrib
        skip-sections debug
        skip-sections games
        sync true
        verify true

mirror: pve_bookworm_no_subscription
        architectures amd64
        architectures all
        base-dir /mnt/repo
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription
        sync true
        verify true

mirror: debian_bookworm_updates
        architectures amd64
        architectures all
        base-dir /mnt/repo
        ignore-errors false
        key-path /usr/share/keyrings/debian-archive-bookworm-automatic.gpg
        repository deb http://deb.debian.org/debian bookworm-updates main contrib
        skip-sections debug
        skip-sections games
        sync true
        verify true

mirror: ceph_reef_bookworm
        architectures amd64
        architectures all
        base-dir /mnt/repo
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb http://download.proxmox.com/debian/ceph-reef bookworm no-subscription
        sync true
        verify true

mirror: pbs_bookworm_no_subscription
        architectures amd64
        architectures all
        base-dir /mnt/repo
        ignore-errors false
        key-path /etc/apt/trusted.gpg.d/proxmox-release-bookworm.gpg
        repository deb http://download.proxmox.com/debian/pbs bookworm pbs-no-subscription
        sync true
        verify true
 
what happens if you stop/kill the mirroring, and start it again?
 
It stopped again, this time after ~8GB at the package -> GET 'http://deb.debian.org/debian/pool/main/f/fonts-tlwg/fonts-tlwg-garuda-otf_0.7.3-1_all.deb'...

Seems like a network issue. I'm going to have a talk with our network team if they know anything about this.

download_error.png
 
yeah, the red part at the bottom does indeed look like something is wrong with your link to the mirror..
 
deb.debian.org usually works best - it is backed/hosted by a distributed network of CDN nodes (fastly), maybe your "local" one was having issues at the time you tried? if the issue persists, you might want to contact their support/report the issue, they definitely shouldn't have any trouble with that kind of traffic ;)