I’m running Pi-hole on a Raspberry Pi 1 Model B+. When I recently switched the SD card I installed via the Raspberry PI Imager the Raspberry Pi OS Lite (32-bit) version since the Pi will be running headless and therefore I don’t need more and the Pi 1 isn’t a 64 bit machine.
Today I wanted to update the installed packages via the command:
apt update && apt upgrade -y && apt autoremove -y
16 packages were found to be upgradeable but only 15 went through because 1 got flagged as:
Not upgrading: linux-image-rpi-v8:arm64
Why is my command making my Pi look for something 64 bit related? Is there something I can do or is it that since my Pi 1 isn’t capable of 64 bit I just leave it as it is? I’ve never seen this message before and I’m a novice / rookie regarding working with Linux / SSH I’m not very confident of what (if anything) to do.
The Raspberry Pi images often contain many (all?) possibilities. You likely have that package already installed but may lack disk space to upgrade it now. You will likely need to pose your question on a Raspberry Pi forum for support though, as that’s an OS level item not Pi-hole related.
@DonDuracell , you didnt mention the OS release version?
$ cat /proc/device-tree/model; echo
Raspberry Pi Model B Rev 2
$ lsb_release -d
No LSB modules are available.
Description: Raspbian GNU/Linux 12 (bookworm)
That is to be expected as some packages are architecture independent so can be installed for both 32 bit (armhf) or 64 bit (arm64):
$ dpkg --print-architecture
armhf
$ dpkg --print-foreign-architectures
arm64
$ dpkg -s linux-image-rpi-v8
Package: linux-image-rpi-v8
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 13
Maintainer: Serge Schneider <serge@raspberrypi.com>
Architecture: arm64
Source: linux
Version: 1:6.12.25-1+rpt1
Provides: linux-latest-modules-6.12.25+rpt-rpi-v8, wireguard-modules (= 1.0.0)
Depends: linux-image-6.12.25+rpt-rpi-v8 (= 1:6.12.25-1+rpt1)
Description: Linux for Raspberry Pi v8 (meta-package)
This package depends on the latest Linux kernel and modules for use on
Raspberry Pi v8 kernel.
Homepage: https://github.com/raspberrypi/linux/
If I run a Bookworm upgrade:
$ sudo apt upgrade
[..]
The following packages have been kept back:
linux-image-rpi-v8:arm64
The normal "upgrade" command will upgrade all installed packages that have updates available - UNLESS that upgrade will require the installation of another package that isn't already installed, OR the upgrade requires removal of a package.
$ sudo apt full-upgrade
[..]
The following packages were automatically installed and are no longer required:
libunwind8 linux-headers-6.12.25+rpt-common-rpi linux-kbuild-6.12.25+rpt rpicam-apps-lite
Use 'sudo apt autoremove' to remove them.
[..]
The following NEW packages will be installed:
linux-image-6.12.47+rpt-rpi-v8:arm64
The following packages will be upgraded:
linux-image-rpi-v8:arm64
[..]
Unpacking linux-image-rpi-v8:arm64 (1:6.12.47-1+rpt1~bookworm) over (1:6.12.25-1+rpt1) ...
[..]
Setting up linux-image-6.12.47+rpt-rpi-v8:arm64 (1:6.12.47-1+rpt1~bookworm) ...
$ sudo apt autoremove
[..]
The following packages will be REMOVED:
libunwind8 linux-headers-6.12.25+rpt-common-rpi linux-kbuild-6.12.25+rpt rpicam-apps-lite
I only run a full-upgrade as a last resort as sometimes it can break your setup when it installs new packages or it can remove packages that you depend on!