Добрый день.
Пытаюсь создать локальную копию репозитория для Ubuntu Server 18.04 LTS
Вот файл mirror.list :
############# config ##################
#
set base_path /var/apt-mirror
#
set mirror_path $base_path/mirror
set skel_path $base_path/skel
set var_path $base_path/var
set cleanscript $var_path/clean.sh
set defaultarch <running host architecture>
set postmirror_script $var_path/postmirror.sh
# set run_postmirror 0
set nthreads 20
set _tilde 0
#
############# end config ##############
deb http://archive.ubuntu.com/ubuntu bionic main restricted
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
deb http://archive.ubuntu.com/ubuntu bionic universe
deb http://archive.ubuntu.com/ubuntu bionic-updates universe
deb http://archive.ubuntu.com/ubuntu bionic multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
deb http://archive.ubuntu.com/ubuntu bionic-security universe
deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
clean http://archive.ubuntu.com/ubuntu
При выполнении команды sudo -u apt-mirror apt-mirror следующий ответ:
Downloading 152 index files using 20 threads...
Begin time: Tue Apr 16 15:49:39 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Tue Apr 16 15:49:41 2019
Processing translation indexes: [TTTTTTTTTT]
Downloading 570 translation files using 20 threads...
Begin time: Tue Apr 16 15:49:41 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Tue Apr 16 15:49:44 2019
Processing DEP-11 indexes: [DDDDDDDDDD]
Downloading 60 dep11 files using 20 threads...
Begin time: Tue Apr 16 15:49:45 2019
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Tue Apr 16 15:49:45 2019
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic/main/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic/restricted/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-updates/main/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-updates/restricted/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic/universe/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-updates/universe/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic/multiverse/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-updates/multiverse/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-backports/main/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-backports/restricted/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-backports/universe/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-backports/multiverse/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-security/main/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-security/restricted/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-security/universe/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-security/multiverse/binary-<running/Packages in process_index at /usr/bin/apt-mirror line 800, <STREAM> chunk 19968.
Processing indexes: [PPPPPPPPPP]
0 bytes will be downloaded into archive.
Downloading 0 archive files using 0 threads...
Begin time: Tue Apr 16 15:49:45 2019
[0]...
End time: Tue Apr 16 15:49:45 2019
0 bytes in 0 files and 0 directories can be freed.
Run /var/apt-mirror/var/clean.sh for this purpose.
Running the Post Mirror script ...
(/var/apt-mirror/var/postmirror.sh)
/bin/sh: 0: Can't open /var/apt-mirror/var/postmirror.sh
Post Mirror script has completed. See above output for any possible errors.
Я понимаю, что тут
apt-mirror: can't open index archive.ubuntu.com/ubuntu//dists/bionic-security/multiverse/binary- chunk 19968.
не должно быть двойного //, но совершенно не могу понять откуда он берется там. Буду благодарен за помощь.