"sudo ppa-purge ppa" failed with "Warning: Could not find package list for PPA:"
Matthew Barrera
I am trying to ppa-purgeagornostal/ulauncher,apandada1/brightness-controller andlinuxuprising/shutter
packages which I listed usingfind /etc/apt/sources.list.d -type f -name "*.list" -print0 | while read -d $'\0' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; done command.
But when I try to run the following commands
sudo ppa-purge ppa:agornostal/ulaunchersudo ppa-purge ppa:apandada1/brightness-controllersudo ppa-purge ppa:linuxuprising/shutter
It fails with following WarningUpdating packages lists PPA to be removed: agornostal ulauncher Warning: Could not find package list for PPA: agornostal ulauncher
How can I use "ppa-purge" on these?
$ aptitude search ~o
i asbru-cm - A free and open-source connection manager
i A containerd.io - An open and reliable container runtime
i docker-ce - Docker: the open-source application contai
i A docker-ce-cli - Docker CLI: the open-source application co
i A docker-ce-rootless-extras - Rootless support for Docker.
i vault - A tool for secrets management, encryption 6 1 Answer
I found the answer after some research,
Step 1:
Listing items using following comandfind /etc/apt/sources.list.d -type f -name "*.list" -print0 | while read -d $'\0' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; done
Step 2
Direct to /etc/apt/sources.list.d folder.
Step 3 Remove all results got from the 1st command in this folder path