Page 1 of 1

Trouble adding agent on ubuntu

Posted: Mon Jul 11, 2011 12:05 pm
by joshevaughn
Hello-

I am trying to add the npre agent to and ubuntu host in the amazone EC2 cloud and I am having troubles with some conflicting SSL packages.

Code: Select all

root:~# apt-get install nagios-agent nagios-plugins  nagios-snmp-plugins nagios-plugins-basic  nagios-plugins-standard 
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-plugins-basic: Depends: libssl0.9.8 (>= 0.9.8k-1) but 0.9.8g-16ubuntu3.5 is to be installed
I am traditionally a Sun / Cent guys and I am having some difficulties overriding the version string for this. Is is possible to override this option?

Code: Select all

root@mi-app-b:~# dpkg  --list |grep ssl
ii  libopenssl-ruby                   4.2                               OpenSSL interface for Ruby
ii  libopenssl-ruby1.8                1.8.7.174-1ubuntu1                OpenSSL interface for Ruby 1.8
ii  libssl-dev                        0.9.8g-16ubuntu3.5                SSL development libraries, header files and 
ii  libssl0.9.8                       0.9.8g-16ubuntu3.5                SSL shared libraries
ii  openssl                           0.9.8g-16ubuntu3.5                Secure Socket Layer (SSL) binary and related
ii  python-openssl                    0.9-1                             Python wrapper around the OpenSSL library
ii  ssl-cert                          1.0.23ubuntu2                     simple debconf wrapper for OpenSSL
Thanks in advance.
-Josh

Re: Trouble adding agent on ubuntu

Posted: Mon Jul 11, 2011 12:29 pm
by agriffin
Try this:

Code: Select all

root:~# apt-get install libssl0.9.8=0.9.8k-1
root:~# apt-get install nagios-agent nagios-plugins  nagios-snmp-plugins nagios-plugins-basic  nagios-plugins-standard

Re: Trouble adding agent on ubuntu

Posted: Mon Jul 11, 2011 12:42 pm
by joshevaughn
Hmmm...no dice there, do I need to add some additional repos?

Code: Select all

root@:~# sudo apt-get install libssl0.9.8=0.9.8k-1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Version '0.9.8k-1' for 'libssl0.9.8' was not found
root@:~# cat /etc/apt/sources.list
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic main universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic main universe
deb http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic-updates main universe
deb-src http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ karmic-updates main universe
deb http://security.ubuntu.com/ubuntu karmic-security main universe
deb-src http://security.ubuntu.com/ubuntu karmic-security main universe

/etc/apt/sources.list.d# cat *
deb http://us.ec2.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://us.ec2.archive.ubuntu.com/ubuntu/ karmic main
deb http://us.ec2.archive.ubuntu.com/ubuntu/ karmic multiverse
deb-src http://us.ec2.archive.ubuntu.com/ubuntu/ karmic main
deb http://ppa.launchpad.net/nagiosinc/ppa/ubuntu lucid main
deb http://ppa.launchpad.net/nagiosinc/ppa/ubuntu karmic main
Thanks

Re: Trouble adding agent on ubuntu

Posted: Mon Jul 11, 2011 1:07 pm
by agriffin
I don't know what to tell you. I was unable to find any info on that package version. In any case, Karmic has been unsupported for a few months now and you should probably upgrade to a newer Ubuntu release.

Re: Trouble adding agent on ubuntu

Posted: Mon Jul 11, 2011 5:05 pm
by joshevaughn
Moving to Cent, please kill thread.
-Josh

Re: Trouble adding agent on ubuntu

Posted: Thu Jul 14, 2011 1:37 pm
by mguthrie
Will do.