[Solved] apt-mirror error

If none of the more specific forums is the right place to ask

[Solved] apt-mirror error

Postby fender0107401 » 2019-09-09 13:02

Run apt-get update with an local mirror (created with apt-mirror) show the following errors:

Err:14 http://local_mirror.pc/debian buster-backports/main Translation-en
404 Not Found [IP: 196.168.1.150 80]
Ign:16 http://local_mirror.pc/debian buster-backports/contrib Translation-en
Ign:18 http://local_mirror.pc/debian buster-backports/non-free Translation-en
Err:20 http://local_mirror.pc/debian-security buster/updates/main Translation-en
404 Not Found [IP: 196.168.1.150 80]
Fetched 14.6 MB in 4s (3,939 kB/s)
Reading package lists... Done
E: Failed to fetch http://local_mirror.pc/debian/dists/bus ... slation-en 404 Not Found [IP: 196.168.1.150 80]
E: Failed to fetch http://local_mirror.pc/debian-security/ ... slation-en 404 Not Found [IP: 196.168.1.150 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.



Why? Some files are missing.

Here is the apt-mirror config file.

############# config ##################
#
set base_path /data_pool/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 https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ buster/updates main contrib non-free

# mirror additional architectures
#deb-alpha http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-amd64 http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-armel http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-hppa http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-i386 http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-ia64 http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-m68k http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-mips http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-mipsel http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-powerpc http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-s390 http://ftp.us.debian.org/debian unstable main contrib non-free
#deb-sparc http://ftp.us.debian.org/debian unstable main contrib non-free

clean http://ftp.us.debian.org/debian
Last edited by fender0107401 on 2019-09-11 12:17, edited 1 time in total.
User avatar
fender0107401
 
Posts: 45
Joined: 2014-05-10 11:42

Re: apt-mirror error

Postby fender0107401 » 2019-09-11 12:16

User avatar
fender0107401
 
Posts: 45
Joined: 2014-05-10 11:42


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable