Dietpi-update failing

Good evening all, having an issue trying to run dietpi update command, looks like something I added, but I’m not sure how to remove this. If someone could guide me on how to remove this problem element from breaking diet-pi update, that would be great.

its returning this:

#### Details:
- Date           | Fri Feb 23 21:18:23 AEDT 2024
- Bug report     | 8be04af1-a0fb-41f3-9859-1dbd89732f5a
- DietPi version | v9.0.2 (MichaIng/master)
- Image creator  |
- Pre-image      |
- Hardware       | RPi 4 Model B (aarch64) (ID=4)
- Kernel version | `Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux`
- Distro         | bullseye (ID=6,RASPBIAN=0)
- Command        | `apt-get -y -eany update`
- Exit code      | 100
- Software title | DietPi-Update
#### Steps to reproduce:
<!-- Explain how to reproduce the issue -->
1. ...
2. ...
#### Expected behaviour:
<!-- What SHOULD happen? -->
- ...
#### Actual behaviour:
<!-- What IS happening? -->
- ...
#### Extra details:
<!-- Please post any extra details that might help solve the issue -->
- ...
#### Additional logs:

Hit:1 public InRelease
Hit:2 bullseye InRelease
Hit:3 bullseye-updates InRelease
Hit:4 bullseye-security InRelease
Hit:5 bullseye-backports InRelease
Ign:6 noble InRelease
Err:7 noble Release
  404  Not Found [IP: 2620:2d:4000:1::81 80]
Hit:8 bullseye InRelease
Reading package lists...
E: The repository ' noble Release' does not have a Release file.

[FAILED] DietPi-Update | Unable to continue, DietPi-Update will now terminate.

Thanks all

Hmm did you added this repository yourself? Because it’s a 3rd party php repository that doesn’t seems to exist anymore or is not reachable actually. Furthermore it’s pointing to Ubuntu while DietPi is based on Debian.

1 Like

Yes, looks like I added it following a guide recently, however, I’m not sure how to remove it.

May have been when trying to get Dietpi to use the latest version of php which I couldn’t get to work.

Is there a way I can remove this?


Let’s check where the configuration file is located

for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done

Btw to get PHP 8 a destro upgrade to Bookworm would be needed. There you don’t need a 3rd party repository :grin:

But first let’s clean your repository.

Thanks for your response,

root@fcnas:~# for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
deb bullseye main contrib non-free
deb bullseye-updates main contrib non-free
deb bullseye-security main contrib non-free
deb bullseye-backports main contrib non-free
deb noble main
# deb-src noble main
deb [arch=arm64 signed-by=/usr/share/keyrings/plexmediaserver.gpg] public main
deb bullseye main

This one to be removed

Thanks for t hat - how does one remove this?

rm /etc/apt/sources.list.d/ondrej-ubuntu-php-noble.list
1 Like

Perfect - thanks for all your help tonight, working like a charm!