So I've deployed some vCloud Availability appliances which I believe are based on Photon OS. I want to install tcpdump and netcat to do some troubleshooting but because this is a locked down appliance I had to manually edit the photon.repo file to enable the the photon repository in /etc/yum.repos.d.
Now when i try to install either package I get the following message:
root@photonvm [ /etc/yum.repos.d ]# tdnf install tcpdump
Found 1 problem(s) while resolving
1. installed package photon_vasecurity-11.3.0-7315477.noarch obsoletes tcpdump provided by tcpdump-4.9.2-1.ph2.x86_64
Error(1301) : Hawkey general runtime error
root@photonvm [ /etc/yum.repos.d ]# tdnf install netcat
Found 1 problem(s) while resolving
1. installed package photon_vasecurity-11.3.0-7315477.noarch obsoletes netcat provided by netcat-0.7.1-5.ph2.x86_64
Error(1301) : Hawkey general runtime error
Some further info on the photon_vasecurity package...
root@photonvm [ /etc/yum.repos.d ]# tdnf info photon_vasecurity
Name : photon_vasecurity
Arch : noarch
Epoch : 0
Version : 11.3.0
Release : 7315477
Install Size : 108.83k 111439 (111439)
Repo : @System
Summary : VA Security Hardening scripts for VMware
URL : (null)
License : commercial
Description : Virtual Appliance Security Hardening for Photon VMware.
I have no idea how to proceed. I get that photon_vasecurity obsoletes tcpdump but the former is a totally different package to the latter! Is the photon_vasecurity package deliberately obsoleting tcpdump and netcat (and probably a whole lot more other packages) from a hardening perspective? If this is the case, how can I override or manually install the two packages?
Any pointers would be much appreciated - thanks!