Smart update via command line?
How do I perform a smart update via the command line?
Re: Smart update via command line?
Code:
sudo apt-get update
sudo apt-get dist-upgrade
Re: Smart update via command line?
Just wanted to say thank you for the clear concise response!
Dean.
Re: Smart update via command line?
Hey, I was looking all over the place for these commands. I've been stuck with a fresh install that keeps crashing for what seem to be hardware related problems.
It was nice to have the necessary commands spelled out. Something I'd would like to see in the documentation. (I couldn't find it if it was there...)
Thanks
Re: Smart update via command line?
This will only work if you haven't already deleted the ubuntu-desktop or whatever desktop package you may have. Doing a
PHP Code:
sudo apt-get update; sudo apt-get upgrade
will make sure you upgrade to the latest stable release.
Re: Smart update via command line?
thanks dude working like a charm heheheee
Re: Smart update via command line?
Quote:
Originally Posted by
JackDog
How do I perform a smart update via the command line?
apt-get upgrade & apt-get dist-upgrade will perform most updates.
But sometimes, smart update is required.
Smart update is performed by aptitude, and usually is only necessary if you want to update glibc.
Re: Smart update via command line?
I have been always wondering, how can someone check which updates are available before performing a apt-get upgrade?
Re: Smart update via command line?
Quote:
Originally Posted by
Jaramia
Hey, I was looking all over the place for these commands. I've been stuck with a fresh install that keeps crashing for what seem to be hardware related problems.
It was nice to have the necessary commands spelled out. Something I'd would like to see in the documentation. (I couldn't find it if it was there...)
Thanks
It's documented in the apt-get manual pages.
or
or search 'man apt-get in the Ubuntu help center.
Re: Smart update via command line?
Quote:
Originally Posted by
Wtower
I have been always wondering, how can someone check which updates are available before performing a apt-get upgrade?
I believe the -s option should do it. Have never used it though.