dietpi@DietPi:~$ sudo apt-get -y -eany update
Hit:1 http://deb.debian.org/debian bookworm InRelease
Hit:2 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 http://deb.debian.org/debian-security bookworm-security InRelease
Hit:5 http://deb.debian.org/debian bookworm-backports InRelease
Ign:3 https://download.docker.com/linux/ubuntu bookworm InRelease
Err:6 https://download.docker.com/linux/ubuntu bookworm Release
404 Not Found [IP: 18.239.236.29 443]
Reading package lists... Done
E: The repository 'http://download.docker.com/linux/ubuntu bookworm Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Extra details
Hi everyone, first post here.
I installed DietPi on an old laptop and am running in the error above when I try to install any package. Fresh install, nothing custom.
As you can see in the URLs above I have already followed some advice from https://dietpi.com/forum/t/update-not-working-ca-issues-no-release-file/5788 to update sources.list file to download sources in http, as my machine is old and has probably issues with HTTPS certificates.
Unfortunately docker.com does not seem to let me do that trick.
What have you done??? Did you install Docker manually? Because that is a completely wrong configuration of the source file. DietPi is based on Debian, not Ubuntu. Also Bookworm is a Debian version and not Ubuntu. You need to remove this source file completely and use our dietpi-software installer if you want to install Docker. This is an E2E automation and should avoid such manual issues.
I had installed Ubuntu server previously on this machine then installed DietPi over it, so there should not be any traces of it right? Can DietPi get installed without wiping the main HDD?
I did not install Docker myself, no.
The first time I got the message was through the installer.
Do you know how I could remove this source file please?
you can’t continue using this installation of DietPi. We don’t support Ubuntu. You need to use a Debian image. How did you install Ubuntu before? Same you could do with Debian while using the Debian netinst.
if you are going to wipe the whole drive, you should use our direct imaged for Native PC and not the conversion script. Or is there some other OS running next to DietPi?
I think I know what must have happened: during install the wifi connection dropped a few times which led to some failure during installation. I may have overlooked this and moved on.