Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I wanted to update Ubuntu manually, because I used CDMA USB modem and connected using wvdial, but it won't able to update Ubuntu via Update Manager, because my Ubuntu won't showing "Connected" message via network-manager.

Can I update Ubuntu manually? Am I should download separate files, or use terminal instead?

share|improve this question
    
All answers seems similar. I'll try when I connected on Ubuntu. –  Aryo Adhi May 29 '13 at 12:44
add comment

3 Answers 3

up vote 11 down vote accepted

You can manually update via terminal by running:

sudo apt-get update
sudo apt-get upgrade

Additionally you can run:

sudo apt-get dist-upgrade

From the apt-get manpage:

dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages.

share|improve this answer
    
Which one? update or upgrade? Because I think both of them is different –  Aryo Adhi May 29 '13 at 12:27
1  
Why not dist-upgrade? A regular upgrade could hold back some stuff. (It won't upgrade the Ubuntu version unless you alter your sources, though.) –  gertvdijk May 29 '13 at 12:29
    
My Ubuntu version is 13.04 Is that need dist-upgrade? Or not? –  Aryo Adhi May 29 '13 at 12:30
1  
@AryoAdhi You need both. update will update the package lists (to be able to tell what packages are available) and upgrade/dist-upgrade will perform the actual updating. –  gertvdijk May 29 '13 at 12:30
    
@AryoAdhi upgrade upgrades only the already installed packages. dist-upgrade upgrades packages AND also install/remove packages if some package dependency list has changed. If you run apt-get dist-upgrade make sure to review the changes apt-get will perform before confirming the operation. dist-upgrade will NOT upgrade Ubuntu version (e.g. 12.10 -> 13.04). –  Eric Carvalho May 29 '13 at 12:40
show 1 more comment

Do this:

sudo apt-get update && sudo apt-get upgrade

in a terminal. Re-boot if it asks.

Hope this helps!!!

share|improve this answer
add comment

If you want to upgrade the Ubuntu version (eg... 12.04 to 12.10 or 13.04) you can just pop in the LiveCD/LiveUSB and it has an option to allow you to upgrade.

share|improve this answer
    
"much safer than an Internet connection" How would this be safer than using an internet connection? Besides, the released ISOs contain an older non-updated set of packages after the release (well, LTS has point-releases). So I'd say, updating using the internet is essentially safer, because you'll get the latest security patches as well. –  gertvdijk May 29 '13 at 14:01
    
Yes, Security-wise it is, but as for running the risk of having your internet cut out on you in the middle of a crucial file could be pretty disastrous. And, once you upgrade via that device, you can run sudo apt-get update && sudo apt-get upgrade to make sure you have the latest updates. –  RPi Awesomeness May 29 '13 at 14:11
2  
"having your internet cut out on you in the middle of a crucial file could be pretty disastrous" No. Because it will first download before processing the updates. "once you upgrade via that device, you can run [...]" That will run updates of packages upgraded in the step before, exactly my point of being inefficient. –  gertvdijk May 29 '13 at 14:13
    
Oh, true. I have always been a bit on the cautious side. I guess I was thinking about my internet as it cuts in and out without warning. Sorry. –  RPi Awesomeness May 29 '13 at 14:14
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.