I have a trouble when try install zenmap

Hi there, i update lastest version and I have a trouble when try install zenmap from Add/Remove Software it say like below image.
And the log is:

Preparing...
Cloning zenmap build files...
Checking zenmap dependencies...
Resolving dependencies...
Warning: cannot resolve "python2-gobject2", a dependency of "pygtk"
Warning: cannot resolve "pygtk", a dependency of "zenmap"
Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'python2-gobject2' required by pygtk
- unable to satisfy dependency 'pygtk' required by zenmap
Transaction cancelled.

Can help me fix this issue,
Many thanks <3 <3 <3
Best regards,

I also try to install pygtk first, but it failed.

You do need to install the dependencies nmap and pygtk (from AUR) first.
Source: Package Details: zenmap 7.92-1

When I install nmap an issue occur

Preparing...
Synchronizing package databases...
Warning: manjaro-hello: local (0.6.7-2) is newer than extra (0.6.6-8)
Resolving dependencies...
Checking inter-conflicts...
Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'python2-gobject2' required by pygtk

bug in gui ?? not for me …
can you test pamac cli ?

pamac build zenmap

if same error, test with yay: yay -S zenmap

Same error.
Logs:

 pamac build zenmap
Preparing...
Cloning zenmap build files...
Checking zenmap dependencies...
Resolving dependencies...
Warning: cannot resolve "python2-gobject2", a dependency of "pygtk"
Warning: cannot resolve "pygtk", a dependency of "zenmap"
Error: Failed to prepare transaction:
could not satisfy dependencies:
- unable to satisfy dependency 'python2-gobject2' required by pygtk
- unable to satisfy dependency 'pygtk' required by zenmap



Edit build files : [e] 
Apply transaction ? [e/y/N] y

Transaction cancelled.

You have 3 levels of AUR package dependencies here.

First you need to install python2-gobject2 from the AUR.
Then pygtk from AUR.
And lastly zenmap from AUR.

1 Like

Zenmap is build using Python2 and as Python2 was EOL since 2021-01-01 many applications build using python2 was moved to AUR.

All dependencies of zenmap can be resolved using AUR - but you need to build them in specific order - but thanks to @guinux this can be done using Pamac CLI.

Ensure your system is up-to-date

sudo pacman -Syu

Then use pamac to build

pamac build zenmap
Proof

2 Likes

oh, thank you very much,
I change use CLI pamac build zenmap and press y anh enter and it worked.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.