public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Mechtilde <ooo@mechtilde.de>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Problem downloading repositories
Date: Tue, 8 Sep 2020 10:45:02 +0200	[thread overview]
Message-ID: <d3ac771a-9193-4fb4-b19a-4a206d0d83ae@mechtilde.de> (raw)
In-Reply-To: <E6BBFFA6-7E26-4538-9D05-177D331B17C0@nauta.cu>


[-- Attachment #1.1: Type: text/plain, Size: 2775 bytes --]

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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2020-09-08  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-02 20:05 Rommel Rodriguez Toirac
2020-09-03 14:29 ` Chris Hofstaedtler | Deduktiva
2020-09-03 17:57   ` Rommel Rodriguez Toirac
2020-09-08  8:45 ` Mechtilde [this message]
2020-09-13  1:37   ` Rommel Rodriguez Toirac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d3ac771a-9193-4fb4-b19a-4a206d0d83ae@mechtilde.de \
    --to=ooo@mechtilde.de \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal