您尚未登录。

#16 2018-08-20 13:21:12

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?

离线

#17 2018-08-20 18:13:30

Kurobac
小白
注册时间: 2018-05-12
帖子: 85

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

yuminghost-2018 说:
Kurobac 说:

ping -c 4 mirrors.tuna.tsinghua.edu.cn
ping -c 4 baidu.com
改dns在/etc/resolv.conf,相信你打开就知道怎么改……
另外https://wiki.archlinux.org/index.php/Do … esolv.conf





  1 # Generated by resolvconf
  2 nameserver 192.168.31.1                                                     
  3 nameserver 192.168.0.1
  4 nameserver 192.168.1.1



这个文件怎么改?第4行是我乱加的。
~

你这DNS……是学校或者公司的网络?
大概的格式就是nameserver 后面是DNS服务器地址。直接改第一个nameserver就可以。
如果在国内,可以用114.114.114.114,在国外的话可以用8.8.8.8。
你可以试试直接用浏览器访问源或者是用同一网络下的其他设备访问试试。国内运营商墙中墙再怎么厉害也不至于sohu 163都上不去吧……

最近编辑记录 Kurobac (2018-08-20 22:50:47)


# pacman -Syu

离线

#18 2018-08-20 22:37:16

zsrkmyn
lazy...
注册时间: 2013-05-05
帖子: 331

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

Kurobac 说:

你这DNS……是学校或者公司的网络?

走家用路由器的都这样。

离线

#19 2018-08-20 22:42:49

Kurobac
小白
注册时间: 2018-05-12
帖子: 85

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

zsrkmyn 说:
Kurobac 说:

你这DNS……是学校或者公司的网络?

走家用路由器的都这样。

