Apt-get update fails

#### Details:
- Date           | 2025-04-08 08:35:26
- Program name   | DietPi-Software
- Command        | `apt-get -y -eany update`
- Exit code      | 100
- DietPi version | v9.11.2 (MichaIng/master)
- Distro version | bullseye (ID=6,RASPBIAN=1)
- Kernel version | `Linux DietPi4 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux`
- Architecture   | `armhf`
- Hardware model | RPi 4 Model B (aarch64) (ID=4)
- Power supply   | (EG: RAVPower 5V 1A)
- SD card        | (EG: SanDisk Ultra 16 GB)
- Pre-image      | Raspbian Lite
#### Steps to reproduce:
apt-get update
#### 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 https://downloads.plex.tv/repo/deb public InRelease
Hit:2 https://dietpi.com/apt bullseye InRelease
Hit:3 https://dietpi.com/apt all InRelease
Hit:4 https://archive.raspberrypi.com/debian bullseye InRelease
Err:5 https://raspbian.raspberrypi.com/raspbian bookworm InRelease
  Could not connect to raspbian.raspberrypi.com:443 (93.93.128.193). - connect (111: Connection refused)
Reading package lists...
E: Failed to fetch https://raspbian.raspberrypi.com/raspbian/dists/bookworm/InRelease  Could not connect to raspbian.raspberrypi.com:443 (93.93.128.193). - connect (111: Connection refused)
E: Some index files failed to download. They have been ignored, or old ones used instead.

Since update from buster to bookworm in Februar " dietpi-update" and “apt-get update” fail.

Ping runs fine:

ping raspbian.raspberrypi.com
PING mirrordirector.raspbian.org (93.93.128.193) 56(84) bytes of data.
64 bytes from 93.93.128.193 (93.93.128.193): icmp_seq=1 ttl=53 time=28.0 ms
64 bytes from 93.93.128.193 (93.93.128.193): icmp_seq=2 ttl=53 time=30.9 ms
^C

Date and time is fine too:

date
Di 8. Apr 08:47:49 CEST 2025

This ist the list of sources:

for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
/etc/apt/sources.list:
deb https://raspbian.raspberrypi.com/raspbian/ bookworm main contrib non-free rpi
/etc/apt/sources.list.d/dietpi.list:
deb https://dietpi.com/apt bullseye main rpi4
deb https://dietpi.com/apt all rpi
/etc/apt/sources.list.d/plexmediaserver.list:
deb https://downloads.plex.tv/repo/deb/ public main
/etc/apt/sources.list.d/raspi.list:
deb https://archive.raspberrypi.com/debian/ bullseye main

As workaround I changed my list of sources:

for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
/etc/apt/sources.list:
/etc/apt/sources.list.d/dietpi.list:
deb https://dietpi.com/apt all rpi
deb https://dietpi.com/apt bookworm main rpi4
/etc/apt/sources.list.d/plexmediaserver.list:
deb https://downloads.plex.tv/repo/deb/ public main
/etc/apt/sources.list.d/raspi.list:
deb https://archive.raspberrypi.com/debian/ bookworm main

This seems to work but I’m usure if it covers all neeed sources.

Thank’s for reading, Emil

your systems seems to be on Bullseye still, but you are using Bookworm source list?

And what have you done to /etc/apt/sources.list?? It seems to be empty now?