package nmap-common 7.91+dfsg1+really7.80+dfsg1-2build1 failed to install/upgrade: installed nmap-common package post-installation script subprocess returned error exit status 126
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nmap (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
upgrading ubuntu distro in wsl
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: nmap-common 7.91+dfsg1+
ProcVersionSign
Uname: Linux 4.4.0-22000-
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
Date: Wed Jul 20 06:05:21 2022
Dmesg: [ 0.066890] Microsoft 4.4.0-22000.
ErrorMessage: installed nmap-common package post-installation script subprocess returned error exit status 126
PackageArchitec
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.1
apt 2.4.5
SourcePackage: nmap
Title: package nmap-common 7.91+dfsg1+
UpgradeStatus: Upgraded to jammy on 2022-07-20 (0 days ago)
tags: | removed: need-duplicate-check |
I was upgrading my WSL distro and found that the gzip executable was broken. I solved this problem by downloading the source code and rebuilding gzip.
/usr/bin/gzip would not run: could not execute binary file: Exec format error.