Hi I an a linux noob and have been scratching my head on this issue. My current version of dietpi is v8.21.1 and want to upgrade it to v8.25.1. But everytime I tried to update I get the following error.
Err:4 http://ppa.launchpad.net/mc3man/xerus-media/ubuntu mantic Release
404 Not Found [IP: 185.125.190.80 80]
Err:7 http://ppa.launchpad.net/ondrej/php/ubuntu mantic Release
404 Not Found [IP: 185.125.190.80 80]
It seems that an apt repository is not found.
You could look at next for entries in /etc/apt/sources.list or in files of the directory /etc/apt/sources.list.d/
Try to find out how this repo was initiated on your system and whether you can easily ignore/delete it.
This would be an easy solution.
Sometimes the repository servers are unavailable, then you should try the update later (hours, days).
Well you added an Ubuntu repository manual l guess. However we are using Debian. Means this is completely wrong and source configuration to be corrected. Looking to the repository name, it seems you tried to add additional PHP repository.
Not the entire directory, but only all Ubuntu files. At least from our side there is nothing that adds Ubuntu source files. Have you installed any software manually? With the help of instructions from the internet?
keep in mind. DietPi version has no relation to Debian version. Actually, you are using Debian Bullseye offering PHP 7.4. You will need to upgrade to Debian Bookworm if you like to have PHP8 support. Debian Bookworm has been released – DietPi Blog