Sometimes, the old certificate will no longer work on secondary packages. In the fall of 2022, we had a problem with goaccess. The way to fix this is to remove the old gpg key, and add a new one from the client site. This will show up when trying to do an apt update and will look similar to this:
Err:9 https://deb.goaccess.io focal InRelease The following signatures were invalid: EXPKEYSIG 97BD1A0133449C3D Gerardo Orellana <firstname.lastname@example.org>
Following was the fix for goaccess. Note that the you need to use the correct key to remove, remove the correct file, and download the new file from the correct URL.
apt-key del 97BD1A0133449C3D rm -rf /usr/share/keyrings/goaccess.gpg wget -O - https://deb.goaccess.io/gnugpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/goaccess.gpg >/dev/null cd /usr/share/keyrings sudo apt-key add goaccess.gpg
I have spent significant time trying to figure out what should be the standard apt sources.list files. Finally, I found it (listed right there on the Devuan web site). This is current as of 2021, but go to https://www.devuan.org/os/packages for the “true” list.
deb http://deb.devuan.org/merged beowulf main deb http://deb.devuan.org/merged beowulf-updates main deb http://deb.devuan.org/merged beowulf-security main
deb http://deb.devuan.org/merged ascii main deb http://deb.devuan.org/merged ascii-updates main deb http://deb.devuan.org/merged ascii-security main
deb http://archive.devuan.org/merged jessie main deb http://archive.devuan.org/merged jessie-updates main deb http://archive.devuan.org/merged jessie-security main
Same thing for Zabbix. It is sitting somewhere out there on the zabbix web site, but https://tecadmin.net/install-zabbix-agent-on-debian/ has it also.
## For Debian 10: wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+buster_all.deb sudo dpkg -i zabbix-release_4.0-3+buster_all.deb ## For Debian 9: wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+stretch_all.deb sudo dpkg -i zabbix-release_4.0-3+stretch_all.deb ## For Debian 8: wget https://repo.zabbix.com/zabbix/4.0/debian/pool/main/z/zabbix-release/zabbix-release_4.0-3+jessie_all.deb sudo dpkg -i zabbix-release_4.0-3+jessie_all.deb