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
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)
ProcVersionSign
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:
Unpacking nmap-common (7.80+dfsg1-
dpkg: error processing archive /var/cache/
unable to open '/usr/share/
ErrorMessage: unable to open '/usr/share/
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
RelatedPackageV
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/
UpgradeStatus: Upgraded to eoan on 2019-11-20 (23 days ago)
tags: | removed: need-duplicate-check |
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 nmap/nselib/ data/psexec/ nmap_service. exe 54134e3c34815c9 dc /usr/share/ nmap/nselib/ data/psexec/ nmap_service. exe nmap/nselib/ data/psexec/ nmap_service. exe nmap/nselib/ data/psexec/ nmap_service. exe
# md5sum /usr/share/
71a2163a7d8edd7
# ll /usr/share/
-rw-r--r-- 1 root root 324719 Sep 5 11:04 /usr/share/
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?