How do I perform a smart update via the command line?
How do I perform a smart update via the command line?
Code:sudo apt-get update sudo apt-get dist-upgrade
--Join the march for individuality!
Rancoras
Linux User #64203
In my case for apt-get, bash returns command not found, also for sudo. I login as root but the same. The beginning of the problem is update from 12.04 to 12.10 and after login in graphic mode the screen is unreadable with horizontal lines. My system is kernel 3.7.3-101.fc17.x86_64, with C61 GeForce 6150SE nForce430 rev.02. What to do if apt-get is not working?
Just wanted to say thank you for the clear concise response!
Dean.
Canada needs Linux! Penguins live up here!
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
I don't know if this has been added to the documentation yet (after 5 years), but I think it would make sense that the message when logging in over SSH, that currently reads
"3 packages can be updated. update is a security update."
Would include something like
"type: 'sudo apt-get update; sudo apt-get dist-upgrade' to perform the update"
similar to the message you get when you enter a command included in a package that you haven't got installed.
This will only work if you haven't already deleted the ubuntu-desktop or whatever desktop package you may have. Doing a
will make sure you upgrade to the latest stable release.PHP Code:
sudo apt-get update; sudo apt-get upgrade
thanks dude working like a charm heheheee
Bookmarks