Hot answers tagged

93

What is the GPU firmware and kernel? The kernel is responsible for managing the resources of the Raspberry Pi and runs on the central processing unit (CPU). It allows tasks to run on the CPU. The GPU firmware, on the other hand, manages the graphical processing unit (GPU). The two separate units are on the same chip and share memory, which is segregated at ...


85

"In normal circumstances there is NEVER a need to run rpi-update as it always gets you to the leading edge firmware and kernel and because that may be a testing version it could leave your RPi unbootable". https://www.raspberrypi.org/forums/viewtopic.php?p=916911#p916911 Even the rpi-update documentation now warns "Even on Raspbian you should only use this ...


79

How brave do you feel? It's safest to make a fresh install on a new SD card. The braver way I'd use is: Backup any files which are important to you. With your new or existing install. sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade to make sure wheezy is fully up to date. Edit /etc/apt/sources.list and change wheezy to jessie. There ...


61

According to ARM themselves, the processor cores used in all models before the Pi 4 are not vulnerable. The majority of Arm processors are not impacted by any variation of this side-channel speculation mechanism. A definitive list of the small subset of Arm-designed processors that are susceptible can be found below. [see link for the table] The ...


48

You need to enter some commands into the command line. First of all: apt-get update (this will update the sources of software) apt-get upgrade (this will upgrade everything to the latest version)


44

instead of a manual cron, you can install unattended-upgrades, which is useful to ensure the latest kernels are installed. It's mostly designed for security. https://wiki.debian.org/UnattendedUpgrades apt-get install unattended-upgrades There are some bits that can be adjusted/configured, but the default is fine.


41

The unattended-upgrades package is the way to automate updating the OS in these debian-family distributions. Follow instructions found in here. Basically you have to install the package: sudo apt-get install unattended-upgrades and add to /etc/apt/apt.conf.d/10periodic the following: APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-...


37

I hope this may help others in the next time: Basically, an upgrade works like this: adjusting the sources to "jessie" update the package lists and upgrade the packages adjusting the sources You can either simply replace every "wheezy" in /etc/apt/sources.list (and /etc/apt/sources.list.d/*) with "jessie" Or you use sed to do the work for you: sudo sed -...


26

Dist: $ sudo apt-get update $ sudo apt-get upgrade Rpi-update first time: install git and certifications for reach github. $ sudo apt-get install ca-certificates $ sudo apt-get install git-core $ sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update $ sudo chmod +x /usr/bin/rpi-update update firmware $ sudo rpi-update $ sudo ldconfig $ sudo reboot ...


26

The core affected package is libssl1.0.0, which if you can, just replace with the patched version, restart everything. You can try to download a binary, and manually install an arm-hf, using dpkg with the version 1.0.1e-2+deb7u5 for wheezy. You can also use the jessie repository, just for this single one time update, which should get you version 1.0.1g-1. ...


22

The Pi (all versions) is not vulnerable. Spectre and Meltdown both require out-of-order execution. The Cortex-A7 used in the early Pi 2 and the Cortex A53 used in the later Pi 2 and the Pi 3 is a strictly in-order architecture. The ARM11 used in the Pi 1 is partially out-of-order, but not in a way that permits Spectre or Meltdown to work. ARM confirms ...


21

raspbian package repo contains raspberrypi-bootloader package which contains firmware, kernel and kernel modules that rpi-update downloads. The version is not the latest, but files should be fine and stable. Now it shows a 20130902 version, so it's about 2 months old. The package is installed by default and is updated when a new version arrives in repo. So ...


20

Have a look at Hexxeh's RPi-Updater. It's specifically built for upgrading the firmware and kernel. https://github.com/Hexxeh/rpi-update If you're running Arch Linux then the updates will be a part of your regular pacman -Syu as they exist in the official RPi repositories.


16

Execute: apt-get dist-upgrade That will fix your problem. This is a classic apt issue. The following is taken from the man pages: upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and ...


16

Yes, your Pis are vulnerable until the patched versions of the Debian packages are available for Raspbian. Edit: The patched versions are now available for Raspbian.


13

I figured out which kernel version I installed by looking at /proc/version: [kevin@raspberrypi tmp]$ more /proc/version Linux version 3.2.27+ (dc4@dc4-arm-01) (gcc version 4.7.2 20120731 (prerelease) (crosstool-NG linaro-1.13.1+bzr2458 - Linaro GCC 2012.08) ) #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 I followed scruss' suggestion to use rpi-update. I ...


12

There are pros and cons on both sides of this argument. On the one hand, by keeping your system up to date you insure that you have the latest bug and security fixes; on the other hand, by being on the bleeding edge you may become the victim of an unfound bug or security hole in one of the updated packages, which can prevent your system from working as ...


11

To update your system to latest versions of the userland software you need to run the update before the upgrade - the update actually downloads the new package listings so that upgrade can go get them and install them (as explained in Debian Linux documentation): sudo apt-get update sudo apt-get upgrade Furthermore you may need to run a dist-upgrade to ...


10

It seems Python 3.4 is still in beta, and there is no package prepared for it yet. If youstill want python 3.4, you should download it and build it from source. You can find it here: https://www.python.org/downloads/release/python-340/ Download the source tar ball. The build instructions should be in there.


10

To have all the time the most recent Oracle java installed, you can do check current Java pi@raspberrypi:~ $ java -version java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode) remove OpenJDK sudo apt-get purge openjdk* add digital key sudo apt-key adv --recv-key --...


10

I'd like to offer my different take on this. About Meltdown, it's a very specific vulnerability in some processors, so if ARM says the CPU in Raspberry Pi is not vulnerable, then it can probably be trusted. However, Spectre is a more general vulnerability. So far, only two variants have been demonstrated but I'm pretty sure there are more variants. The ...


9

Meanwhile the kernel is part of the raspberrypi-kernel-package in Raspbian. So rpi-update is not needed anymore to update the kernel. There are two kernels in the package, that means it works on every hardware-version of the Pi (ARMv6, ARMv7 and ARMv8 Just use this fancy one-liner to keep your Pi up-to-date: apt-get update && apt-get dist-upgrade ...


9

As far as I am aware collabora is still using wheezy based software, it has not been upgraded to jessie. If you want to use that repository change its entry back to wheezy from jessie.


8

Run apt-get install on the packages kept back. They require something more than a new version of that package (usually a whole other new package as a dependency). That way you'll see what each of them requires. Dist-upgrade will blindly run all of them and possibly remove anything that gets in its way.


8

Can I use it somehow? Maybe -- you can try. Edit /etc/apt/sources.list.d/sources.list and add a line: deb http://archive.raspbian.org/raspbian/ jessie main Then run apt-get update. This may take a few minutes. Searching for the package should now show it, and you can try apt-get install [whatever]. You may have to pull in further substantial updates ...


8

You can install and configure cron-apt. Install it by doing the following: apt-get install cron-apt the main configuration file is /etc/cron-apt/config One thing I add to my configuration is: MAILON="always" this will send an email every time it runs, not only if it encounters an error. Note that the default setup will not automatically install the ...


8

The most important lines are: "origin=Raspbian,codename=${distro_codename},label=Raspbian"; "origin=Raspberry Pi Foundation,codename=${distro_codename},label=Raspberry Pi Foundation"; Here is the entire file (/etc/apt/apt.conf.d/50unattended-upgrades): // Unattended-Upgrade::Origins-Pattern controls which packages are // upgraded. // // Lines below have ...


Only top voted, non community-wiki answers of a minimum length are eligible