View Issue Details

IDProjectCategoryView StatusLast Update
0001320bareos-coreinstaller / packagespublic2023-07-18 15:53
Reportermarbetschar Assigned Tobruno-at-bareos  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformLinuxOSCentOSOS Version7
Product Version19.2.9 
Summary0001320: reposync of bareos 19.2 fails
DescriptionHi there,

I'm trying to sync the bareos 19.2 repos using reposync. But the command fails with the following output:

...
libdroplet-3.0.git.1513628829. FAILED
bareos-vmware-vix-disklib-6.5. FAILED ] 0.0 B/s | 0 B --:--:-- ETA
libdroplet-devel-3.0.git.15136 FAILED ] 0.0 B/s | 0 B --:--:-- ETA
libdroplet-3.0.git.1513628829.3b092e5-01.x86_64: [Errno 256] No more mirrors to try. ] 0.0 B/s | 0 B --:--:-- ETA
libdroplet-devel-3.0.git.1513628829.3b092e5-01.x86_64: [Errno 256] No more mirrors to try.
bareos-vmware-vix-disklib-6.5.2_6195444-2.el7.x86_64: [Errno 256] No more mirrors to try.
Steps To Reproduce#!/bin/bash
# cause the shell to exit immediately if a simple command exits with a nonzero exit value
set -e

MXMIRROR_CONFIG="/opt/mx/mirror/conf"
REPO_BASE="/us3/m/repos"

REPO_CONFIG="$MXMIRROR_CONFIG/yum.repos.d/bareos-19.2.repo"
REPO_PATH="$REPO_BASE/bareos/release/19.2/CentOS_7"
REPO_GPG_KEY_PATH="$REPO_PATH/repodata/repomd.xml.key"
REPO_GPG_KEY_URL="https://download.bareos.org/bareos/release/19.2/CentOS_7/repodata/repomd.xml.key"

if [[ ! -z "$REPO_GPG_KEY_URL" ]]; then
  echo "Importing GPG Key: $REPO_GPG_KEY_URL..."
  sudo rpm --import "$REPO_GPG_KEY_URL"
fi

reposync --config="$REPO_CONFIG" --repoid="bareos-19.2" --download_path="$REPO_PATH" --norepopath --gpgcheck --download-metadata --newest-only --downloadcomps
createrepo --update "$REPO_PATH"

# download GPG Key
if [[ ! -z "$REPO_GPG_KEY_URL" ]]; then
  
  echo "Deploying GPG Key..."
  curl --progress-bar --output "$REPO_GPG_KEY_PATH" "$REPO_GPG_KEY_URL"
Additional Information# Content of REPO_CONFIG="$MXMIRROR_CONFIG/yum.repos.d/bareos-19.2.repo":

[bareos-19.2]
name=Backup Archiving Recovery Open Sourced (CentOS_7)
baseurl=https://download.bareos.org/bareos/release/19.2/CentOS_7
gpgcheck=1
gpgkey=https://download.bareos.org/bareos/release/19.2/CentOS_7/repodata/repomd.xml.key
enabled=1
TagsNo tags attached.

Activities

bruno-at-bareos

bruno-at-bareos

2023-07-18 15:53

manager   ~0005210

There's no more such repository, did you retry with "current"?

Issue History

Date Modified Username Field Change
2021-02-18 15:44 marbetschar New Issue
2023-07-18 15:53 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-18 15:53 bruno-at-bareos Status new => closed
2023-07-18 15:53 bruno-at-bareos Resolution open => no change required
2023-07-18 15:53 bruno-at-bareos Note Added: 0005210