Equivalent of yum check-update

A. Kromic akromic at gmail.com
Thu Dec 9 09:42:16 UTC 2010


On 09/12/10 05:30, MR ZenWiz wrote:
> On Wed, Dec 8, 2010 at 8:00 PM, steve reilly <sfreilly at roadrunner.com> wrote:
>>
>> if "yum check update" updates the package managers database, then
>> apt-get update does the same thing on debian based systems.
>>
> yum check-update looks to see if any updates are available and what
> without performing the update.
> 'sudo apt-get -s update' probably does the same thing here (simulate
> but don't execute).
>

Um, no... Like Steve Reilly already said, apt-get update only updates
the package database. There is no need to simulate it, it won't 'update'
any packages on your system. If you are talking about that, the comand
that does that is 'apt-get upgrade' (or maybe better 'apt-get
dist-upgrade'). There is no need to simulate it either though, since it
will ask you should it begin or not - it writes out how many packages
will get upgraded, and if any new would be installed and obsolete ones
uninstalled; then it asks you to confirm it (Y/n), at which time you
simply hit 'n' if you don't want to do it.

Regards

-- 
A.Kromic





More information about the ubuntu-users mailing list