Problem installing Ubuntu agent for XI
Problem installing Ubuntu agent for XI
Hello,
I have Ubuntu 9.04. I'm trying to dowload and install the agent so XI can monitor this system.
I'm trying to follow the instructions for the Ubunbtu Nagios PDF.
Below are the errors I'm running into. Please reveiw these and let me know how I can resolve this ASAP.
Thank you!
root@entweb:~# gdebi nagios-agent_1.0-2ppa2_all.deb
The program 'gdebi' is currently not installed. You can install it by typing:
apt-get install gdebi-core
-bash: gdebi: command not found
root@entweb:~# apt-get install nagios-plugins nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nagios-agent
-bash: root@entweb:~#: command not found
root@entweb:~# The program 'gdebi' is currently not installed. You can install it by typing:
-bash: The: command not found
root@entweb:~# apt-get install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 21.2kB of archives.
After this operation, 532kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
gdebi-core
Install these packages without verification [y/N]? y
E: Some packages could not be authenticated
root@entweb:~# all.deb 404 Not Found [IP: 91.189.92.181 80]
-bash: all.deb: command not found
root@entweb:~# E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
-bash: E:: command not found
root@entweb:~# root@entweb:~# gdebi nagios-agent_1.0-2ppa2_all.deb
-bash: root@entweb:~#: command not found
root@entweb:~# The program 'gdebi' is currently not installed. You can install it by typing:
-bash: The: command not found
root@entweb:~# apt-get install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 21.2kB of archives.
After this operation, 532kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
gdebi-core
Install these packages without verification [y/N]? y
E: Some packages could not be authenticated
root@entweb:~#
I have Ubuntu 9.04. I'm trying to dowload and install the agent so XI can monitor this system.
I'm trying to follow the instructions for the Ubunbtu Nagios PDF.
Below are the errors I'm running into. Please reveiw these and let me know how I can resolve this ASAP.
Thank you!
root@entweb:~# gdebi nagios-agent_1.0-2ppa2_all.deb
The program 'gdebi' is currently not installed. You can install it by typing:
apt-get install gdebi-core
-bash: gdebi: command not found
root@entweb:~# apt-get install nagios-plugins nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package nagios-agent
-bash: root@entweb:~#: command not found
root@entweb:~# The program 'gdebi' is currently not installed. You can install it by typing:
-bash: The: command not found
root@entweb:~# apt-get install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 21.2kB of archives.
After this operation, 532kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
gdebi-core
Install these packages without verification [y/N]? y
E: Some packages could not be authenticated
root@entweb:~# all.deb 404 Not Found [IP: 91.189.92.181 80]
-bash: all.deb: command not found
root@entweb:~# E: Unable to fetch some archives, maybe run apt-get update or try with --fix-mis sing?
-bash: E:: command not found
root@entweb:~# root@entweb:~# gdebi nagios-agent_1.0-2ppa2_all.deb
-bash: root@entweb:~#: command not found
root@entweb:~# The program 'gdebi' is currently not installed. You can install it by typing:
-bash: The: command not found
root@entweb:~# apt-get install gdebi-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
gdebi-core
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 21.2kB of archives.
After this operation, 532kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
gdebi-core
Install these packages without verification [y/N]? y
E: Some packages could not be authenticated
root@entweb:~#
Re: Problem installing Ubuntu agent for XI
What happens when you try to install the agent using the "Preferred Method"?
Code: Select all
add-apt-repository ppa:nagiosinc/ppa
apt-get update
apt-get install nagios-agent
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem installing Ubuntu agent for XI
This is what happens when I run the command below.
root@entweb:~# add-apt-repository ppa:nagiosinc/ppa
-bash: add-apt-repository: command not found
root@entweb:~# add-apt-repository ppa:nagiosinc/ppa
-bash: add-apt-repository: command not found
Re: Problem installing Ubuntu agent for XI
Try running in terminal:
Then run one more time:
Code: Select all
sudo apt-get install python-software-properties
Code: Select all
add-apt-repository ppa:nagiosinc/ppa
apt-get update
apt-get install nagios-agent
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem installing Ubuntu agent for XI
When I run the first line I get the info below, so I can't really continue:
root@entweb:~# sudo apt-get install python-software-properties
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev
libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
python-software-properties
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 24.4kB of archives.
After this operation, 1065kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
python-software-properties
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com jaunty/main python-software-properties 0.71.5
404 Not Found [IP: 91.189.92.183 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/poo ... .5_all.deb 404 Not Found [IP: 91.189.92.183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@entweb:~#
root@entweb:~# sudo apt-get install python-software-properties
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libexpat1-dev libserf-0-0 libaprutil1-dev libpcrecpp0 libsqlite3-dev
libpcre3-dev libdb4.6-dev
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
python-software-properties
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 24.4kB of archives.
After this operation, 1065kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
python-software-properties
Install these packages without verification [y/N]? y
Err http://us.archive.ubuntu.com jaunty/main python-software-properties 0.71.5
404 Not Found [IP: 91.189.92.183 80]
Failed to fetch http://us.archive.ubuntu.com/ubuntu/poo ... .5_all.deb 404 Not Found [IP: 91.189.92.183 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@entweb:~#
Re: Problem installing Ubuntu agent for XI
Did you try running this command as suggested?
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Code: Select all
sudo apt-get update
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem installing Ubuntu agent for XI
You can also try to run these commands as a "workaround":
Code: Select all
# echo "deb http://ppa.launchpad.net/nagiosinc/ppa/ubuntu lucid main" >
/etc/apt/sources.list.d/nagiosinc.list
# gpg --keyserver keyserver.ubuntu.com --recv-keys B18637BB5175BC68
# gpg --export --armor B18637BB5175BC68 | apt-key add -
# apt-get update
# apt-get install nagios-agent
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem installing Ubuntu agent for XI
below is what happens when I run all commands one at a time:
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... dates/mult iverse/source/Sources 404 Not Found [IP: 91.189.92.184 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@entweb:~# apt-get install nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nagios-agent: Depends: nagios-plugins but it is not going to be installed
Depends: nagios-snmp-plugins but it is not going to be installed
Recommends: libnagios-plugin-perl but it is not installable
E: Broken packages
root@entweb:~#
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dis ... dates/mult iverse/source/Sources 404 Not Found [IP: 91.189.92.184 80]
E: Some index files failed to download, they have been ignored, or old ones used instead.
root@entweb:~# apt-get install nagios-agent
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nagios-agent: Depends: nagios-plugins but it is not going to be installed
Depends: nagios-snmp-plugins but it is not going to be installed
Recommends: libnagios-plugin-perl but it is not installable
E: Broken packages
root@entweb:~#
Re: Problem installing Ubuntu agent for XI
We will have to try to recreate this. Can you post the output of the following command?
Code: Select all
uname -a
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Problem installing Ubuntu agent for XI
root@entweb:~# uname -a
Linux entweb.vlmc 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:11:06 UTC 2010 x86_64 GNU/Linux
root@entweb:~#
Linux entweb.vlmc 2.6.28-19-server #66-Ubuntu SMP Sat Oct 16 18:11:06 UTC 2010 x86_64 GNU/Linux
root@entweb:~#