I wanted to install ctop on Ubuntu 22 and added the key and repository. But the repository does not contain a release file and apparently ctop is no longer maintained.
Now I wanted to delete the key and repository, but key is not displayed via sudo apt-key list.
How do I delete the key + repository properly? I see that key in "/usr/share/keyrings"
I used these commands:
sudo apt-get install ca-certificates curl gnupg lsb-release
curl -fsSL https://azlux.fr/repo.gpg.key | sudo gpg --dearmor -o /usr/share/keyrings/azlux-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/azlux-archive-keyring.gpg] http://packages.azlux.fr/debian \
$(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/azlux.list >/dev/null
sudo apt-get update
Source: https://github.com/bcicen/ctop