Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have ubuntu Lucid installed, need to update packages, when I ran

 sudo apt-get update 

I can see list of packages need to be updated, when I ran '

sudo apt-get upgrade  or sudo apt-get dist-upgrade

it said: '0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded'? how can I update that list of packages? I dont' have GUI interface only command line interface...thanks.

share|improve this question

migrated from Aug 9 '10 at 18:52

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

Kubuntu Lucid user here. When I run sudo apt-get update I don't get a list of packages that need updating, I just get the list of the repositories being checked. For example:

Get:1 lucid Release.gpg [197B]
Hit lucid Release.gpg
Hit lucid Release.gpg
Get:2 lucid Release [6854B]

sudo apt-get upgrade gives me the list of packages that can be updated, if there are any. If you apt-get says there aren't any updated packages, I guess you can trust it, unless there's some problems with your sources.list... But then apt-get update should tell you about them.

By the way, lately I've been using aptitude instead of apt-get: I find it better at managing problems, got me out of a tight corner once or twice... I just do:

sudo aptitude update
sudo aptitude safe-upgrade

I hope this helps.

share|improve this answer
Additionally, "aptitude update" will tell you how many updates are available before you run the upgrade command. – maco Aug 14 '10 at 2:44

You must log in to answer this question.