Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

architecture mismatch

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help!
View previous topic :: View next topic  
Author Message
bobthebob1234
LXF regular


Joined: Thu Jan 03, 2008 9:38 pm
Posts: 1369
Location: A hole in a field

PostPosted: Sat Nov 02, 2013 10:19 pm    Post subject: architecture mismatch Reply with quote

hello. I've got a vps that was originally 32bit but I had to switch to a 64bit kernel for various reasons.

now when I do
Code:
$ uname -m
x86_64


but when I do
Code:
$ dpkg --print-architecture
i386


I'm trying to install a gem which I believe is installing a 64bit version of a dependency and then use the 32bit version of it...

I've tried to install build-essentials:amd64, however dpkg-dev:amd64 keeps switching to dpkg-dev for some reason

Is there a way to change what architecture dpkg thinks it is? I've tried a couple of ways from the internets but none have worked. I'm using Ubuntu 12.04

Just for info I'm trying to install 'therubyracer' gem which doesn't seem to be particularly reliable at installing, but I have tried many things suggested on the intertubes, and it installs without a hitch on my 64bit desktop...
_________________
For certain you have to be lost to find the places that can't be found. Elseways, everyone would know where it was
Back to top
View user's profile Send private message
Nuke
LXF regular


Joined: Wed Feb 09, 2011 12:11 pm
Posts: 217
Location: Chepstow, UK

PostPosted: Sun Nov 03, 2013 4:33 pm    Post subject: Re: architecture mismatch Reply with quote

bobthebob1234 wrote:

now when I do
Code:
$ uname -m
x86_64


but when I do
Code:
$ dpkg --print-architecture
i386


Funny, I've just tried it and I get :-

Code:
$ dpkg --print-architecture
amd64

$ uname -m
x86_64

In fact I have an amd64 ; maybe uname (of which I had never heard) has itself never heard of amd64 Wink

Like I have just been doing some ext4 disk formatting, and find I must use the mke2fs utility, the "e2" meaning ext2.
_________________
Unsolved mysteries of the Universe, No 13 :-
How many remakes of Anna Karenina does the World need?
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8453
Location: Warrington, UK

PostPosted: Sun Nov 03, 2013 5:38 pm    Post subject: Reply with quote

When Intel adopted the amd64 architecture, it was given the generic name of x86_64, so the two things mean exactly the same.
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Help! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast