Public bug reported:

Steps to reproduce:
1. Install zenmap.
2. Try to find its desktop file to launch as root:
  $ dpkg -L zenmap | grep desktop
  /usr/share/applications/zenmap-root.desktop

  $ cat /usr/share/applications/zenmap-root.desktop | grep Exec | grep zenmap
  Exec=su-to-root -X -c zenmap %F
3. Try to launch it with `su-to-root -X -c zenmap %F`
4. Get 
  $ su-to-root -X -c zenmap %F
  The program 'su-to-root' is currently not installed. You can install it by 
typing:
  sudo apt install menu

Expected results:
'zenmap' package depends on 'menu' package so it could be launched as root.

Actual results:
'zenmap' package does not depend on 'menu' package and could not be launched as 
root.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: zenmap 7.50-1
ProcVersionSignature: Ubuntu 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic i686
ApportVersion: 2.20.6-0ubuntu7
Architecture: i386
CurrentDesktop: GNOME
Date: Sun Aug 27 00:31:17 2017
InstallationDate: Installed on 2017-08-26 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha i386 (20170826)
PackageArchitecture: all
SourcePackage: nmap
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: nmap (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug artful

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713274

Title:
  zenmap uses menu package in /usr/share/applications/zenmap-
  root.desktop file, but does not depend on it

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nmap/+bug/1713274/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to