Apt update/ apt upgrade/ apt dist-upgrade problem

Hello,

the attempt to run apt update and apt upgrade resulted in the following output:

root@buero-pi:~# sudo apt-get update
OK:1 https://download.docker.com/linux/debian bookworm InRelease
OK:2 https://deb.debian.org/debian bookworm InRelease
OK:3 https://deb.debian.org/debian bookworm-updates InRelease
OK:4 https://deb.debian.org/debian-security bookworm-security InRelease
OK:5 https://archive.raspberrypi.org/debian bookworm InRelease
OK:6 https://deb.debian.org/debian bookworm-backports InRelease
Paketlisten werden gelesen… Fertig
root@buero-pi:~# sudo apt-get upgrade
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
2 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
raspi-firmware (1:1.20231024+ds-1+rpt2) wird eingerichtet ...
stat: die Dateisysteminformation für '/boot/firmware' kann nicht gelesen werden: Datei oder Verzeichnis nicht gefunden
Error: missing /boot/firmware, did you forget to mount it?
dpkg: Fehler beim Bearbeiten des Paketes raspi-firmware (--configure):
 »installiertes post-installation-Skript des Paketes raspi-firmware«-Unterprozess gab den Fehlerwert 1 zurück
dpkg: Abhängigkeitsprobleme verhindern Konfiguration von rpi-eeprom:
 rpi-eeprom hängt ab von raspi-firmware; aber:
  Paket raspi-firmware ist noch nicht konfiguriert.

dpkg: Fehler beim Bearbeiten des Paketes rpi-eeprom (--configure):
 Abhängigkeitsprobleme - verbleibt unkonfiguriert
Fehler traten auf beim Bearbeiten von:
 raspi-firmware
 rpi-eeprom
E: Sub-process /usr/bin/dpkg returned an error code (1)

The dietpi-update command outputs the following:

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[  OK  ] DietPi-Update | Checking IPv4 network connectivity
[  OK  ] DietPi-Update | Checking DNS resolver
[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/master/.update/version
[  OK  ] DietPi-Update | Got valid latest version: 8.23.3
[  OK  ] DietPi-Update | No update required, your DietPi installation is already up to date:
[ INFO ] DietPi-Update | Current version : v8.23.3
[ INFO ] DietPi-Update | Latest version  : v8.23.3
[ INFO ] DietPi-Update | Checking for new available live patches
[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 https://download.docker.com/linux/debian bookworm InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://deb.debian.org/debian-security bookworm-security InRelease
Hit:5 https://deb.debian.org/debian bookworm-backports InRelease
Hit:6 https://archive.raspberrypi.org/debian bookworm InRelease
Reading package lists...
[  OK  ] DietPi-Update | APT update
[ INFO ] DietPi-Update | No APT upgrades were found, not creating file: /run/dietpi/.apt_updates

What’s going on there?

Best regards,
Carsten

Required Information

  • DietPi version
    G_DIETPI_VERSION_CORE=8
    G_DIETPI_VERSION_SUB=23
    G_DIETPI_VERSION_RC=3
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’
    G_LIVE_PATCH_STATUS[0]=‘applied’
    G_LIVE_PATCH_STATUS[1]=‘applied’

  • Distro version
    bookworm 0

  • Kernel version
    Linux buero-pi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • Architecture
    arm64

  • SBC model
    RPi 4 Model B (aarch64)

  • Power supply used | (EG: 5V 3A)

  • SD card used
    no SD card, USB MSATA

Did you check the following topic?

It should be pinned on top of the forum. At least if not logged in

1 Like

@Joulinar

There it was again, the problem with reading, sorry once again overlooked. :woozy_face:
Nevertheless, a request, after executing the workaround from Github, the following output appears in apt update:

Die folgenden Pakete sind zurückgehalten worden:
rpi-eeprom
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.

This is a temporary solution until the final patch?

Correct, it’s a workaround until we found a way to migrate existing systems into the new RPi firmware world.

@Joulinar

Thanks for the reply and correcting the appearance of my question! :vulcan_salute:

BTW: RPI developer removed dependency between packages and workaround is not needed anymore. Package raspi-firmware is not configured yet · Issue #6747 · MichaIng/DietPi · GitHub

@Joulinar
Thanks for the info!