61 votes

Is the Raspberry Pi vulnerable to the Spectre or Meltdown exploit?

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 ...
Aurora0001's user avatar
  • 6,308
43 votes

How do I set my Raspberry Pi to automatically update/upgrade?

In its default configuration, unattended-upgrades is broken in Raspbian Buster. It won't install crucial updates for the kernel and other software. Your options are: Recommended Option: Install and ...
Dej's user avatar
  • 566
32 votes

Fix error "Failed to start DHCP Client Daemon" after upgrade to "Bullseye" remote?

There is a fix for this "Failed to start DHCP Client Daemon" on Updated to Bullseye, needed to change my dhcpcd.conf reddit thread for anyone that has the same problem with Failed to start ...
Ivan's user avatar
  • 321
28 votes
Accepted

Updating Python 3.7 to 3.8 on Raspberry Pi

Why? Just because it takes a while for distributions to integrate new versions. Here's what I did to install Python 3.8.5 on my rpi: sudo apt-get install -y build-essential tk-dev libncurses5-dev \ ...
Waxrat's user avatar
  • 556
23 votes

Raspberry Pi sudo apt-get update not working

I assume you are using Raspbian. It could be that your installation lists are broken. I suggest to reinitialize them by editing sources.list and raspi.list. By default they look like this: rpi ~$ cat ...
Ingo's user avatar
  • 42.1k
22 votes

Is the Raspberry Pi vulnerable to the Spectre or Meltdown exploit?

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 ...
Mark's user avatar
  • 376
21 votes

Will Raspberry Pi OS update `sudo` to address a recent security vulnerability?

This vulnerability can be trivially tested: To test whether your version of sudo is vulnerable, the following command can be used: sudoedit -s / A vulnerable version of sudo will either prompt for ...
Dmitry Grigoryev's user avatar
20 votes
Accepted

Will Raspberry Pi OS update `sudo` to address a recent security vulnerability?

While there are exceptions, generally stable releases of Linux distros backport important security fixes rather than packaging new upstream versions. They do this because the new upstream versions ...
Peter Green's user avatar
  • 6,476
15 votes

Is the Raspberry Pi vulnerable to the KRACKs on WPA2 networks?

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.
speakr's user avatar
  • 259
15 votes
Accepted

Fix error "Failed to start DHCP Client Daemon" after upgrade to "Bullseye" remote?

This occurs following dist-upgrade to bullseye and prevents the Pi from getting network access. Further to the answer from @Ivan (which fixed this problem for me), you can make the necessary change to ...
moo's user avatar
  • 298
14 votes

Do I still need rpi-update if I am using the latest version of Raspbian?

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 several kernels in the package, that means it works on ...
yglodt's user avatar
  • 347
13 votes

update problem with apt-get after new install of OS

You've asked a good question - one that's a potential concern to all RPi users. I'm still working through this - I may not have a complete answer now, but I'll post what I've learned now, and update ...
Seamus's user avatar
  • 22k
12 votes

Do I still need rpi-update if I am using the latest version of Raspbian?

The answer marked as correct is in fact outdated, and in a problematic way: rpi-update will update the firmware to the latest published version, which has to be considered "not stable". So following ...
Panca's user avatar
  • 121
12 votes

Configuring `unattended-upgrades` on Raspbian Stretch

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 ...
Peter Nowee's user avatar
10 votes
Accepted

How do I update Java 8 in Raspbian

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-...
hannes ach's user avatar
10 votes

Is the Raspberry Pi vulnerable to the Spectre or Meltdown exploit?

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 ...
juhist's user avatar
  • 201
10 votes
Accepted

Xorg doesn't start after upgrade from Stretch to Buster

After enabling ssh, I could figure out that the xserver did not start. startx said "no screens found". So I tried out all the ways to config the pi in headless mode Editing the config.txt ...
Red's user avatar
  • 149
7 votes

Upgrade to Raspbian Jessie

Just an addition for users that could land here looking for the upgrade procedure, like me! On the official Raspberry Pi website the update from Wheezy to Jessie is discouraged. Instead they ...
Cheshire Cat's user avatar
7 votes

Pi 3 Raspbian "stretch" (testing) disables wifi

The package that provides the Wi-Fi firmware is called firmware-brcm80211. To downgrade this package to a version that works: sudo apt-get install firmware-brcm80211=0.43+rpi5 To prevent this ...
NobodyNada's user avatar
7 votes

Enable SSH in NOOBS before install

You just need to add a file named 'ssh' to the noobs partition (you can do it right when copying fresh noobs files to a clean sd card) and it will enable ssh for raspbian when you install it from this ...
nars's user avatar
  • 171
6 votes
Accepted

Can I plug my SD card from Pi 3 into a Pi 4?

This can be done, but requires a bit of work to get the bootloader updated for Raspberry Pi 4. Here's how I did it: Back up your SD card!!! This can go wrong any number of ways. Not my fault if you ...
Tim Morgan's user avatar
6 votes

Is older Raspberry Pi safe? When is the end of software support for them?

The same version of Raspberry Pi OS works on all Pi models. https://www.raspberrypi.org/downloads/
joan's user avatar
  • 71k
5 votes
Accepted

How to fix glibc vulnerability CVE-2015-7547

According to the Debian Security Tracker entry for this vulnerability, updates for glibc/eglibc/libc6 will fix this issue: wheezy: 2.13-38+deb7u10 jessie: 2.19-18+deb8u3 These are available for ...
kba's user avatar
  • 312
5 votes

Installing Qt on Raspberry Pi 3

Here is a working way to install Qt5. For Qt5 there is no need for dev-tools. So this command is not relevant: sudo apt-get install qt4-dev-tools The two commands needed to install Qt5 fully are: ...
Chandra's user avatar
  • 51
5 votes
Accepted

How to upgrade GNU nano to newer version?

Why does Raspbian think you have the latest version of nano when you don't? I'm guessing you're running Raspbian Jessie. If you are, it turns out that 2.2.6 is the latest version of nano in the ...
Aurora0001's user avatar
  • 6,308
5 votes
Accepted

Apt-Get Update security failure

Your question states that your sources.list file is "default". If that's the case, I'm not sure why your errors are pointing to debian servers. You didn't show us what your /etc/apt/sources.list file ...
Seamus's user avatar
  • 22k
5 votes
Accepted

Failed to fetch https://dev2day.de/pms/dists/jessie/main/binary-armhf/Packages HttpError404

Plex media server has shut down the repository at https://dev2day.de/. They have moved to https://downloads.plex.tv/repo/deb. This page provides the installation instructions, in essence, you need to ...
Dmitry Grigoryev's user avatar
5 votes
Accepted

How to restore audio output after updating Raspbian Buster on Pi4

I decided to answer myown Q because I dug through a lot of material before asking here, and found a lot of solutions dealing with similar, but not the same issue. Thanks to @Andyroo the why this ...
Dalen's user avatar
  • 201
5 votes

apt update problem - 404

Hasn't jessie reached end of life? Index of /raspbian/dists/ ../ bookworm/ 26-Aug-2021 18:30 - bookworm-staging/ ...
joan's user avatar
  • 71k
4 votes
Accepted

Problems getting df to update on my raspberry pi

Different Raspbian Releases Raspbian 8 Jessie closely follows Debian 8 Jessie. As of this writing, the current version of coreutils on Debian 8 Jessie is 8.23-4 Raspbian 7 Wheezy closely follows ...
Hydraxan14's user avatar
  • 1,836

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