You are not logged in.

#1 2012-01-12 02:19:10

nticompass
Member
From: /home/nticompass/
Registered: 2009-12-08
Posts: 39
Website

[SOLVED] Pacman trying to install 64-bit packages on 32-bit system

I was upgrading my Arch Linux i686 install, and I got the following error:

error: The mirror 'http://mirror.rit.edu/archlinux/$repo/os/$arch' contains the $arch variable, but no Architecture is defined.

I added Architecture = i686 to /etc/pacman.conf under [options], and when I run pacman -Syu, I get these errors:

error: failed to prepare transaction (package architecture is not valid)
:: package clucene-2.3.3.4-2-x86_64 does not have a valid architecture
:: package filezilla-3.5.3-1-x86_64 does not have a valid architecture
:: package lshw-B.02.16-1-x86_64 does not have a valid architecture
:: package yajl-2.0.4-1-x86_64 does not have a valid architecture

Why is pacman trying to install x86_64 packages on my i686 system?

Last edited by nticompass (2012-01-13 03:24:43)

Offline

#2 2012-01-12 03:21:19

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,058

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

What happens if you change it to Architecture = auto?

Offline

#3 2012-01-12 03:22:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

How old is your install?

Offline

#4 2012-01-12 03:50:06

splippity
Member
Registered: 2010-05-25
Posts: 144

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

I'll confirm problem I update daily. And it just started occuring:

error: failed to prepare transaction (package architecture is not valid)
:: package e-svn-66935-1-x86_64 does not have a valid architecture
:: package e-modules-extra-svn-66883-1-x86_64 does not have a valid architecture
:: package emprint-svn-64443-1-x86_64 does not have a valid architecture

Offline

#5 2012-01-12 03:54:35

ayr0
Member
Registered: 2010-08-12
Posts: 85

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

I can also confirm.  It doesn't matter if Architecture = auto or i686.  The error occurs regardless.  Strange, just started happening this week.

Offline

#6 2012-01-12 04:00:42

lynnwood
Member
Registered: 2011-02-05
Posts: 7

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

I also update every day. Just got the following:

:: Starting full system upgrade...
error: failed to prepare transaction (package architecture is not valid)
:: package python2-bsddb-5.2.0-3-x86_64 does not have a valid architecture

Offline

#7 2012-01-12 04:09:46

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Change mirrors. Is it happening for all mirrors or just one?

Offline

#8 2012-01-12 04:16:37

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

The [community] repo looks screwed...   investigating.

Offline

#9 2012-01-12 04:18:31

lynnwood
Member
Registered: 2011-02-05
Posts: 7

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

karol wrote:

Change mirrors. Is it happening for all mirrors or just one?

Tried each of the following with same result:

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch
Server = http://mirror.ece.vt.edu/archlinux/$repo/os/$arch
Server = http://mirror.yellowfiber.net/archlinux/$repo/os/$arch

Offline

#10 2012-01-12 04:56:33

frank419
Member
Registered: 2012-01-12
Posts: 33

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

"error: failed to prepare transaction (package architecture is not valid)
   :: package virtualbox-4.1.8-1-x86_64 does not have a valid architecture"

This is the error I get when trying to install vbox from repos. I was assuming its because i am running i686. There is no i686 package in repos. or in AUR. Did find a virtualbox-source that was i686 but had errors when installing then I had the feeling Im going in the wrong direction. Nothing much on google or these forums.

Any thoughts?


Datacenter Ninja

Offline

#11 2012-01-12 04:58:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Known issue. Allan is looking into it: https://bbs.archlinux.org/viewtopic.php?id=133393

Offline

#12 2012-01-12 05:02:34

frank419
Member
Registered: 2012-01-12
Posts: 33

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Thanks for reply. Couldn't i see the i686 version with a pacman search anyhow? And I searched the repos and the AUR through the web and did not see any in there either


Datacenter Ninja

Offline

