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.
Can you please try this command manually: apt-get install collectd . OR apt-cache policy collectd
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
Ubuntu bionic has collectd package. For some reason yours don't have that:
https://packages.ubuntu.com/bionic/collectd
Do apt-get update and retry?
I have already done apt-get update