Unable to fetch some archives, maybe run apt-get update try with –fix-missing?
When I install the zabbix agent then some error like as below. In this guide for removing update error very quickly.
Unable to fetch some archives, maybe run apt-get update or try with –fix-missing
[email protected]_client:~# apt-get install zabbix-agent Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: zabbix-agent 0 upgraded, 1 newly installed, 0 to remove and 38 not upgraded. Need to get 184 kB of archives. After this operation, 798 kB of additional disk space will be used. Err:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 zabbix-agent amd64 1:2.4.7+dfsg-2ubuntu2.1
Step #01: Can’t resolve dns mane server on your machine.
Solution: Edit resolve.conf file and insert google public dns.
[email protected]_client:~# vi /etc/resolv.conf
Insert google public dns nameserver 126.96.36.199 then save it. Now again install zabbix agent.
[email protected]_client:~# apt-get install zabbix-agent