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 lm-sensors on ubuntu server 11.04 with the following command sudo apt-get install lm-sensors, but I am getting the following error:

Error Package lm-sensors has no installation candidate.

I need a program that can show me detailed statistics about temperatures and usage of my components (cpu, ram, hdd) like lm-sensors.

If I cannot install it, exist other option like lm-sensors ?

share|improve this question

migrated from stackoverflow.com Oct 1 '11 at 10:36

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers 2

up vote 4 down vote accepted

You will need to enable the Universe repository to install the package.

sudo nano /etc/apt/sources.list

remove the # from the beginning of the lines that look something like:

deb http://gb.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ natty universe
deb http://gb.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://gb.archive.ubuntu.com/ubuntu/ natty-updates universe

Save and then refresh your repository information:

sudo apt-get update

To install the package:

sudo apt-get install lm-sensors

Linked Question:

  1. How to use to use lm-sensors?
share|improve this answer
    
The apt manager works, but i get an error saying that fan controller is in conflict and it cannot install it. I installed fan controller a time ago, and now i need to remove it in order to install lm sensors. Please tell me the command to remove fan, is crucial for me to install lm sensors to see the cpu temperatures. –  saveandload.com Oct 3 '11 at 10:04
    
ok - edit your question with the output that you see - normally with a "conflict" message you just run a "sudo apt-get purge [package name]" type statement to remove the conflicting package. –  fossfreedom Oct 3 '11 at 10:08
    
sudo apt-get update, and then sudo apt-get install lm-sensors and works, thank you guys. –  saveandload.com Oct 3 '11 at 13:39
add comment

The error shows you may have spelled it wrong. Try the following command

sudo apt-get install lm-sensors
share|improve this answer
add comment

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.