Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Sep 30, 2009 6:09 pm 
Offline
Senior Newbie

Joined: Sat Sep 26, 2009 4:19 am
Posts: 14
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.


Last edited by shah on Thu Oct 01, 2009 2:47 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Sep 30, 2009 6:28 pm 
Offline
Senior Newbie

Joined: Sat Sep 26, 2009 4:19 am
Posts: 14
I installed it from the source and it runs fine.


Top
   
 Post subject:
PostPosted: Wed Sep 30, 2009 6:37 pm 
Offline
Junior Member

Joined: Thu Jun 03, 2004 4:04 pm
Posts: 42
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/+so ... 1-4ubuntu1


Top
   
 Post subject:
PostPosted: Wed Sep 30, 2009 6:39 pm 
Offline
Senior Member

Joined: Wed Jan 21, 2009 7:13 pm
Posts: 126
Location: Portugal
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


Top
   
 Post subject:
PostPosted: Wed Sep 30, 2009 6:55 pm 
Offline
Senior Newbie

Joined: Sat Sep 26, 2009 4:19 am
Posts: 14
Oh thanks guys.

Didn't notice that the universe repository was commented out. I guess I should get some more sleep.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group