Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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' o r '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 stackoverflow.com Aug 9 '10 at 18:52

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

1 Answer 1

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 http://packages.medibuntu.org lucid Release.gpg [197B]
Hit http://it.archive.ubuntu.com lucid Release.gpg
Hit http://archive.canonical.com lucid Release.gpg
Get:2 http://packages.medibuntu.org 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

Your Answer

 
discard

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