zenmap package is not available in latest LTS release - Ubuntu 20.04 LTS

Bug #1876269 reported by Norbert
58
This bug affects 12 people
Affects Status Importance Assigned to Milestone
nmap
Fix Released
Unknown
nmap (Ubuntu)
Triaged
Undecided
Unassigned
python-gtk2 (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

The zenmap package is not available in latest LTS release - Ubuntu 20.04 LTS.

But it still may be installed by satisfying only one dependency:

```
mkdir -p ~/Downloads/zenmap
cd ~/Downloads/zenmap

wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pygtk/python-gtk2_2.24.0-6_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/n/nmap/zenmap_7.80+dfsg1-1build1_all.deb

sudo apt install ./*.deb
```

Please create official package with Python 3 or Python 2 support (by uploading python-gtk2 back to focal archive).

Norbert (nrbrtx)
tags: added: focal
tags: added: python2
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nmap (Ubuntu):
status: New → Confirmed
Changed in python-gtk2 (Ubuntu):
status: New → Confirmed
Revision history for this message
edurenye (edurenye) wrote :

The problem is that python 2 has been deprecated in Ubuntu 20.04, so it is zenmap that has to add python 3 support to be added again to the official repositories, there is already an issue:

https://github.com/nmap/nmap/issues/2022

https://github.com/nmap/nmap/issues/1176

Revision history for this message
Paride Legovini (paride) wrote :

Hi,

edurenye correctly identified the root of the problem. The python-gtk2 package won't come back in Ubuntu, hence I marked the task as Won't Fix. The zenmap is likely to be reintroduced after a Python 3 version will be made available.

All of the above also applies to Debian, where zenmap has been dropped too. As the latest version of zenmap in Ubuntu was a sync from Debian, the right place where to reintroduce the package will likely be Debian.

Changed in python-gtk2 (Ubuntu):
status: Confirmed → Won't Fix
Changed in nmap (Ubuntu):
status: Confirmed → Triaged
Changed in nmap:
status: Unknown → New
Norbert (nrbrtx)
tags: added: py2-removal
removed: python2
Revision history for this message
mikefreeman (mike-freeman-studio) wrote :

Since this issue has been fixed at the nmap github (https://github.com/nmap/nmap/pull/2088), will this be backported into Ubuntu 20.04 repos, or will we have to compile it ourselves until it shows up in a future LTS release?

Revision history for this message
Paride Legovini (paride) wrote :

Hi,

The PR you linked hasn't been merged yet, and indeed https://github.com/nmap/nmap/issues/1176 is still open. Even after this is fixed in a new upstream release of nmap I personally doubt the fix will be backported to Focal, it doesn't tick enough boxes in [1]. However once the package will be updated in Ubuntu it will probably be easy to compile it for Focal in a PPA.

[1] https://wiki.ubuntu.com/StableReleaseUpdates

Revision history for this message
Norbert (nrbrtx) wrote :

Official deb-package still needed.

Possible workaround is to use [Flatpak version of ZenMap](https://flathub.org/apps/details/org.nmap.Zenmap) as follows:

```
sudo apt-get update
sudo apt-get install flatpak

flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub org.nmap.Zenmap
```

Such installation needs ~330 Mb of downloads, and will use ~1 Gb on disk.

tags: added: hirsute impish jammy
Changed in nmap:
status: New → Fix Released
Revision history for this message
Athos Ribeiro (athos-ribeiro) wrote :

It seems the fix was merged upstream and will be available in 7.94.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.