We are facing problem while installing a collector(metrics collector) from the script on the Ubuntu 18.04 LTS machine.
As we have run the same script on the same version of Ubuntu and its working perfectly fine.
Please refer to the images attached with this question.
I have tried both the command still getting below errors:-
# apt-get install collectd
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package collectd
# apt-cache policy collectd
N: Unable to locate package collectd