convert 32bit rpm to deb on 64bit linux
Matthew Barrera
I downloaded backburner (renderfarm manager) from here .
I tried to convert it with sudo alien -cv backburner.rpm but terminal prints out
backburner.rpm is for architecture i386 ; the package cannot be built on this system
Regarding this How do I convert a x86 RPM to a x86 DEB within a x64 system? i did
sudo alien -g backburner.rpm
cd backburner-dir/
sudo nano debian/control (change i386 to amd64 )
sudo debian/rules binaryand I get following output
dh_testdir
dh_testdir
dh_testroot
dh_prep
dh_installdirs
dh_installdocs
dh_installchangelogs
find . -maxdepth 1 -mindepth 1 -not -name debian -print0 | \ xargs -0 -r -i cp -a {} debian/backburner.sw.base
dh_compress
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dpkg-shlibdeps: warning: debian/ contains an unresolvable reference to symbol uuid_generate: it's probably a plugin
dpkg-shlibdeps: warning: 2 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: debian/ contains an unresolvable reference to symbol uuid_parse: it's probably a plugin
dpkg-shlibdeps: warning: 2 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/ debian/ debian/ debian/ were not linked against libuuid.so.1 (they use none of the library's symbols)
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `backburner.sw.base' in `../backburner.sw.base_2015.0.1-1689_amd64.deb'.Could you guys explain and help me with those warnings ??
I already tried adding libuuid.so.1 (with and without comma )inside debian/control Depends so it looked like
Depends: ${shlibs:Depends} , libuuid.so.1
as muru suggested i did
namei -lx ../backburner.sw.base_2015.0.1-1689_amd64.deboutput
f: backburner.sw.base_2015.0.1-1689_amd64.deb
-rwxrwxr-x render render backburner.sw.base_2015.0.1-1689_amd64.debThanks in advance!
92 Answers
At the end I did it with rpm > tgz > deb . But i suppose that what Mohit Rajan suggested could be helpful to. I think now that even alien -g packagename and manual installation - copying of files could work too. Thanks for that.
Anyway would be cool to know how to avoid such warnings and how to deal with them. I just don't want to ignore it without further investigation
You can use alien, but I don't suggest that. Alien can change RPM to DEB or DEB to RPM, but it can not make sure the package can be installed without any problem.