页次: 1
想换成国内的源,在pacman .conf里面添加
# University of Science and Technology of China
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch
# or with HTTP
# Server = http://mirrors.ustc.edu.cn/archlinuxcn/$arch
# TUNA mirror of Tsinghua University
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch # both IPv4 & IPv6
# Server = https://mirrors.6.tuna.tsinghua.edu.cn/ … uxcn/$arch # only IPv6
# Server = https://mirrors.4.tuna.tsinghua.edu.cn/ … uxcn/$arch # only IPv4
# HTTP is also supported
# Chongqing University Open Source Mirror Site
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://mirrors.cqu.edu.cn/archlinux-cn/$arch
# Netease (网易)
[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = http://mirrors.163.com/archlinux-cn/$arch
Status API Training Shop Blog About
添加完后,添加archlinuxcn-key
[wolfishor@archbang ~]$ yaourt -Syy
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
:: 正在同步软件包数据库...
core 121.0 KiB 126K/s 00:01 [##############################################] 100%
错误:无法从 mirrors.163.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'extra.db'-----] 44%
extra 1759.4 KiB 34.7K/s 00:51 [##############################################] 100%
community 3.4 MiB 29.9K/s 01:57 [##############################################] 100%
archlinuxcn 538.4 KiB 143K/s 00:04 [##############################################] 100%
could not register 'archlinuxcn' database (database already registered)
could not register 'archlinuxcn' database (database already registered)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
[wolfishor@archbang ~]$ yaourt -Syy
[sudo] wolfishor 的密码:
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
:: 正在同步软件包数据库...
错误:无法从 mirrors.163.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'core.db'------] 4%
错误:无法从 mirror.bjtu.edu.cn : Resolving timed out after 10522 milliseconds 获取文件 'core.db'
错误:无法从 mirrors.cqu.edu.cn : Resolving timed out after 10520 milliseconds 获取文件 'core.db'
错误:无法从 mirrors.hust.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'core.db'--] 76%
错误:无法从 mirrors.hustunique.com : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'core.db'
错误:无法从 mirrors.neusoft.edu.cn : Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds 获取文件 'core.db' 68%
错误:无法从 mirrors.opencas.cn : Resolving timed out after 10519 milliseconds 获取文件 'core.db'
core 121.0 KiB 5.41K/s 00:22 [##############################################] 100%
extra 1759.4 KiB 32.6K/s 00:54 [##############################################] 100%
community 3.4 MiB 77.2K/s 00:45 [##############################################] 100%
archlinuxcn 538.4 KiB 123K/s 00:04 [##############################################] 100%
could not register 'archlinuxcn' database (database already registered)
could not register 'archlinuxcn' database (database already registered)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
[wolfishor@archbang ~]$ yaourt -Ss wps
could not register 'archlinuxcn' database (数据库已登记)
[wolfishor@archbang ~]$ pacman -Ss Pepper Flash Player
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
错误:无法注册 'archlinuxcn' 数据库 (数据库已登记)
请问这个是怎么回事呢?添加完后,yaourt都没法用了
离线
选一个写进去就可以了,别写那么多次……
离线
搞定了,还以为像mirrorlist一样添加呢,谢谢了
离线
离线
页次: 1