Badger101
Posts: 36
Joined: Tue Jun 12, 2012 1:26 pm

Proper way to update?

Fri Jul 06, 2012 11:32 pm

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.

dom
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 5714
Joined: Wed Aug 17, 2011 7:41 pm
Location: Cambridge

Re: Proper way to update?

Fri Jul 06, 2012 11:43 pm

Look okay to me.

geezbeez
Posts: 28
Joined: Mon Jul 02, 2012 9:19 pm

Re: Proper way to update?

Sat Jul 07, 2012 2:12 pm

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)

User avatar
Super-Nathan
Posts: 67
Joined: Sun Jun 17, 2012 6:56 am
Location: South Korea
Contact: Website

Re: Proper way to update?

Mon Jul 09, 2012 12:45 pm

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
echo "Something Useful" > /dev/null

User avatar
guidol
Posts: 72
Joined: Tue Jul 03, 2012 9:21 am
Location: Mudanya, Turkey

Re: Proper way to update?

Mon Jul 09, 2012 12:59 pm

how about a

apt-get dist-upgrade

before or after the rpi-update?

Return to “Beginners”