PDA

View Full Version : [ubuntu] Error: Wrong architecture ''



jadhav333
August 4th, 2009, 06:42 AM
I am attempting to install the following application.. djv 0.8.2 x86 (downloaded from the following url: http://djv.sourceforge.net/download.html#0.8.2)

I get the following error message.. Error: Wrong architecture ''
my system architecture is 'i686' as checked with command uname --m

So what is the issue?
what should be the suffix of the application which is compatible with i686?

Sef
August 4th, 2009, 07:06 AM
Maybe you downloaded the 64-bit version by mistake or a version for a different os.

jadhav333
August 4th, 2009, 07:02 PM
The file downloaded was for linux, 32bit, filename: djv-0.8.2_linux-x86.deb

kelvin spratt
August 4th, 2009, 07:13 PM
Just to clarify I just downloaded both 32 and 64bit debs and they both say "wrong architecture" so i don't think you did anything wrong.

jadhav333
August 4th, 2009, 07:56 PM
Just to clarify I just downloaded both 32 and 64bit debs and they both say "wrong architecture" so i don't think you did anything wrong.

u bet.. i tried that too :)

realzippy
August 4th, 2009, 08:49 PM
sudo dpkg -i --force-architecture djv-0.8.2_linux-x86.deb

..the hard way?

jadhav333
August 5th, 2009, 01:19 AM
sudo dpkg -i --force-architecture djv-0.8.2_linux-x86.deb

..the hard way?

What will this command do? Is it safe to do so (i.e. force architecture)?

Will it pick up the deb file that I have downloaded (which seems very unlikely)? Or Do I have to provided a <path>/djv-0.8.2_linux-x86.deb at the end of the command?

nmaster
August 5th, 2009, 01:23 AM
What will this command do? Is it safe to do so (i.e. force architecture)?

Will it pick up the deb file that I have downloaded (which seems very unlikely)? Or Do I have to provided a <path>/djv-0.8.2_linux-x86.deb at the end of the command?

i usually use --force-architecture to install a 32-bit deb on a 64-bit OS. i've never had a problem with it.

you need to provide the path unless you are in the same directory as the deb.

realzippy
August 5th, 2009, 12:01 PM
Will it pick up the deb file that I have downloaded (which seems very unlikely)? Or Do I have to provided a <path>/djv-0.8.2_linux-x86.deb at the end of the command?

Assuming your .deb is on your Desktop,open terminal,type:

cd Desktop

then type:

sudo dpkg -i --force-architecture djv-0.8.2_linux-x86.deb