package nmap-common (not installed) failed to install/upgrade: unable to open '/usr/share/nmap/nselib/data/psexec/nmap_service.exe.dpkg-new': Operation not permitted

Bug #1856361 reported by Jörgen de Groot
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nmap (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Install failed

ProblemType: Package
DistroRelease: Ubuntu 19.10
Package: nmap-common (not installed)
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
Uname: Linux 5.3.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
Date: Fri Dec 13 21:30:16 2019
DuplicateSignature:
 package:nmap-common:(not installed)
 Unpacking nmap-common (7.80+dfsg1-1build1) ...
 dpkg: error processing archive /var/cache/apt/archives/nmap-common_7.80+dfsg1-1build1_all.deb (--unpack):
  unable to open '/usr/share/nmap/nselib/data/psexec/nmap_service.exe.dpkg-new': Operation not permitted
ErrorMessage: unable to open '/usr/share/nmap/nselib/data/psexec/nmap_service.exe.dpkg-new': Operation not permitted
InstallationDate: Installed on 2019-03-12 (275 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
Python3Details: /usr/bin/python3.7, Python 3.7.5, python3-minimal, 3.7.5-1
PythonDetails: /usr/bin/python2.7, Python 2.7.17rc1, python-minimal, 2.7.17-1
RelatedPackageVersions:
 dpkg 1.19.7ubuntu2
 apt 1.9.4
SourcePackage: nmap
Title: package nmap-common (not installed) failed to install/upgrade: unable to open '/usr/share/nmap/nselib/data/psexec/nmap_service.exe.dpkg-new': Operation not permitted
UpgradeStatus: Upgraded to eoan on 2019-11-20 (23 days ago)

Revision history for this message
Jörgen de Groot (alt148) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Hi,
this doesn't seem like a common error.

You could check if eveything on your system looks as it should:

# dpkg --verify nmap-common
# md5sum /usr/share/nmap/nselib/data/psexec/nmap_service.exe
71a2163a7d8edd754134e3c34815c9dc /usr/share/nmap/nselib/data/psexec/nmap_service.exe
# ll /usr/share/nmap/nselib/data/psexec/nmap_service.exe
-rw-r--r-- 1 root root 324719 Sep 5 11:04 /usr/share/nmap/nselib/data/psexec/nmap_service.exe

But other than that (the file might be modified by you?) I'd not see how the packaging unpack would get an "Operation not permitted".
I see no special mount points or anything like it.

Also is this issue reproducible?

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in nmap (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for nmap (Ubuntu) because there has been no activity for 60 days.]

Changed in nmap (Ubuntu):
status: Incomplete → Expired
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.