Closed atocharnaud closed 1 year ago
Why installing this package ? On Rocky 8, dnf install nc
install nmap-ncat
package. Are you sure on your installation, ncat
is absent ?
Why installing this package ? On Rocky 8,
dnf install nc
installnmap-ncat
package. Are you sure on your installation,ncat
is absent ?
Positively.
Installing: netcat x86_64 1.219-1.el8 OECD_EPEL_EPEL-8_x86_64 35 k Installing dependencies: libbsd x86_64 0.9.1-4.el8 OECD_EPEL_EPEL-8_x86_64 106 k libretls x86_64 3.5.2-1.el8 OECD_EPEL_EPEL-8_x86_64 42 k
Install 3 Packages
Total 151 kB/s | 182 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libretls-3.5.2-1.el8.x86_64 1/3 Installing : libbsd-0.9.1-4.el8.x86_64 2/3 Installing : netcat-1.219-1.el8.x86_64 3/3 Running scriptlet: netcat-1.219-1.el8.x86_64 3/3 Verifying : libbsd-0.9.1-4.el8.x86_64 1/3 Verifying : libretls-3.5.2-1.el8.x86_64 2/3 Verifying : netcat-1.219-1.el8.x86_64 3/3 Installed products updated. Uploading Tracer Profile
Installed: libbsd-0.9.1-4.el8.x86_64 libretls-3.5.2-1.el8.x86_64 netcat-1.219-1.el8.x86_64
Installing: nmap-ncat x86_64 2:7.70-6.el8 rhel-8-for-x86_64-appstream-rpms 237 k
Install 1 Package
Total 3.7 MB/s | 237 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : nmap-ncat-2:7.70-6.el8.x86_64 1/1 Running scriptlet: nmap-ncat-2:7.70-6.el8.x86_64 1/1 Verifying : nmap-ncat-2:7.70-6.el8.x86_64 1/1 Installed products updated. Uploading Tracer Profile
Installed: nmap-ncat-2:7.70-6.el8.x86_64
Complete! [atoch_admin@EM-ALGO-PP-2 ~]$ ncat Ncat: You must specify a host to connect to. QUITTING.
Can you disable EPEL on your Redhat and retry please ? I think the netcat
package from EPEL is installed instead of nmap-ncat
.
Can you disable EPEL on your Redhat and retry please ? I think the
netcat
package from EPEL is installed instead ofnmap-ncat
.
netcat
is provided from EPEL:
[root]# dnf info nmap-ncat | egrep 'Repository|From repo'
Repository : appstream-8
[root]# dnf info netcat | egrep 'Repository|From repo'
Repository : @System
From repo : epel-8-x86_64
So I think we should install the package nmap-ncat
instead of nc
. The nmap-ncat
package is available for Centos 7 too. Please remove nc
package and replace it with nmap-ncat
. This way the package will correctly be installed even if EPEL is enabled for RHEL 7 and 8.
Can you squash your commit please ? One commit should be enough for this PR.
Can you squash your commit please ? One commit should be enough for this PR.
I squashed on merge. Thanks for your contribution @atocharnaud!
ncat command is not installed on RHEL 8.6 and above and needs to be installed separately
Which issue(s) this PR fixes
Fixes #55
Additional comments
Possibly also fixe https://github.com/TOSIT-IO/tdp-collection/issues/600
Agreements