LINUX.ORG.RU

debmirror multimedia 404 Not Found MD5SUMS

 ,


0

1

Скажите, как исправить эту ошибку?

#!/bin/bash
# Composed from buratino post

#DEBIANMIRROR=mirror.mephi.ru
#DEBIANMIRROR=mirror.yandex.ru
DEBIANMIRROR=www.deb-multimedia.org
CLEANUP=postcleanup
SC=main,contrib,non-free

ARCH=i386,amd64
SECTIONS=wheezy,wheezy-backports

/usr/bin/debmirror --host=$DEBIANMIRROR \
--root=/ --method=http --rsync-extra=none  \
--$CLEANUP --i18n --nosource --progress --verbose --getcontents \
--exclude='-dbg_' --exclude='-dbg-' --exclude='kfreebsd-image' \
--include='libc6-dbg' --include='libc-dbg' \
--dist=$SECTIONS --ignore='main/installer-' \
--diff=none --ignore-release-gpg --section $SC --ignore-small-errors \
--arch=$ARCH --di-dist=wheezy --di-arch=$ARCH debian-multimedia

[ 90%] Getting: dists/wheezy-backports/main/binary-amd64/Packages.gz... 	 #** GET http://www.deb-multimedia.org//dists/wheezy-backports/main/binary-amd64/Packa... ==> 200 OK
ok
[100%] Getting: dists/wheezy-backports/main/binary-amd64/Release... 	 #** GET http://www.deb-multimedia.org//dists/wheezy-backports/main/binary-amd64/Release ==> 200 OK (1s)
ok
Errors:
 Download of dists/wheezy/main/installer-i386/current/images/MD5SUMS failed: 404 Not Found
Failed to download some Package, Sources or Release files!
WARNING: releasing 1 pending lock...

Получасовой гуглёж не помог.
Аналогичный скрипт от buratino для базового репозитория debian/ отработал на отлично.

★★★★★

В общем, пока обошёлся скриптом apt-mirror:

/etc/apt/mirror.list:
set base_path    /t/sw/ISO/Debian/Wheezy/debian-multimedia
set mirror_path  $base_path/mirror
set skel_path    $base_path/skel
set var_path     $base_path/var
set nthreads     20
set _tilde 0
deb http://www.deb-multimedia.org/ wheezy main non-free

$ apt-mirror 
Downloading 10 index files using 10 threads...
Begin time: Sun Feb 19 09:52:04 2017
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Sun Feb 19 09:52:04 2017

Proceed indexes: 

436.0 MiB will be downloaded into archive. Downloading 346 archive files using 20 threads... Begin time: Sun Feb 19 09:52:04 2017 [20] ... Post Mirror script has completed. See above output for any possible errors.

apt-get update отработал успешно, пакеты видны apt-cache. Правда, пришлось не через gpg --recv-keys 5C808C2B65558117, а тупым apt-get install deb-multimedia-keyring.

pacify ★★★★★
() автор топика
10 декабря 2017 г.

Свежий репозиторий debian-multimedia для Jessie 8.10 сегодня скопировал с помощью apt-mirror.

В конце загрузки вывалилась небольшая бага с sh-скриптами:

root@op:/w/Jessie# apt-mirror 
Downloading 10 index files using 10 threads...
Begin time: Sun Dec 10 05:24:27 2017
[10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]...
[2]... [1]... [0]... 
End time: Sun Dec 10 05:24:28 2017

Proceed indexes: [P]

553.3 MiB will be downloaded into archive.
Downloading 538 archive files using 20 threads...
Begin time: Sun Dec 10 05:24:28 2017
[20]... [19]... [18]... [17]... [16]... [15]... [14]...
[13]... [12]... [11]... [10]... [9]... [8]... [7]...
[6]... [5]... [4]... [3]... [2]... [1]... [0]... 
End time: Sun Dec 10 05:26:46 2017

0.0 bytes in 0 files and 0 directories can be freed.
Run /w/Jessie/debian-multimedia/var/clean.sh for this purpose.

Running the Post Mirror script ...
(/w/Jessie/debian-multimedia/var/postmirror.sh)

/bin/sh: 0: Can't open /w/Jessie/debian-multimedia/var/postmirror.sh

Post Mirror script has completed. See above output for any possible errors.

Зеркало заняло:
# du -sh debian/ debian-multimedia/
68G	debian/
562M	debian-multimedia/

pacify ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.