Page 1 of 1

Proper way to update?

Posted: Fri Jul 06, 2012 11:32 pm
by Badger101
Hi,

I'm trying to update my copy of Debian Wheezy and the RPi itself, is this the right way to do it?

Update the apt package list

Code: Select all

$ sudo apt-get update
Update the system files

Code: Select all

$ sudo apt-get upgrade
Update the RPi Firmware

Code: Select all

$ sudo rpi-update
And a reboot

Code: Select all

$ sudo reboot
Thanks.

Re: Proper way to update?

Posted: Fri Jul 06, 2012 11:43 pm
by dom
Look okay to me.

Re: Proper way to update?

Posted: Sat Jul 07, 2012 2:12 pm
by geezbeez
Just -
$ sudo apt-get update
$ sudo apt-get upgrade
This is a bit like windows update, its good to keep the OS up to date.

RPi Firmware.
If you don't need firmware patches at this very moment you don't need rpi-update. Its not available unless you install it and aside from this you can probably update your firmware without rpi-update.

Its probably on here somewhere what firmware updates are available and what they fix.
You can check your firmware version as follows to see if you need an update:
sudo /opt/vc/bin/vcgencmd version
My Rasp Pi shows:
Apr 18 2012 15:04:46
Copyright (c) 2012 Broadcom
version 310376 (release)

Re: Proper way to update?

Posted: Mon Jul 09, 2012 12:45 pm
by Super-Nathan
Generally I prefer Aptitude over apt-get (you will need to install it). It is a more powerful front end to apt-get.
http://en.wikipedia.org/wiki/Aptitude_(software)

Code: Select all

sudo aptitude update && sudo aptitude full-upgrade

Re: Proper way to update?

Posted: Mon Jul 09, 2012 12:59 pm
by guidol
how about a

apt-get dist-upgrade

before or after the rpi-update?