Nmap 5.00: Wrong filename path for lua, pkgconfig and pcre
-
Hi there!
When installing the nmap-5.00 package the package manager tries to fetch lua-5.1.4, pkgconfig-0.23_1 and pcre-8.00 from /packages/80/All/. However, all packages are located at /packages/8/All/.
The GUI does not mention any errors during the installation procedure. However, the log file (/var/tmp/pkg_mgr_nmap.log) reveals the following:
... pkg-config-0.23_1 Array ( [0] => Requested space: 944 bytes, free space: 44M bytes in /var/tmp/instmp.gccJpT [1] => tar: Unrecognized archive format [2] => tar: +CONTENTS: Not found in archive [3] => tar: Error exit delayed from previous errors. [4] => pkg_add: tar extract of /var/tmp/apkg_pkg-config-0.23_1.tbz failed! [5] => pkg_add: unable to extract table of contents file from '/var/tmp/apkg_pkg-config-0.23_1.tbz' - not a package? [6] => pkg_add: 1 package addition(s) failed ) lua-5.1.4 Array ( [0] => Requested space: 912 bytes, free space: 44M bytes in /var/tmp/instmp.UzU1Re [1] => tar: Unrecognized archive format [2] => tar: +CONTENTS: Not found in archive [3] => tar: Error exit delayed from previous errors. [4] => pkg_add: tar extract of /var/tmp/apkg_lua-5.1.4.tbz failed! [5] => pkg_add: unable to extract table of contents file from '/var/tmp/apkg_lua-5.1.4.tbz' - not a package? [6] => pkg_add: 1 package addition(s) failed ) pcre-8.00 Array ( [0] => Requested space: 912 bytes, free space: 44M bytes in /var/tmp/instmp.4yKHow [1] => tar: Unrecognized archive format [2] => tar: +CONTENTS: Not found in archive [3] => tar: Error exit delayed from previous errors. [4] => pkg_add: tar extract of /var/tmp/apkg_pcre-8.00.tbz failed! [5] => pkg_add: unable to extract table of contents file from '/var/tmp/apkg_pcre-8.00.tbz' - not a package? [6] => pkg_add: 1 package addition(s) failed ) ...
Best regards,
dsd -
thanks, should be fixed.
-
Hi there!
Thx for the reply. I just reinstalled the nmap-package. Running nmap from the console results in the following:
[root@betatest.local]/var/tmp(32): nmap /libexec/ld-elf.so.1: Shared object "libpcap.so.3" not found, required by "nmap" root@betatest.local]/var/tmp(33): uname -a FreeBSD betatest.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Sat May 1 18:49:51 EDT 2010 sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 i386
Interestingly, the +CONTENTS file of the nmap-package does not list any dependencies anymore:
[root@betatest.local]/(145): grep "pkgdep" /var/db/pkg/nmap-5.00/+CONTENTS | wc -l 0
Regards,
dsd
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.