1. Get a list of repositories apt-get is checking
grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*
2. Remove a repository
- Remove it from sources.list.
If it was added byadd-apt-repository
then you will find it in its own file in/etc/apt/sources.list.d
, not in the mainsources.list
.
sudo rm /etc/apt/sources.list.d/nemh-systemback-precise.list
- Optional: Stop trusting the key
Useapt-key list
to list trusted keys. Look for an entry like “Launchpad PPA for Kendek” in this case. Then useapt-key del
to delete it:
sudo apt-key del 73C62A1B
To be continued …