This site is now 100% read-only, and retired.

Converting i386-RPM to amd64-DEB with Alien???

Posted by gna on Thu 30 Jun 2005 at 07:48

I am trying to install some management software on our servers, but it can only be downloaded in an i386 RPM binary format, and our system is a Xeon based server (both are product of the same company), running an amd64 Debian. I tried to convert the rpm to deb with alien, but it tells me my architecture is unsupported by the rpm package.

If I'm right, I do can run i386 arch programs on my amd64 arch, because of the backward compatibility, but how do I convert that rpm file to a Debian package?

I know i could do just install the rpm package, because the rpm command has a switch to ignore the arch restrictions, but i would like to do it the dpkg way.

Any ideas?

gna

 

 


Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by shufla (83.30.xx.xx) on Thu 30 Jun 2005 at 13:41
Hello,

AFAIR chroot with 32bit enviorment should help you:

http://alioth.debian.org/docman/view.php/30192/21/debian-amd64-ho wto.html#id274293

Best Regards,
Lukasz Nowak

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by Eirik (129.177.xx.xx) on Thu 30 Jun 2005 at 15:25
"I am trying to install some management software on our servers, but it can only be downloaded in an i386 RPM binary format"

This smells like it might have a few kernel modules in it ? If so, I'm afraid you'll probably have to forget it -- or request a 64-compile/port from you vendor. Either way I recommend raising a support ticket with your vendor -- you'll might save yourself some trouble, they might be in the process of porting it to 64bit, and let you use what they have.

AFAIK while you you can run a usermode program in 32bit, you cannot load 32 code into a 64bit kernel. Why don't you post *exactly* what you're trying to install ? Maybe some of us know the package you're talking about.

Also, if you manage to unpack the rpm, you might not have to use a chroot: See the DebianAMD64 FAQ, in particular the question about Acrobat Reader.

(Basically convert the rpm on a 32bit system, grab 32bit library packages, install with dpgk -i --force (as the architecture is wrong), and start the program with a wrapper setting path and library paths).

Other than that I see Debian finally did abandon the biarch approach -- I guess it's a bit of a nobrainer for a distribution that is so focused on Free software -- after all everything *in* Debian comes with source.

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by gna (213.222.xx.xx) on Thu 30 Jun 2005 at 19:16
[ View Weblogs ]
Software and hardware the story is about:
Dell OMSA and the Dell PowerEdge1850 (with Xeon 64bit HT monster:)

The main problem that Debian is not officially supported, but there are "homemade" debian packages. Maybe, i should not care about converting the rpms on my own?

But on the other side, there is an actual (4.4) version which should support x86_64.

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by Eirik (129.177.xx.xx) on Fri 1 Jul 2005 at 07:31
It seems you're quite right about versions prior to 4.4 not being supported on x86_64: lists.us.dell.com/pipermail/linux-poweredge/2005-May/020641.html

(You *did* google first, and ask later, right ? :)

Judging from that message, and linux.dell.com/monitoring.shtml - I'd say you'd have better luck trying: v4.4.

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by gna (212.40.xx.xx) on Fri 1 Jul 2005 at 07:44
[ View Weblogs ]
I am subscribed to the list :)
My first try was dirtectly on the list, but it seems noone using amd64 debian on dell :(

But, my contact at Dell says: "I'll cross my fingers for you." :D

I grabbed the 4.4 version, but it is FULL with i386.rpm :P

So i am still at the beginning

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by freelsjd (160.91.xx.xx) on Thu 30 Jun 2005 at 14:11
I thought Xeons were 32-bit Intel processors (at least mine are). Why/how would you run amd64 bit with them ?

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by gna (212.40.xx.xx) on Thu 30 Jun 2005 at 14:31
[ View Weblogs ]
Its a 64 bit Xeon HT....

I am checking the chroot tech... thanks


gna

[ Parent ]

Re: Converting i386-RPM to amd64-DEB with Alien???
Posted by Eirik (129.177.xx.xx) on Thu 30 Jun 2005 at 15:10

Unfortunately Intel have mangeled their CPU names quite a lot, even worse than AMD in my opinion -- a XEON can be anything from a dualcore EMT64 Hyper-threading enabled monster that comes with a free coffee maker, to a "plain" 32bit x86 clone with no fancy addons.

Anadtech has a nice overview over the current desktop offerings from AMD and Intel (direct link to the Intel page).

I'm not aware of a good overview article on the whole range of server cpus available from both AMD and Intel (or one including Power cpus and sparcs, for that matter), but Anadtech (again) has done a lot of benhmarks and reviews for the server market that at least gives you a brief overview of what's new.

[ Parent ]