My (mostly technical) blog

Steps to force a 32-bit DEB to install on a 64-bit system

Posted by: sabbour on: April 19, 2011

I came across some packages compiled for 32-bit, like Adobe Air that I needed to install on my 64-bit ubuntu, the following commands will fix the flags on the .deb package to force install it on a 64-bit system.

Note that it the converted package might install but not work correctly, so you are at luck whether it will work after that or not.

cd ~/Downloads
mkdir tmp
dpkg-deb -x package_i386.deb tmp
dpkg-deb --control package_i386.deb tmp/DEBIAN
sed -i "s/i386/all/" tmp/DEBIAN/
dpkg -b tmp package_64.deb
sudo dpkg -i package_64.deb

Advertisement
Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Ahmed Sabbour's Facebook profile

 

April 2011
S M T W T F S
« Jun   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930

Tweets

RSS StackOverflow

  • Answer by sabbour for j2me: how to open application page via ovi store app February 22, 2012
    If the Nokia Store is installed, then opening the above URL in the browser will cause the Store client to open on the specified app.
  • Answer by sabbour for Horizontal listView inside Vertical Listview in qml February 22, 2012
    I tried this solution on the simulator and it worked. import QtQuick 1.1 import com.nokia.symbian 1.1 Page { id: mainPage anchors.fill: parent ListModel { id: colorsModel ListElement { colorCode: "red" } ListElement { colorCode: "green" } ListElement { colorCode: "blue" } ListElement { colorCode: "orange" } ListElement […]
  • Answer by sabbour for Push Notification for Nokia nid using c# February 20, 2012
    Please check the following project: https://projects.forum.nokia.com/dotnet_notifications_api It is a .NET wrapper for the Nokia Notifications API.
  • Answer by sabbour for Unable to compile Qt Symbian application that uses gSOAP September 13, 2010
    To finally make it work, I had to port gSOAP to use stdapis instead of libc. I removed one of the lines and used instead. You can find the ported stdsoap2.h file at http://pastebin.com/xnrDbfFa. I also discovered that Symbian does not load STL by default, so all my methods that were returning std::vector and std::string are now not compiling. Instead of opti […]
  • Unable to compile Qt Symbian application that uses gSOAP September 8, 2010
    I'm using gSOAP along with Qt for Symbian. Under the emulator, the application compiles fine, but when I change the target of the compiler to compile for the device, I get the following error. WARNING: Can't find following headers in System Include Path This gets included from the stdsoap2.h file as follows: #ifndef WITH_NOIO # ifndef WIN32 # ifnde […]

Recently bookmarked

Follow

Get every new post delivered to your Inbox.