MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.9k stars 499 forks source link

Impossibility to update DietPi on RPi 4b #7285

Closed boterocamilo closed 18 hours ago

boterocamilo commented 20 hours ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. Run dietpi-update
  2. Error occurs.
  3. It must exit since it does not install the update.

Expected behaviour

Actual behaviour

Extra details

Joulinar commented 19 hours ago

Not sure why but you added a docker repository for Ubuntu. And there the release Bookworm. First, DietPi is based on Debian and Bookworm is not a Ubuntu release. Any reason why you added it manually?

boterocamilo commented 18 hours ago

Not sure why but you added a docker repository for Ubuntu. And there the release Bookworm. First, DietPi is based on Debian and Bookworm is not a Ubuntu release. Any reason why you added it manually?

Actually I do not remember installing it manually. However, I did run the following: sudo rm /etc/apt/sources.list.d/docker.list Which contained the Ubuntu reference.

After, I ran dietpi-update and an error appeared, then I selected re-run.

Now I have the v9.8.0.

There is just one package that has been kept back (rpi-eeprom) and cannot be updated.

MichaIng commented 18 hours ago

In case you need Docker, you can install it via dietpi-software, either its menu as usual, or:

dietpi-software install 162

It does moreless the steps from official Docker install instructions: https://docs.docker.com/engine/install/debian/ Only difference is that the default data directory is at /mnt/dietpi_userdata/docker-data

Joulinar commented 18 hours ago

There is just one package that has been kept back (rpi-eeprom) and cannot be updated.

apt install --reinstall rpi-eeprom
MichaIng commented 18 hours ago

It requires one of the new firmware packages now, so this is expected, until migrating to new kernel/firmware stack: https://github.com/MichaIng/DietPi/issues/6676