你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?
在线
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.conf1 # 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
离线
你这DNS……是学校或者公司的网络?
走家用路由器的都这样。
离线
Kurobac 说:你这DNS……是学校或者公司的网络?
走家用路由器的都这样。
原来是因为我自己改过路由器DHCP设置……(
# pacman -Syu
离线
你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?
换法国源,结果 是一样,看来是不可行。
离线
依云 说:你这根本就是网络问题吧?国内的访问不了,法国源却可以访问。要不你用法国的镜像好了?
换法国源,结果 是一样,看来是不可行。
⟩ 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
离线
⟩ 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 的。
请换成某个源之后,贴那个源的相关信息。没有任何证据表明你现在遇到阿里源的问题和你之前遇到别的源的问题是同一个问题。(即使他们是由同一原因造成的,如果其作用机理不一样,也不能混用。)
在线
##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 ~]$
离线
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 的。
请换成某个源之后,贴那个源的相关信息。没有任何证据表明你现在遇到阿里源的问题和你之前遇到别的源的问题是同一个问题。(即使他们是由同一原因造成的,如果其作用机理不一样,也不能混用。)
前面已经测试过所有中国源了,如果再发现不了问题,我觉得只有重装一途了。
离线
##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位的系统吧?
在线
贴下/etc/pacman.conf和uname -a吧……
# pacman -Syu
离线
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
离线
是 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
离线
是 32位。但一直运作正常。这个应该不是主要问题。
就是这个问题啊。32位系统已经不被支持了,所以才会404。
https://www.archlinuxcn.org/the-end-of-i686-support/
在线
2018年了,停止支持这么久,还有人不知道i686版停止支持了。要继续用请使用社区维护的软体仓库,官网可查 。
反社会,精神极其不稳定,随时可能炸碎身边所有人
离线