How to Remove PPA Repositories in Debian, Ubuntu, and Linux Mint

Linux Tips

If you're like me and prefer to manually remove PPAs instead of using tools like ppa-purge, this method is straightforward, fast, and reliable — just like Debian users do.


🛠️ Steps to Remove a PPA Repository

1. Open a terminal and switch to root or use sudo:

sudo -i

2. Navigate to the PPA sources directory:

cd /etc/apt/sources.list.d/

3. List all PPA source files:

ls

Example output:

google-talkplugin.list         hotot-team-ppa-jessie.list       wuala.list
google-talkplugin.list.save    hotot-team-ppa-jessie.list.save  wuala.list.save

4. Remove the unwanted PPA files:

rm hotot-team-ppa-jessie.list
rm hotot-team-ppa-jessie.list.save

5. Update your package lists:

apt-get update

(or)

aptitude update

✅ That's it!

After this, your system won't try to fetch packages from the removed PPA, and you won't get any related errors.


See you next time! 👋


Comments

Search

Cargando buscador...