MichaIng / DietPi

Lightweight justice for your single-board computer!

Home Page:https://dietpi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while updating to 9.02 to current version 9.1.1

sfbuch opened this issue · comments

Details:

  • Date | Thu Feb 22 23:38:36 GMT 2024
  • DietPi version | v9.0.2 (MichaIng/master)
  • Image creator |
  • Pre-image |
  • Hardware | RPi 2 Model B (armv7l) (ID=2)
  • Kernel version | Linux DietPi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
  • Distro | bullseye (ID=6,RASPBIAN=0)
  • Command | apt-get -y --with-new-pkgs upgrade
  • Exit code | 100
  • Software title | DietPi-Update

Steps to reproduce:

  1. dietpi-update
  2. ...

Expected behaviour:

Actual behaviour:

  • ...

Extra details:

  • ...

Additional logs:

Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 perl : Depends: libperl5.32 (= 5.32.1-4+deb11u3) but 5.32.1-4+deb11u2 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Just to say I am also getting this error and was about to make a post on the same topic. I did try running the command 'apt --fix-broken install' and then tried to update again but I am still getting an error.

Details:

  • Date | Thu Feb 22 23:54:16 GMT 2024
  • Bug report | 59276acf-c7a9-409c-b97f-e72ce1f121ea
  • DietPi version | v9.0.2 (MichaIng/master)
  • Image creator |
  • Pre-image |
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux RaspberryPi-4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Distro | bookworm (ID=7,RASPBIAN=0)
  • Command | curl -sSfLO https://github.com/MichaIng/DietPi/archive/master.tar.gz
  • Exit code | 6
  • Software title | DietPi-Update

Steps to reproduce:

  1. ... dietpi-update
  2. ...

Expected behaviour:

  • ... The update should be downloaded and applied.

Actual behaviour:

  • ... See above error.

Extra details:

  • ...

Additional logs:

curl: (6) Could not resolve host: github.com

@ISquishWorms your issue is completely different as you have some DNS challenges. Check your DNS server used as you are not able to resolve github.com

@sfbuch did you already tried apt --fix-broken install?

@ISquishWorms your issue is completely different as you have some DNS challenges. Check your DNS server used as you are not able to resolve github.com

Will do, I have my DNS set to PiHole using Unbound at the moment I will change that just for the update and try again. Although I did have the same error sfbuch had initially before running the "apt --fix-broken install". Also not sure why I can access github on the PC to post about the error I am having as the PC is on the same network as the PI using the same DNS?

Ok running the "apt --fix-broken install" fixed the issue but as Joulinar pointed out I then ran into a DNS problem which was resolved by using Cloudflare instead of my local DNS supplied by another PI using PiHole and Unbound. Never had an issue while updating using the local DNS before so not sure why this caused a problem last night. Oh well it is now solved thank you Joulinar for the assistance.