Kernel version | Linux DietPi 6.1.21-v7+ #1642 SMP Mon Apr 3 17:20:52 BST 2023 armv7l GNU/Linux
Architecture | armhf
Hardware model | RPi 2 Model B (armv7l) (ID=2)
Power supply | (EG: RAVPower 5V 1A)
SD card | (EG: SanDisk Ultra 16 GB)
I can’t update, upgrade or backup my dietpi
Additional logs:
Err:1 https://download.mono-project.com/repo/debian wheezy InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6A19B38D3D831EF
Reading package lists...
W: GPG error: https://download.mono-project.com/repo/debian wheezy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A6A19B38D3D831EF
E: The repository 'http://download.mono-project.com/repo/debian wheezy InRelease' is not signed.
You added an outdated mono repo. It’s for Debian wheezy (Debian 7 from 2016) but you are using Debian bookworm.
Did you install mono via dietpi-software?
ID 5 | =2 | ALSA: Advanced Linux Sound Architecture |
ID 7 | =2 | FFmpeg: Audio & video codec libary and programs |
ID 31 | =2 | Kodi: The media centre for Linux | +ALSA +Avahi-Daemon |
ID 39 | =2 | ReadyMedia: (MiniDLNA) media streaming server (dlna, upnp)
ID 96 | =2 | Samba Server: Feature-rich SMB/CIFS server |
ID 103 | =2 | DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot | |
ID 104 | =2 | Dropbear: Lightweight SSH server |
ID 152 | =2 | Avahi-Daemon: Hostname broadcast via mDNS (Zeroconf, Bonjour) |
ID 170 | =2 | UnRAR: unarchiver for .rar files |
I can’t run the backup:
DietPi-Backup
─────────────────────────────────────────────────────
Mode: Backup
[ SUB1 ] DietPi-Services > stop
[ OK ] DietPi-Services | stop : cron
[ OK ] DietPi-Services | stop : minidlna
[ OK ] DietPi-Services | stop : smbd
[ OK ] DietPi-Services | stop : nmbd
[ OK ] DietPi-Services | stop : avahi-daemon
[ INFO ] DietPi-Backup | Checking for required APT packages: rsync
[ INFO ] DietPi-Backup | APT update, please wait...
Hit:1 https://dietpi.com/apt bookworm InRelease
Hit:2 https://archive.raspberrypi.com/debian bookworm InRelease
Reading package lists...
[ OK ] DietPi-Backup | APT update
[ INFO ] DietPi-Backup | APT install rsync, please wait...
Reading package lists...
Building dependency tree...
Reading state information...
Package rsync is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'rsync' has no installation candidate
root@DietPi:~# for i in /etc/apt/sources.list{,.d/*.list}; do echo "$i:"; cat "$i"; done
/etc/apt/sources.list:
cat: /etc/apt/sources.list: No such file or directory
/etc/apt/sources.list.d/dietpi.list:
deb https://dietpi. com/apt bookworm main rpi2
deb https://dietpi. com/apt all rpi
/etc/apt/sources.list.d/raspi.list:
deb https://archive.raspberrypi. com/debian bookworm main
root@DietPi:~# apt update
Hit:1 https://dietpi.com/apt bookworm InRelease
Hit:2 https://dietpi.com/apt all InRelease
Get:3 http://raspbian.raspberrypi.com/raspbian bookworm InRelease [15.0 kB]
Get:4 https://archive.raspberrypi.com/debian bookworm InRelease [39.0 kB]
Err:3 http://raspbian.raspberrypi.com/raspbian bookworm InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
Get:5 https://archive.raspberrypi.com/debian bookworm/main armhf Packages [531 kB]
Reading package lists... Done
W: GPG error: http://raspbian.raspberrypi.com/raspbian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
E: The repository 'http://raspbian.raspberrypi.com/raspbian bookworm InRelease' is not signed.
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.
ahh my mistake, wrong content, pls replace content of /etc/apt/sources.list as follow
deb https://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb https://deb.debian.org/debian-security/ bookworm-security main contrib non-free non-free-firmware
deb https://deb.debian.org/debian/ bookworm-backports main contrib non-free non-free-firmware