When running the SQL Server agent installer, the agent does not find any instances.
RESOLUTION 1
Activate the SQL Server Browser service
RESOLUTION 2
Make sure the SQL Server port is not blocked by a firewall
RESOLUTION 3
Run "ping <hostname>" and make sure that it returns correctly.
If the ping does not work, please go to the "/etc/hosts" file and add the SQL Server machine to that file. Now the ping should work and the SQL Server installer will find the instances.