原来是因为我自己改过路由器DHCP设置……(


# pacman -Syu

离线

#20 2018-08-25 11:41:01

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

依云 说:

你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?


换法国源,结果 是一样,看来是不可行。

离线

#21 2018-08-25 12:12:52

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

yuminghost-2018 说:
依云 说:

你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?


换法国源,结果 是一样,看来是不可行。


⟩ ping mirrors.aliyun.com
PING mirrors.aliyun.com.w.alikunlun.com (101.89.125.217) 56(84) bytes of data.
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=1 ttl=50 time=5.07 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=2 ttl=50 time=4.59 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=3 ttl=50 time=4.51 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=4 ttl=50 time=4.55 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=5 ttl=50 time=4.98 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=6 ttl=50 time=4.89 ms
^C
--- mirrors.aliyun.com.w.alikunlun.com ping statistics ---
7 packets transmitted, 6 received, 14% packet loss, time 6009ms
rtt min/avg/max/mdev = 4.510/4.769/5.075/0.233 ms

离线

#22 2018-08-25 16:51:46

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

yuminghost-2018 说:

⟩ ping mirrors.aliyun.com
PING mirrors.aliyun.com.w.alikunlun.com (101.89.125.217) 56(84) bytes of data.
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=1 ttl=50 time=5.07 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=2 ttl=50 time=4.59 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=3 ttl=50 time=4.51 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=4 ttl=50 time=4.55 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=5 ttl=50 time=4.98 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=6 ttl=50 time=4.89 ms
^C
--- mirrors.aliyun.com.w.alikunlun.com ping statistics ---
7 packets transmitted, 6 received, 14% packet loss, time 6009ms
rtt min/avg/max/mdev = 4.510/4.769/5.075/0.233 ms

你没有更新错误消息,而旧的错误消息是 mirrors.sohu.com 的。

请换成某个源之后,贴那个源的相关信息。没有任何证据表明你现在遇到阿里源的问题和你之前遇到别的源的问题是同一个问题。(即使他们是由同一原因造成的,如果其作用机理不一样,也不能混用。)

离线

#23 2018-08-26 21:01:34

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

##china
Server = http://mirrors.aliyun.com/archlinux/$repo/os/$arch


现在源是这个,但是结果都是一样的,不管我用什么源,


[yumin@yuminbsd ~]$ sudo pacman -Syy
:: 正在同步软件包数据库...
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'core.db'
错误:无法升级 core (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'extra.db'
错误:无法升级 extra (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'community.db'
错误:无法升级 community (未预期的错误)
archlinuxfr                8.2 KiB  0.00B/s 00:00 [######################] 100%
[yumin@yuminbsd ~]$

离线

#24 2018-08-26 21:02:52

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

依云 说:
yuminghost-2018 说:

⟩ ping mirrors.aliyun.com
PING mirrors.aliyun.com.w.alikunlun.com (101.89.125.217) 56(84) bytes of data.
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=1 ttl=50 time=5.07 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=2 ttl=50 time=4.59 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=3 ttl=50 time=4.51 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=4 ttl=50 time=4.55 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=5 ttl=50 time=4.98 ms
64 bytes from 101.89.125.217 (101.89.125.217): icmp_seq=6 ttl=50 time=4.89 ms
^C
--- mirrors.aliyun.com.w.alikunlun.com ping statistics ---
7 packets transmitted, 6 received, 14% packet loss, time 6009ms
rtt min/avg/max/mdev = 4.510/4.769/5.075/0.233 ms

你没有更新错误消息,而旧的错误消息是 mirrors.sohu.com 的。

请换成某个源之后,贴那个源的相关信息。没有任何证据表明你现在遇到阿里源的问题和你之前遇到别的源的问题是同一个问题。(即使他们是由同一原因造成的,如果其作用机理不一样,也不能混用。)



前面已经测试过所有中国源了,如果再发现不了问题,我觉得只有重装一途了。

离线

#25 2018-08-26 22:56:01

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

yuminghost-2018 说:

##china
Server = http://mirrors.aliyun.com/archlinux/$repo/os/$arch


现在源是这个,但是结果都是一样的,不管我用什么源,


[yumin@yuminbsd ~]$ sudo pacman -Syy
:: 正在同步软件包数据库...
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'core.db'
错误:无法升级 core (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'extra.db'
错误:无法升级 extra (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'community.db'
错误:无法升级 community (未预期的错误)
archlinuxfr                8.2 KiB  0.00B/s 00:00 [######################] 100%
[yumin@yuminbsd ~]$

明明结果不一样啊……

你不会是32位的系统吧?

离线

#26 2018-08-27 00:29:11

Kurobac
小白
注册时间: 2018-05-12
帖子: 85

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

贴下/etc/pacman.conf和uname -a吧……


# pacman -Syu

离线

#27 2018-08-31 14:48:39

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

依云 说:
yuminghost-2018 说:

##china
Server = http://mirrors.aliyun.com/archlinux/$repo/os/$arch


现在源是这个,但是结果都是一样的,不管我用什么源,


[yumin@yuminbsd ~]$ sudo pacman -Syy
:: 正在同步软件包数据库...
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'core.db'
错误:无法升级 core (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'extra.db'
错误:无法升级 extra (未预期的错误)
错误:无法从 mirrors.aliyun.com : The requested URL returned error: 404 获取文件 'community.db'
错误:无法升级 community (未预期的错误)
archlinuxfr                8.2 KiB  0.00B/s 00:00 [######################] 100%
[yumin@yuminbsd ~]$

明明结果不一样啊……

你不会是32位的系统吧?


是 32位。但一直运作正常。这个应该不是主要问题。
[yumin@yuminbsd ~]$ uname -a
Linux yuminbsd 4.5.1-1-ARCH #1 SMP PREEMPT Thu Apr 14 19:36:01 CEST 2016 i686 GNU/Linux
[yumin@yuminbsd ~]$

[yumin@yuminbsd ~]$ sudo pacman -Syy
:: 正在同步软件包数据库...
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'core.db'
错误:无法升级 core (未预期的错误)
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'extra.db'
错误:无法升级 extra (未预期的错误)
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'community.db'
错误:无法升级 community (未预期的错误)
archlinuxfr                8.2 KiB  0.00B/s 00:00 [######################] 100%
[yumin@yuminbsd ~]$


## Generated on 2018-08-31
##

## China
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
#Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.sjtug.sjtu.edu.cn/archl … o/os/$arch
#Server = http://mirrors.tuna.tsinghua.edu.cn/arc … o/os/$arch
#Server = https://mirrors.tuna.tsinghua.edu.cn/ar … o/os/$arch
#Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch

离线

#28 2018-08-31 14:54:35

yuminghost-2018
会员
注册时间: 2018-08-15
帖子: 16

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

是 32位。但一直运作正常。这个应该不是主要问题。
[yumin@yuminbsd ~]$ uname -a
Linux yuminbsd 4.5.1-1-ARCH #1 SMP PREEMPT Thu Apr 14 19:36:01 CEST 2016 i686 GNU/Linux
[yumin@yuminbsd ~]$
[yumin@yuminbsd ~]$ sudo pacman -Syy
:: 正在同步软件包数据库...
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'core.db'
错误:无法升级 core (未预期的错误)
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'extra.db'
错误:无法升级 extra (未预期的错误)
错误:无法从 mirrors.163.com : The requested URL returned error: 404 获取文件 'community.db'
错误:无法升级 community (未预期的错误)
archlinuxfr                8.2 KiB  0.00B/s 00:00 [######################] 100%
[yumin@yuminbsd ~]$

## Generated on 2018-08-31
##
## China
Server = http://mirrors.163.com/archlinux/$repo/os/$arch
#Server = http://mirror.lzu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.neusoft.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.shu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.sjtug.sjtu.edu.cn/archl … o/os/$arch
#Server = http://mirrors.tuna.tsinghua.edu.cn/arc … o/os/$arch
#Server = https://mirrors.tuna.tsinghua.edu.cn/ar … o/os/$arch
#Server = http://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.ustc.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = https://mirrors.xjtu.edu.cn/archlinux/$repo/os/$arch
#Server = http://mirrors.zju.edu.cn/archlinux/$repo/os/$arch


下面是pacman.conf


#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs






[archlinuxfr]
SigLevel = Never
Server = https://repo.archlinux.fr/$arch

离线

#29 2018-08-31 15:06:25

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 8,384
个人网站

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

yuminghost-2018 说:

是 32位。但一直运作正常。这个应该不是主要问题。

就是这个问题啊。32位系统已经不被支持了,所以才会404。
https://www.archlinuxcn.org/the-end-of-i686-support/

离线

#30 2018-08-31 23:47:03

xtricman
エクス·トリクマン
注册时间: 2012-12-26
帖子: 1,267

Re: 有可能是源的问题,但换了多个源,还是这样显示,请大神来指教

2018年了,停止支持这么久,还有人不知道i686版停止支持了。要继续用请使用社区维护的软体仓库,官网可查 。


反社会,精神极其不稳定,随时可能炸碎身边所有人

离线

页脚