Last active
April 27, 2022 13:48
-
-
Save kafkaesqu3/81f320ebfc8583603c679222edc464ac to your computer and use it in GitHub Desktop.
Fix for: Unable to locate package Nessus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@kali:~/packages$ tail /root/live-build-config/build.log | |
P: Begin installing packages (install pass)... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
E: Unable to locate package Nessus | |
P: Begin unmounting filesystems... | |
P: Saving caches... | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
root@kali:~/packages$ dpkg -I Nessus-6.10.5-debian6_amd64.deb | |
new debian package, version 2.0. | |
size 45685320 bytes: control archive=1411 bytes. | |
279 bytes, 11 lines control | |
1565 bytes, 49 lines * postinst #!/bin/bash | |
383 bytes, 14 lines * postrm #!/bin/bash | |
752 bytes, 23 lines * preinst #!/bin/bash | |
168 bytes, 7 lines * prerm #!/bin/bash | |
91 bytes, 4 lines shlibs | |
# https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Source | |
# " Package names (both source and binary, see Package, Section 5.6.7) must consist only of lower case letters (a-z), digits (0-9), plus (+) and minus (-) signs, and periods (.). They must be at least two characters long and must start with an alphanumeric character. " | |
# We need to make the Nessus all lowercase | |
Package: Nessus | |
Version: 6.10.5 | |
Section: | |
Priority: extra | |
Architecture: amd64 | |
Depends: libc6 (>= 2.3.5-1), zlib1g (>= 1:1.2.1) | |
Installed-Size: 31886 | |
Maintainer: Mr. Packages <mrpackage@nessus.org> | |
Description: Nessus Scanner | |
Conflicts: nessusd (<< 3.0) | |
Replaces: nessusd (<< 3.0) | |
root@kali:~/packages$ mkdir temp | |
root@kali:~/packages$ dpkg-deb --raw-extract Nessus-6.10.5-debian6_amd64.deb temp | |
root@kali:~/packages$ ls temp | |
DEBIAN etc opt | |
root@kali:~/packages$ sed "s/Package: Nessus/Package: nessus/" -i temp/DEBIAN/control | |
root@kali:~/packages$ dpkg-deb -b temp nessus.deb | |
dpkg-deb: building package 'nessus' in 'nessus.deb'. | |
root@kali:~/packages$ dpkg -I nessus_6.10.5_amd64.deb | |
new debian package, version 2.0. | |
size 35321922 bytes: control archive=1429 bytes. | |
279 bytes, 11 lines control | |
1565 bytes, 49 lines * postinst #!/bin/bash | |
383 bytes, 14 lines * postrm #!/bin/bash | |
752 bytes, 23 lines * preinst #!/bin/bash | |
168 bytes, 7 lines * prerm #!/bin/bash | |
91 bytes, 4 lines shlibs | |
# Voila! | |
Package: nessus | |
Version: 6.10.5 | |
Section: | |
Priority: extra | |
Architecture: amd64 | |
Depends: libc6 (>= 2.3.5-1), zlib1g (>= 1:1.2.1) | |
Installed-Size: 31886 | |
Maintainer: Mr. Packages <mrpackage@nessus.org> | |
Description: Nessus Scanner | |
Conflicts: nessusd (<< 3.0) | |
Replaces: nessusd (<< 3.0) | |
root@kali:~/packages$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment