This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problems with KDE Neon while updating my local repository

Tags: None
(comma "," separated)
kde-rommel
Registered Member
Posts
2
Karma
0
Hello all;
I have this script to try to download or update locally the neon repositories:

Code: Select all
#!/bin/sh
: ${URLDIRE:=archive.neon.kde.org}
: ${OUTPATH:=/var/www/html/repos/neon/}
: ${LOGFILE:=/var/log/actualiza_neon.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 --i18n --getcontents --passive --nosource --verbose --progress --debug --arch=i386,amd64 --section=main,by-hash --host=$URLDIRE --dist=bionic --ignore-release-gpg --no-check-gpg --root=/user --method=http --timeout=2000 --postcleanup --diff=none --rsync-extra=none $OUTPATH >> $LOGFILE 2>&1 &
# Fin.
exit 0
 #### End script to automate building of Ubuntu mirror ####


but in somewhere of the download happens this error:

http://archive.neon.kde.org/user/dists/ ... 64.json.gz => [ 0%] Getting: dists/bionic/main/dep11/by-hash/MD5Sum/CID-Index-amd64.json.gz... #** GET http://archive.neon.kde.org/user/dists/ ... 64.json.gz ==> 200 OK (1s)
Can't write to 'dists/bionic/main/dep11/by-hash/MD5Sum/CID-Index-amd64.json.gz-27297': No such file or directory at /usr/share/perl5/LWP/Protocol.pm line 105. at /usr/share/perl5/LWP/UserAgent.pm line 916.
WARNING: releasing 1 pending lock...


Why could be this possible? how I can fix this?
Thanks for the attention.

Rommel


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar