Hi all,
I already maintain local mirrors for many Linux distros + PVE + PVE (+ PDM!), PostgreSQL, Fedora and so on.
Debmirror + lftp in mirroring mode (yes) + apt-mirror.
Was looking at proxmox-offline-mirror.
Works Ok for downloading / snapshot, BUT :
- I don't want to modify hundreds sources.list on VMs, so it needs to be transparently injected in existing hierarchy of repositories.
- I can't find any option / parameter to join multiple repositories under one root directory. In other words, I want to have an exact clone of, for example https://packages.sury.org/php/ :
- ONE "dists" folder, where we can find subfolders "trixie", "bookworm", "bullseye",
- ONE "pool" folder (not used in Proxmox repositories, but everywhere else?) , where each sub-folder include ALL versions for EACH repository, follow for example for example :
https://packages.sury.org/php/pool/main/p/php-imap/. Packages for debian 11, 12 and 13 are there.
Instead of this organisation, with pom, I have three separated file-system hierarchies, side by side...
I tried, in /etc/proxmox-offline-mirror.cfg, to set multiple "repositories" for one "mirror", but :
...
Any help / idea?
Regards,
Christophe.
I already maintain local mirrors for many Linux distros + PVE + PVE (+ PDM!), PostgreSQL, Fedora and so on.
Debmirror + lftp in mirroring mode (yes) + apt-mirror.
Was looking at proxmox-offline-mirror.
Works Ok for downloading / snapshot, BUT :
- I don't want to modify hundreds sources.list on VMs, so it needs to be transparently injected in existing hierarchy of repositories.
- I can't find any option / parameter to join multiple repositories under one root directory. In other words, I want to have an exact clone of, for example https://packages.sury.org/php/ :
- ONE "dists" folder, where we can find subfolders "trixie", "bookworm", "bullseye",
- ONE "pool" folder (not used in Proxmox repositories, but everywhere else?) , where each sub-folder include ALL versions for EACH repository, follow for example for example :
https://packages.sury.org/php/pool/main/p/php-imap/. Packages for debian 11, 12 and 13 are there.
Instead of this organisation, with pom, I have three separated file-system hierarchies, side by side...
I tried, in /etc/proxmox-offline-mirror.cfg, to set multiple "repositories" for one "mirror", but :
Code:
Error: parsing "/etc/proxmox-offline-mirror.cfg" failed: line 17 - duplicate property 'repository'
Any help / idea?
Regards,
Christophe.
Last edited: