You are not logged in.
Pages: 1
i have a pacman error.when i input " sudo pacman -Syu"
,it displayed :
:: 正在从 core 软件库获取软件包...
警告:无法从 core 获取某些文件
错误:无法提交处理 (软件库没有配置服务器信息)
发生错误,没有软件包被更新。
.
meanwhile,when i want to install another soft,it will show:
密码:
错误:镜像 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' 包含有 $arch 参数,但没有定义架构。
错误:镜像 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' 包含有 $arch 参数,但没有定义架构。
错误:镜像 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' 包含有 $arch 参数,但没有定义架构。
错误:'eva': 无法找到或读取软件包
..
how should i fix that error ?thks for ur help .
Offline
I'm going to guess that you need to set Architecture in pacman.conf.
It is much better if you generate error output by using "LC_ALL=C" in front the command.
Offline
If you are not posting in one of the language forums, you need to output your errors in English.
Use LC_ALL=C
#edit too slow...
Offline
[yumin@yuminghost ~]$ LANG=en
[yumin@yuminghost ~]$ sudo pacman -Syu
error: The mirror 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
error: The mirror 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
error: The mirror 'ftp://mirrors.kernel.org/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.
:: Synchronizing package databases...
error: failed to update core (no servers configured for repository)
error: failed to update extra (no servers configured for repository)
error: failed to update community (no servers configured for repository)
--2010-12-27 13:14:32-- http://repo.archlinux.fr/i686/archlinuxfr.db.tar.gz
Resolving repo.archlinux.fr... 213.186.62.207
Connecting to repo.archlinux.fr|213.186.62.207|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25901 (25K) [application/x-gzip]
Saving to: `/var/lib/pacman/archlinuxfr.db.tar.gz.part'
100%[======================================>] 25,901 22.2K/s in 1.1s
2010-12-27 13:14:34 (22.2 KB/s) - `/var/lib/pacman/archlinuxfr.db.tar.gz.part' saved [25901/25901]
:: Starting full system upgrade...
:: Replace libelf with core/elfutils? [Y/n] y
:: Replace pkgconfig with core/pkg-config? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Remove (2): libelf-0.8.13-1 pkgconfig-0.23-2
Total Removed Size: 0.46 MB
Targets (70): linux-api-headers-2.6.34-1 tzdata-2010o-1 glibc-2.12.1-4
ncurses-5.7-4 readline-6.1.002-2 bash-4.1.009-1 gawk-3.1.8-2
m4-1.4.15-1 diffutils-3.0-2 autoconf-2.68-1 automake-1.11.1-2
bin86-0.16.17-5 zlib-1.2.5-3 binutils-2.20.1-4 bison-2.4.3-1
ppl-0.11-1 cloog-ppl-0.15.9-2 pam-1.1.1-2 shadow-4.1.4.2-3
coreutils-8.7-1 cryptsetup-1.1.3-1 dash-0.5.6.1-1
dhcpcd-5.2.9-1 iana-etc-2.30-1 filesystem-2010.10-1
util-linux-ng-2.18-3 e2fsprogs-1.41.12-1 ed-1.5-1
eventlog-0.2.12-1 gcc-libs-4.5.1-2 pcre-8.10-2 grep-2.7-1
sed-4.2.1-3 fakeroot-1.14.5-1 file-5.04-3 findutils-4.4.2-3
flex-2.5.35-4 mpfr-3.0.0.p8-1 libmpc-0.8.2-2 elfutils-0.149-2
gcc-4.5.1-2 gettext-0.18.1.1-1 sysvinit-2.88-2
initscripts-2010.07-2 jfsutils-1.1.14-2 less-436-2
openssl-1.0.0.c-1 libfetch-2.33-1 libgpg-error-1.9-2
logrotate-3.7.9-1 lzo2-2.04-1 man-db-2.5.9-1 man-pages-3.32-1
mdadm-3.1.4-1 mkinitcpio-busybox-1.17.2-1
module-init-tools-3.12-1 which-2.20-4 mkinitcpio-0.6.7-1
nano-2.2.6-1 pacman-mirrorlist-20100825-1 patch-2.6.1-2
pcmciautils-017-1 pkg-config-0.25-3 procps-3.2.8-2
psmisc-22.13-1 tcp_wrappers-7.6-12 syslog-ng-3.2.1-1
texinfo-4.13a-5 usbutils-0.91-4 xfsprogs-3.1.4-1
Total Download Size: 57.83 MB
Total Installed Size: 257.04 MB
Proceed with installation? [Y/n] y
:: Retrieving packages from core...
warning: failed to retrieve some files from core
error: failed to commit transaction (no servers configured for repository)
Errors occurred, no packages were upgraded.
that all the message in english.thks for ur help.i will post in english first.looks like i lost some setup in the pacman.conf.but when i add the arthicture in the pacman.conf like "Arthicture=i686",it still doesn't work yet.and when i install anything from the aur,it will show the error,and when i delete some mirrorlist ,it showed like that i posted.
Offline
when i add the arthicture in the pacman.conf like "Arthicture=i686",it still doesn't work yet
Be careful with the spelling: Architecture = i686
Offline
that still doesnt work .how should i do ?
Offline
That is very weird... the error is quite specific about the issues.
Try changing your mirror from:
ftp://mirrors.kernel.org/archlinux/$repo/os/$arch
to:
ftp://mirrors.kernel.org/archlinux/$repo/os/i686
Offline
yes,it work now.thank u very much.thanks a lot for u so heartly to do my favor.
Offline
Pages: 1