Update function

7 posts
by sheriff076 » Sat Jul 21, 2012 7:35 pm

I was using Arch until the launch of Raspian and have a couple of questions to ask the forum.

Does either apt-get update or apt-get upgrade upgrade the firmware for the Pi. Like pacman command does under Arch? If not what should I be doing to ensure I keep my Rasbian firmware up to date?
On another note Ive got a wifi dongle from the supported hardware list but I don't clearly understand what I need to do next on Raspian to get the dongle working. There countless forum entries and sites offering help but to be honest I could do with good pointer that covers a novice using Rasbian.

Thanks in advance.
Posts: 34
Joined: Sat May 19, 2012 5:33 pm
Location: South Yorkshire
by gidoca » Sat Jul 21, 2012 8:02 pm
No, if you want to update the firmware and kernel, you have to use the following command:
Code: Select all
Posts: 6
Joined: Thu Nov 24, 2011 3:56 pm
by plugwash » Sat Jul 21, 2012 8:22 pm
The answer is it depends on what image you are using.

The foundation's image has packages installed and a repository configured for the Pi firmware/kernel. So on these apt-get update followed by apt-get upgrade will update the firmware/kernel just like it updates other stuff.

Most other images however are not using packaged versions of the firmware/kernel so you will need to use rpi-update on those.
Posts: 1965
Joined: Wed Dec 28, 2011 11:45 pm
by sheriff076 » Sat Jul 21, 2012 8:47 pm
Hello and thanks,

I'm using the Wheezy Raspian image available from the download page so i can rely on update and upgrade commands to keep me updated. If i follow your post correctly.
Posts: 34
Joined: Sat May 19, 2012 5:33 pm
Location: South Yorkshire
by plugwash » Sat Jul 21, 2012 8:49 pm

Remember update downloads updated package lists while upgrade actually upgrades stuff. You need both.
Posts: 1965
Joined: Wed Dec 28, 2011 11:45 pm
by thurgold » Sun Jul 22, 2012 7:40 am
In an effort to get video4linux working, used apt-get to download version 3.2 of the kernel.
apt-get seems to have place all the version 3.2 files, but the system still boots into 3.1.9+.

I have seen posts indicating that raspberry pi is incompatible with boot loaders, so what do I need to do to actually upgrade the kernel being used? All the debian help files I can find just say to use apt-get, but since that does not work, I could use some suggestions on what the process is for raspberian.
Posts: 2
Joined: Sun Jul 22, 2012 7:31 am
by jui-feng » Sun Jul 22, 2012 9:57 am
If you installed the package linux-image-3.2.0-3-rpi, that is currently alpha and not considered to be stable enough for daily use (and I think it's not quite up-to-date with foundation kernel patches).

See this thread for details. The third post says how to boot the kernel. (You could also rename the kernel image, but I think that the third post has a better method.) viewtopic.php?f=66&t=9486
Posts: 56
Joined: Sun Mar 04, 2012 11:02 am