You are not logged in.
Hi,
I have just installed Arch linux first time (ISO as of 01 Nov). My OS should be 64bit (my hw is 64bit) but pacman fails on any package I try to install.
Example
$ pacman -S grub
error: failed to prepare transaction (package architecture is not valid)
:: package grub-1:2.02.beta2-5-i686 does not have a valid architecture
So it tries to install 32bit package (and fails), but why?
My system:
$ uname -a
Linux archiso 3.17.1-1-ARCH #1 SMP PREEMPT Wed Oct 15 15:04:35 CEST 2014 x86_64 GNU/Linux
I checked /etc/pacman.conf:
Architecture = auto
and /etc/pacman.d/mirrorlist (the first three entries are shown; all of the mirrors have the same format):
## Score: 0.3, Germany
Server = http://mirror.gnomus.de/$repo/os/$arch
## Score: 0.3, France
Server = http://archlinux.polymorf.fr/$repo/os/$arch
## Score: 0.5, Netherlands
Server = http://ftp.nluug.nl/os/Linux/distr/archlinux/$repo/os/$arch
And it is not only grub, it is any package (e.g. gamin, lxde)
Last edited by arthurdent84 (2014-12-03 14:59:34)
Offline
Not sure why that is happening... just set the Arch to x86_64 in pacman.conf and be done with it.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Edited
Last edited by thearcherblog (2014-12-03 13:14:49)
Offline
What does pacman --debug tell you about 'arch:' (which is de detected architecture)?
Offline
What does pacman --debug tell you about 'arch:' (which is de detected architecture)?
...
debug: config: arch: x86_64
...
and of course the mirrors added look like this:
debug: adding new server URL to database 'core': http://mirror.gnomus.de/core/os/x86_64
Offline
Remove that i686 package from the package cache and try again.
Offline
Try forcing a databse refresh with "pacman -Syyu".
Offline
Try forcing a databse refresh with "pacman -Syyu".
This helped!
Thanks to all of you!
Offline