Example of Reset/Cleanup Debian/Ubuntu Packages
Contents
Installation via .deb Package
Add the Rancher Desktop repository and install Rancher Desktop with:
curl https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/Release.key | sudo apt-key add -
sudo add-apt-repository 'deb https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./'
sudo apt update
sudo apt install rancher-desktopUninstalling .deb Package
You can remove the package, repository, and key with:
sudo apt remove --autoremove rancher-desktop
sudo add-apt-repository -r 'deb https://download.opensuse.org/repositories/isv:/Rancher:/stable/deb/ ./'
sudo apt-key del <keyid>Where keyid is the line above the one containing isv:Rancher:stable when you run apt-key list. So if I have the following block for the Rancher Desktop Key:
pub rsa2048 2021-10-29 [SC] [expires: 2024-01-07]
236E B3BE 8504 1EAE C40B 2641 2431 4E44 EE21 3962
uid [ unknown] isv:Rancher:stable OBS Project <isv:Rancher:stable@build.opensuse.org>Then my keyid is 236E B3BE 8504 1EAE C40B 2641 2431 4E44 EE21 3962.