Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] apt-mirror error

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
fender0107401
Posts: 52
Joined: 2014-05-10 11:42

[Solved] apt-mirror error

#1 Post by fender0107401 »

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/buster-backports/main/i18n/Translation-en 404 Not Found [IP: 196.168.1.150 80]
E: Failed to fetch http://local_mirror.pc/debian-security/dists/buster/updates/main/i18n/Translation-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.


Post Reply