Linode Forum Index Linode Forum
Linode Community Forums
 


[Solved] Couldn't find package htop?

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
shah



Joined: 26 Sep 2009
Posts: 14

Posted: Wed Sep 30, 2009 5:09 pm    Post subject: [Solved] Couldn't find package htop?  

I want to install htop -- but apt-get says it cannot find the package.

I of course ran sudo apt-get update and then tried to install htop but it still says package not found.

Maybe I need to add a special repository in my sources.list?

here is my sources.list file:

## main & restricted repositories
deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted

## universe repositories
#deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe
#deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

#deb http://security.ubuntu.com/ubuntu jaunty-security universe
#deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

Also, I don't really want to add any unsupported/unofficial repository.
Any other ideas on getting htop?

Thanks.
Back to top  
shah



Joined: 26 Sep 2009
Posts: 14

Posted: Wed Sep 30, 2009 5:28 pm    Post subject:  

I installed it from the source and it runs fine.
Back to top  
andersen



Joined: 03 Jun 2004
Posts: 28

Posted: Wed Sep 30, 2009 5:37 pm    Post subject:  

It is in the universe repository (which is still official/supported) so if you want it via apt you'll need to uncomment the lines for the universe repository that are commented out.

https://launchpad.net/ubuntu/jaunty/+source/htop/0.8.1-4ubuntu1
Back to top  
nfn



Joined: 21 Jan 2009
Posts: 103

Posted: Wed Sep 30, 2009 5:39 pm    Post subject:  

Hi,

You must enable universe.

From:
## universe repositories
#deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe
#deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe
#deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

#deb http://security.ubuntu.com/ubuntu jaunty-security universe
#deb-src http://security.ubuntu.com/ubuntu jaunty-security universe

To:
## universe repositories
deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
Back to top  
shah



Joined: 26 Sep 2009
Posts: 14

Posted: Wed Sep 30, 2009 5:55 pm    Post subject:  

Oh thanks guys.

Didn't notice that the universe repository was commented out. I guess I should get some more sleep.
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1