Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I tried installing cacti with sudo apt-get install cacti.

It displays an error message at the end

Reading package lists... Done
Building dependency tree 
Reading state information... Done
Some packages could not be installed. This may mean that you haverequested 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:
cacti: Depends: php5-snmp but it is not going to be installed
E: Broken packages

Can you provide a step by step solution to resolve this error?

share|improve this question
Try sudo apt-get update && sudo apt-get upgrade –  Mitch Jun 15 '13 at 7:48
post the output of apt-cache policy cacti. Which version of Ubuntu are you running? –  Avinash Raj Jun 20 '14 at 3:04

Your Answer


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

Browse other questions tagged or ask your own question.