converting rpm files to debian error (package build failed)

Rohit picture Rohit · Feb 24, 2021 · Viewed 8k times · Source

after I install alien and having zenmap in the download folder

when I run this command alien zenmap-7.91-1.noarch.rpm or any command related to it I get this error

package build failed. here's the log:

dh
dh: error:specify sequence to run
make:***[debian/rules:7:binary]Error 25

how do I fix this error? please help...

Answer

Renato Lima picture Renato Lima · Mar 5, 2021

First just to make sure you don't have any rpm problems run this command:

apt-get --fix-broken install

Then you may need these:

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

wget http://azure.archive.ubuntu.com/ubuntu/pool/universe/p/pygobject-2/python-gobject-2_2.28.6-14ubuntu1_amd64.deb

wget http://security.ubuntu.com/ubuntu/pool/universe/p/pycairo/python-cairo_1.16.2-2ubuntu2_amd64.deb

dpkg -i python-gobject-2_2.28.6-14ubuntu1_amd64.deb 

dpkg -i python-cairo_1.16.2-2ubuntu2_amd64.deb

dpkg -i python-gtk2_2.24.0-5.1ubuntu2_amd64.deb

And after you have all that installed lets make sure our alien version is 8.90.

Remove alien:

apt-get remove alien

Download alien 8.90 version here.

Install alien:

dpkg -i alien_8.90_all.deb

Now we will locate our zenmap file and run these commands:

sudo alien zenmap-7.91-1.noarch.rpm

sudo dpkg -i **YOUR-ZENMAP-FILE**.deb

If those commands run perfectly you can now run:

sudo zenmap

Et voilà! :)