[PVE-User] Problem downloading repositories
Mechtilde
ooo at mechtilde.de
Tue Sep 8 10:45:02 CEST 2020
Hello,
URLDIR is incomplete.
Please look at the description how you can add the proxmox repo to the
local sources.list.
Kind regards
Mechtilde
Am 02.09.20 um 22:05 schrieb Rommel Rodriguez Toirac:
> Hello all;
>
> I use a little script to create a local repository by downloading the packages
> from the official site [download.proxmox.com] using the debmirror application,
> for this I use a server with Debian 10.5 operating system and debmirror 1:2.32
> This is the script:
>
> ******
> #!/bin/sh
> : ${URLDIRE:=download.proxmox.com}
> : ${OUTPATH:=/var/www/html/repos/proxmox}
> : ${LOGFILE:=/var/log/actualiza_proxmox.log}
> # Crear el directorio de destino si no existe.
> if [ ! -d "$OUTPATH" ] ; then mkdir -p "$OUTPATH"; fi
> # Inicio archivo de registro.
> cat > $LOGFILE <<EOL
> Iniciando Mirror (`env LANG=es_ES.UTF-8 date`)
> EOL
> # Matamos el mirror si ya está corriendo
> killall debmirror
> # Ejecutar.
> debmirror --progress --verbose --debug --host $URLDIRE --root=/debian/pve \
> --method=http --dist=buster \
> --section=pve-no-subscription --arch=amd64 --nosource --no-check-gpg
> \
> --ignore-missing-release --ignore-release-gpg --postcleanup \
> --diff=none --ignore-small-errors --allow-dist-rename --timeout=2000
> \
> $OUTPATH >> $LOGFILE 2>&1 &
> # Fin.
> exit 0
> *******
>
> I look at the logs and the download always interrupts saying that dists/
> buster/pve-no-subscription/binary-all/Packages.gz is missing.
>
> ********
> Ignoring missing Release file for dists/buster/pve-no-subscription/binary-all/
> Packages.gz
> http://download.proxmox.com/debian/pve/dists/buster/pve-no-subscription/
> binary-all/Packages.gz => [100%] Getting: dists/buster/pve-no-subscription/
> binary-all/Packages.gz... #** GET http://download.proxmox.com/debian/pve/
> dists/buster/pve-no-subscription/binary-all/Packages.gz ==> 404 Not Found
> 404 Not Found
> Download of dists/buster/pve-no-subscription/binary-all/Packages.gz failed:
> 404 Not Found
> Errors:
> Ignoring missing Release file for dists/buster/pve-no-subscription/binary-all/
> Packages.gz
> Download of dists/buster/pve-no-subscription/binary-all/Packages.gz failed:
> 404 Not Found
> Failed to download some Package, Sources or Release files!
> WARNING: releasing 1 pending lock...
> *********
>
> At http://download.proxmox.com/debian/pve/dists/buster/pve-no-subscription/
> actually there is no binary-all/Packages
>
> What am I doing wrong?
>
> How can I fix this and download the full repository from Debian 10 using
> debmirror?
>
> Thanks in advance.
>
--
Mechtilde Stehmann
## Debian Developer
## PGP encryption welcome
## F0E3 7F3D C87A 4998 2899 39E7 F287 7BBA 141A AD7F
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20200908/a006db52/attachment.sig>
More information about the pve-user
mailing list