#13 2012-01-12 05:05:02

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Seems the [community] repo is having problems atm (I'm using 32-bit too):

[karol@black ~]$ pacman -Sp virtualbox
error: failed to prepare transaction (package architecture is not valid)
:: package virtualbox-4.1.8-1-x86_64 does not have a valid architecture

You can use e.g. http://arm.konnichi.com/community/os/i6 … pkg.tar.xz but you have to download the dependencies (if any) by hand too.

Last edited by karol (2012-01-12 05:05:43)

Offline

#14 2012-01-12 05:10:43

frank419
Member
Registered: 2012-01-12
Posts: 33

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Got errors

:: Retrieving packages from community...
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.kernel.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from archlinux.supsec.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from cake.lib.fit.edu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from mirror.ece.vt.edu : Not Found
error: failed retrieving file 'virtualbox-modules-4.1.8-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
warning: failed to retrieve some files from community
error: failed to commit transaction (File unavailable (e.g., file not found, no access))


Seems to be looking for 64 bit packages still. Had a similar issue when installing another prog as well


Datacenter Ninja

Offline

#15 2012-01-12 05:19:24

Jedi Stannis
Member
Registered: 2004-09-10
Posts: 65

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Same here

Offline

#16 2012-01-12 05:23:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

You're not listening. Our repo is f*cked for some reason.
I downloaded VB from http://arm.konnichi.com/community/os/i6 … pkg.tar.xz so if you need it ASAP, do the same.

Offline

#17 2012-01-12 05:24:34

lomunet
Member
Registered: 2012-01-12
Posts: 1

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

I have the same problem

community está actualizado
error: failed to prepare transaction (package architecture is not valid)
:: Starting full system upgrade...
:: package e-modules-extra-svn-66883-1-x86_64 does not have a valid architecture
:: package e-svn-66935-1-x86_64 does not have a valid architecture
:: package e_dbus-svn-66792-1-x86_64 does not have a valid architecture
:: package ecore-svn-66892-1-x86_64 does not have a valid architecture
:: package edje-svn-66943-1-x86_64 does not have a valid architecture
:: package eet-svn-66804-1-x86_64 does not have a valid architecture
:: package eina-svn-66864-1-x86_64 does not have a valid architecture
:: package elementary-svn-66938-1-x86_64 does not have a valid architecture
:: package emprint-svn-64443-1-x86_64 does not have a valid architecture
:: package evas-svn-66901-1-x86_64 does not have a valid architecture
:: package filezilla-3.5.3-1-x86_64 does not have a valid architecture

Last edited by lomunet (2012-01-12 05:26:22)

Offline

#18 2012-01-12 05:25:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Guys, stop posting 'me too' - that's not helping one bit.
You can use http://arm.konnichi.com/search/ to get the packages you need but you have to manually download the dependencies to.

Offline

#19 2012-01-12 05:26:32

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,416
Website

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Let me repeat...

The [community] repo looks screwed...   investigating.

Offline

#20 2012-01-12 05:35:51

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 13,142

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Moderator:  Merged threads.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
You assume people are rational and influenced by evidence.  You must not work with the public much. -- Trilby
----
How to Ask Questions the Smart Way

Offline

#21 2012-01-12 06:13:54

Triston J. Taylor
Banned
Registered: 2011-10-20
Posts: 41

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Let me just say this.. I tried to do my own investigating... ala browsing /var/lib/pacman/sync/some.existing.file.db but archive manager says the file(s) are corrupt or damaged??

Sounds like the work of a real genius hmm

I can do genius work too...

[root@mybox] rm /var/lib/pacman/sync/*
[root@mybox] pacman -Syu

Still renders a screwed up local db store. Well, I can't review the data myself without some sort of self certification in redundant file formatting,... so how about explaining to us mere mortals who are waiting in the wings why this format is helpful to us... and why the repository system has apparently considered the i686 platform obsolete or at least equivalent to x86_64?

Karol, thanks for the information about 'manual' searches. It is quite the relief to know that the pre-compiled binaries are at least still available to us.

lmao () {
   echo 'I have the same problem'; # Print useless information instead following thread progress....
}

Last edited by Triston J. Taylor (2012-01-12 06:20:32)


systemd has its advantages; of these the most damaging are: corporatization, security bottlenecks, control obfuscation, and micro-managed forward compatibility pitfalls. Free Software meets Dictatorship. What a maroon.

Offline

#22 2012-01-12 06:15:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

You don't need to investigate yourself, just follow the ML http://mailman.archlinux.org/pipermail/ … 22378.html

Offline

#23 2012-01-12 06:28:22

Triston J. Taylor
Banned
Registered: 2011-10-20
Posts: 41

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

frank419, the problem you are having is the same as everyone else. But your first problem is that your local package information is out of sync.

You should run....

[root@yourbox] pacman -Sy

.... to synchronize your package database. Of course this won't be useful at all until the topic issue here is corrected.


systemd has its advantages; of these the most damaging are: corporatization, security bottlenecks, control obfuscation, and micro-managed forward compatibility pitfalls. Free Software meets Dictatorship. What a maroon.

Offline

#24 2012-01-12 06:32:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,431

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

It's already working for me. Remember to run 'pacman -Sy' to get the fixed db.

Offline

#25 2012-01-12 06:39:24

Triston J. Taylor
Banned
Registered: 2011-10-20
Posts: 41

Re: [SOLVED] Pacman trying to install 64-bit packages on 32-bit system

Thank you ArchLinux Team!

Definitely going to pick up some 'schwag' to proudly support the project A.S.A.P


systemd has its advantages; of these the most damaging are: corporatization, security bottlenecks, control obfuscation, and micro-managed forward compatibility pitfalls. Free Software meets Dictatorship. What a maroon.

Offline

Board footer

Powered by FluxBB