Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to install icinga on my ubuntu machine. I am following the quick start guide for doing the installation. When I run the command apt-get install libjpeg62 libjpeg62-dev libpng12 libpng12-dev I am getting an error message as :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libpng12

Also when i run the command apt-get install snmp libsnmp5-dev I am geting error as :

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libsnmp5-dev

I am new to using Ubuntu and Icinga, I am not able to find where I have done mistake. Please help me in this.

Also I followed this site to install any missing compilers and ran the commands given in the site:

$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install build-essential
$ gcc -v
$ make -v

But even after running the commands I am seeing same error messages.

share|improve this question
    
Which version of Ubuntu are you running? –  Avinash Raj May 13 at 10:04
    
sudo apt-get install libsnmp-dev –  Avinash Raj May 13 at 10:07
    
I'd not install from sources when deb packages are available, check their Snapshot Builds –  Sylvain Pineau May 13 at 10:11

1 Answer 1

up vote 1 down vote accepted

You have to enter the package names correctly.

Correct names of libpng12 and libsnmp5-dev are libpng12-0 libsnmp-dev respectively.

So the correct commands should be :

sudo apt-get install libjpeg62 libjpeg62-dev libpng12-dev libpng12-0

sudo apt-get install snmp libsnmp-dev
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.