views:

389

answers:

5

Hi I have 64 bit .deb file of an application. I want to convert the same file into 32 bit .deb file. So how to convert 64 bit .deb file into 32 bit .deb

+7  A: 

That's not generally possible.

If .deb file contains any architecture specific files (ie libraries or executable binaries), then you'll need to obtain 32 bit versions of those files, or rebuild the package yourself from source.

If the contents of the .deb are already cross platform, then it should have already been marked as Architecture: all by the creator.

If the creator mistakenly marked a cross-platform package as platform specific, then you could manually edit the Architecture entry in the control file yourself, but this seems like a rather unlikely situation.

therefromhere
+1  A: 

You need to rebuild the application from its sources for a 32 Bit target and use the packaging scripts it provides to build a DEB for x86.

Alexander Gessler
A: 

Technically, you do not convert a package, you recompile its source for different platform and package it appropriately.

Glorphindale
A: 

impossible! get source and recompile it for your self!

ali
A: 

It's impossible, but maybe need try virtualizing another OS or try pbuilder

fakeroot