You are not logged in.

#1 2022-11-29 09:08:58

ashcn2001
Member
Registered: 2022-11-29
Posts: 5

pacman stuck at downloading

Hi guys
i am stuck at the downloading when i update my system using pacman -Syu when i use docker tu run archlinux

[root@567aad6e3809 /]# sudo
bash: sudo: command not found
[root@567aad6e3809 /]# pacman -Syu
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
archlinuxcn downloading...

anyone help for this problem !! thanks

Offline

#2 2022-11-29 09:36:31

ashcn2001
Member
Registered: 2022-11-29
Posts: 5

Re: pacman stuck at downloading

OK  after about 20mins  i got the following info
error: failed retrieving file 'archlinuxcn.db' from mirrors.tuna.tsinghua.edu.cn : The requested URL returned error: 404
error: failed retrieving file 'community.db' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed retrieving file 'extra.db' from geo.mirror.pkgbuild.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds
error: failed to synchronize all databases (unexpected error)

Offline

#3 2022-11-29 10:22:29

philo
Member
Registered: 2015-01-26
Posts: 270

Re: pacman stuck at downloading

Use another mirror?

Offline

#4 2022-11-29 12:38:25

ashcn2001
Member
Registered: 2022-11-29
Posts: 5

Re: pacman stuck at downloading

tried mirrors.tuna.tsinghua.edu.cn but still fail . the real problem is i can't find any editor in the  archlinux of docker~ i have to use echo somewords >pacman.conf

Last edited by ashcn2001 (2022-11-29 12:40:30)

Offline

#5 2022-11-29 13:41:52

seth
Member
Registered: 2012-09-03
Posts: 59,372

Re: pacman stuck at downloading

can't find any editor in the  archlinux of docker~

Idk what "archlinux of docker~" is supposed to be, but if it doesn't have vi(m), I'd not bother to use it.

How's your overally network throughput?
https://bbs.archlinux.org/viewtopic.php … 6#p2017886

Also https://archlinux.org/packages/community/any/reflector/

Offline

#6 2022-11-29 13:51:57

philo
Member
Registered: 2015-01-26
Posts: 270

Re: pacman stuck at downloading

ashcn2001 wrote:

tried mirrors.tuna.tsinghua.edu.cn but still fail .

Checking here:

https://archlinux.org/mirrors/status/
.
that Chinese mirror is listed under "Mirror Syncing Error Log" because of "Connection timed out".

Last edited by philo (2022-11-29 14:43:04)

Offline

#7 2022-11-29 15:50:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,242

Re: pacman stuck at downloading

I am wondering if it might be due to Chinese government response to current events.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2022-11-29 16:19:22

seth
Member
Registered: 2012-09-03
Posts: 59,372

Re: pacman stuck at downloading

geo.mirror.pkgbuild.com responds fine, so does https://mirrors.tuna.tsinghua.edu.cn/archlinux/ (on a server in the AS4538 China Education and Research Network Center)
Given his nick and mirror choices, the situation could be different for the OP, hence https://bbs.archlinux.org/viewtopic.php … 5#p2070735 where I asked for the "overally" network throughput (I need to pay more attention to what keys make it to the screen wink

Offline

#9 2022-11-30 11:46:03

ashcn2001
Member
Registered: 2022-11-29
Posts: 5

Re: pacman stuck at downloading

seth wrote:

can't find any editor in the  archlinux of docker~

Idk what "archlinux of docker~" is supposed to be, but if it doesn't have vi(m), I'd not bother to use it.

How's your overally network throughput?
https://bbs.archlinux.org/viewtopic.php … 6#p2017886

Also https://archlinux.org/packages/community/any/reflector/


[root@567aad6e3809 /]# vim
bash: vim: command not found
[root@567aad6e3809 /]# vi
bash: vi: command not found
[root@567aad6e3809 /]# nano
bash: nano: command not found
[root@567aad6e3809 /]#
i got this for some reason, maybe archlinux for docker  could per-build the vi ~~

Offline

#10 2022-11-30 11:55:29

ashcn2001
Member
Registered: 2022-11-29
Posts: 5

Re: pacman stuck at downloading

ewaller wrote:

I am wondering if it might be due to Chinese government response to current events.

but i can open the url by browser~~~strange

Offline

#11 2022-11-30 13:08:13

seth
Member
Registered: 2012-09-03
Posts: 59,372

Offline

#12 2022-12-01 13:39:28

philo
Member
Registered: 2015-01-26
Posts: 270

Re: pacman stuck at downloading

Seems OP does not have vim or nano installed. Strange but easy to fix, e.g.  by installing one of those text editors  or both.

Last edited by philo (2022-12-01 13:46:31)

Offline

#13 2022-12-01 14:23:07

seth
Member
Registered: 2012-09-03
Posts: 59,372

Re: pacman stuck at downloading

That's gonna come down to "archlinux of docker~" thing…
It's however not that relevant, but the "easy fix" won't be easy if the OP doesn't get a usable network connection.

Offline

#14 2022-12-01 16:04:56

philo
Member
Registered: 2015-01-26
Posts: 270

Re: pacman stuck at downloading

Wondering where the OP's distro comes from and how it was installed.

Last edited by philo (2022-12-01 16:09:04)

Offline

#15 2022-12-01 17:17:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,352

Re: pacman stuck at downloading

There's an official Arch docker image: https://hub.docker.com/_/archlinux/

Offline

Board footer

Powered by FluxBB