# Rpi-eeprom update fails

**URL:** https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407
**Category:** Troubleshooting
**Created:** [14 November 2023 06:42 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407 "2023-11-14T06:42:41Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![them](https://dietpi.com/forum/user_avatar/dietpi.com/them/32/7568_2.png) [@them](https://dietpi.com/forum/u/them)
#### Post date: [14 November 2023 06:42 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/1 "2023-11-14T06:42:41Z")

</div>

Trying a regular apt upgrade and two packages fail to be upgraded or installed: raspi-firmware, rpi-eeprom

Log:

```auto
The following NEW packages will be installed:
  raspi-firmware
The following packages will be upgraded:
  rpi-eeprom
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 7873 kB of archives.
After this operation, 22.3 MB of additional disk space will be used.
Get:1 https://archive.raspberrypi.org/debian bookworm/main arm64 raspi-firmwareall 1:1.20231024+ds-1+rpt1 [4550 kB]
Get:2 https://archive.raspberrypi.org/debian bookworm/main arm64 rpi-eeprom all20.1-2 [3322 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 7873 kB in 1s (5964 kB/s)
                                 Selecting previously unselected package raspi-firmware.
(Reading database ... 24642 files and directories currently installed.)
Preparing to unpack .../raspi-firmware_1%3a1.20231024+ds-1+rpt1_all.deb ...
Unpacking raspi-firmware (1:1.20231024+ds-1+rpt1) ...
Preparing to unpack .../rpi-eeprom_20.1-2_all.deb ...
Unpacking rpi-eeprom (20.1-2) over (20.1-1) ...
Setting up raspi-firmware (1:1.20231024+ds-1+rpt1) ...
Error: missing /boot/firmware, did you forget to mount it?
dpkg: error processing package raspi-firmware (--configure):
 installed raspi-firmware package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of rpi-eeprom:
 rpi-eeprom depends on raspi-firmware; however:
  Package raspi-firmware is not configured yet.

dpkg: error processing package rpi-eeprom (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 raspi-firmware
 rpi-eeprom
E: Sub-process /usr/bin/dpkg returned an error code (1)

```

#### Required Information

- DietPi version  
G\_DIETPI\_VERSION\_CORE=8  
G\_DIETPI\_VERSION\_SUB=23  
G\_DIETPI\_VERSION\_RC=3

- Distro version  
bookworm 0

- Kernel version  
Linux 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)

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 07:16 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/2 "2023-11-14T07:16:04Z")

</div>

already known, see [Package raspi-firmware is not configured yet · Issue #6747 · MichaIng/DietPi · GitHub](https://github.com/MichaIng/DietPi/issues/6747)

---

<div class="post-metadata">

### Author: ![Sarge198](https://dietpi.com/forum/user_avatar/dietpi.com/sarge198/32/2686_2.png) [@Sarge198](https://dietpi.com/forum/u/Sarge198)
#### Post date: [14 November 2023 08:12 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/3 "2023-11-14T08:12:36Z")

</div>

Is it safe to reboot after having this update fail?

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 08:26 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/4 "2023-11-14T08:26:33Z")

</div>

yes, you can follow the advice on GitHub

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 08:27 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/5 "2023-11-14T08:27:53Z")

</div>



---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 08:45 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/6 "2023-11-14T08:45:36Z")

</div>

Hi!  
Just got this but reading this only now 🥲  
Run `apt upgrade` and failed with errors above then rebooted. Anything I should be worried off?  
I’ve a dietpi-backup from a couple of hours ago, should I restore?  
Thanks!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 08:57 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/7 "2023-11-14T08:57:12Z")

</div>

Follow the instructions on GitHub for now

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 11:05 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/8 "2023-11-14T11:05:17Z")

</div>

```auto
Please select from the error-handle "Change command" and replace everything with true

```

Can you explain this please?  
Would restoring a `diepi-backup` be the same?

---

<div class="post-metadata">

### Author: ![Jappe](https://dietpi.com/forum/user_avatar/dietpi.com/jappe/32/1788_2.png) [@Jappe](https://dietpi.com/forum/u/Jappe)
#### Post date: [14 November 2023 11:11 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/9 "2023-11-14T11:11:16Z")

</div>

Execute `dietpi-update` and when the error shows, chose `change command` and enter `true`.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 13:06 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/10 "2023-11-14T13:06:52Z")

</div>

> [@anon73635786](#):
>
> Would restoring a `diepi-backup`

there is no need to perform a restore.

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 13:13 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/11 "2023-11-14T13:13:31Z")

</div>

> [@Jappe](#):
>
> Execute `dietpi-update` and when the error shows, chose `change command` and enter `true`.

I just did this but wasn’t ask to chose `change command`.

> [@Joulinar](#):
>
> there is no need to perform a restore.

Got it!

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 13:19 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/12 "2023-11-14T13:19:12Z")

</div>

> [@anon73635786](#):
>
> I just did this but wasn’t ask to chose `change command`.

Did you run `dietpi-update` after executing the workaround from GitHub? I guess so.

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 13:25 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/13 "2023-11-14T13:25:33Z")

</div>

No just the opposite as reading the workarount I tought you first chose `change command` when update fails and **then** you do the workaround 😅

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 13:39 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/14 "2023-11-14T13:39:27Z")

</div>

the workaround need to be applied on any case. Using `change command` option is just a way to continue with `dietpi-update` if hit by the error.

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 13:46 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/15 "2023-11-14T13:46:37Z")

</div>

I’ve run `apt upgrade` as prompted by DietPi, got error and rebooted.  
I tried running `dietpi-update` to get error again and do the workaround but I didn’t get any error.  
Btw I’ve restored tonight’s backup 👍

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 13:47 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/16 "2023-11-14T13:47:55Z")

</div>

> [@anon73635786](#):
>
> Btw I’ve restored tonight’s backup

that was not needed at all

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 13:51 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/17 "2023-11-14T13:51:54Z")

</div>

I know but now I’m just like before applying the update and can wait for a live patch.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 14:25 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/18 "2023-11-14T14:25:04Z")

</div>

DietPi update is not the issue. It’s the apt package update from rpi-eeprom (20.1-1) to (20.1-2). This requires a new file system layout structure due to the raspi-firmware package.

---

<div class="post-metadata">

### Author: ![anon73635786](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/a/5e9695/32.png) [@anon73635786](https://dietpi.com/forum/u/anon73635786)
#### Post date: [14 November 2023 14:58 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/19 "2023-11-14T14:58:08Z")

</div>

Will a live patch be released? I remember seeing something on the GitHub’s issue.

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [14 November 2023 15:24 UTC](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407/20 "2023-11-14T15:24:10Z")

</div>

Depends on complexity. Usually Live patches are simple fixes. Not sure how complex this one will be.

[Next page](https://dietpi.com/forum/t/rpi-eeprom-update-fails/18407.md?page=2)
