Para excluir e limpar todos os PPAs:
O ppa-purge
remove o PPA e tenta substituir os pacotes instalados pela versão oficialmente do Ubuntu Repositories
-
Instale
ppa-purge
sudo apt-get install ppa-purge
-
Relacione os comandos a serem usados com o comando abaixo. Este comando não faz nada além de imprimir os comandos a serem usados na próxima etapa
find /etc/apt/sources.list.d -type f -name "*.list" -print0 | \ while read -d $'
' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; donefind /etc/apt/sources.list.d -type f -name "*.list" -print0 | \ while read -d $'
' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {system("sudo ppa-purge ppa:"$4"/"$5)}' "$file"; done% find /etc/apt/sources.list.d -type f -name "*.list" -print0 | while read -d $'
' file; do awk -F/ '/deb / && /launchpad/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; done sudo ppa-purge ppa:yannubuntu/boot-repair sudo ppa-purge ppa:bugs-launchpad-net-falkensweb/cool-retro-term sudo ppa-purge ppa:andreas-boettger/gmusicbrowser-art sudo ppa-purge ppa:yorba/ppa sudo ppa-purge ppa:libreoffice/libreoffice-prereleases sudo ppa-purge ppa:ricotz/testing sudo ppa-purge ppa:nilarimogard/webupd8 sudo ppa-purge ppa:andreas-boettger/private sudo ppa-purge ppa:snappy-dev/beta sudo ppa-purge ppa:diesch/testing sudo ppa-purge ppa:webupd8team/tor-browser sudo ppa-purge ppa:musicbrainz-developers/stable sudo ppa-purge ppa:latexila/ppa sudo ppa-purge ppa:gencfsm/ppa sudo ppa-purge ppa:webupd8team/java sudo ppa-purge ppa:minecraft-installer-peeps/minecraft-installer sudo ppa-purge ppa:gnome3-team/gnome3-staging sudo ppa-purge ppa:git-core/ppa sudo ppa-purge ppa:stackapplet-dev/stackapplet sudo ppa-purge ppa:linuxgndu/sqlitebrowser sudo ppa-purge ppa:webupd8team/atom sudo ppa-purge ppa:webupd8team/unstable sudo ppa-purge ppa:gnome3-team/gnome3 sudo ppa-purge ppa:webupd8team/y-ppa-manager sudo ppa-purge ppa:team-xbmc/ppa sudo ppa-purge ppa:peterlevi/ppa sudo ppa-purge ppa:stebbins/handbrake-snapshots sudo ppa-purge ppa:noobslab/apps sudo ppa-purge ppa:numix/ppa sudo ppa-purge ppa:dreibh/ppa sudo ppa-purge ppa:saiarcot895/flightgear sudo ppa-purge ppa:andreas-boettger/gmusicbrowser-daily sudo ppa-purge ppa:xorg-edgers/ppasudo apt-get install ppa-purge
-
Verifique a saída anterior e, se tudo estiver ok, dispare os comandos de eliminação com o comando abaixo
find /etc/apt/sources.list.d -type f -name "*.list" -print0 | \ while read -d $'
' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; donefind /etc/apt/sources.list.d -type f -name "*.list" -print0 | \ while read -d $'
' file; do awk -F/ '/deb / && /ppa\.launchpad\.net/ {system("sudo ppa-purge ppa:"$4"/"$5)}' "$file"; done% find /etc/apt/sources.list.d -type f -name "*.list" -print0 | while read -d $'%pre%' file; do awk -F/ '/deb / && /launchpad/ {print "sudo ppa-purge ppa:"$4"/"$5}' "$file"; done sudo ppa-purge ppa:yannubuntu/boot-repair sudo ppa-purge ppa:bugs-launchpad-net-falkensweb/cool-retro-term sudo ppa-purge ppa:andreas-boettger/gmusicbrowser-art sudo ppa-purge ppa:yorba/ppa sudo ppa-purge ppa:libreoffice/libreoffice-prereleases sudo ppa-purge ppa:ricotz/testing sudo ppa-purge ppa:nilarimogard/webupd8 sudo ppa-purge ppa:andreas-boettger/private sudo ppa-purge ppa:snappy-dev/beta sudo ppa-purge ppa:diesch/testing sudo ppa-purge ppa:webupd8team/tor-browser sudo ppa-purge ppa:musicbrainz-developers/stable sudo ppa-purge ppa:latexila/ppa sudo ppa-purge ppa:gencfsm/ppa sudo ppa-purge ppa:webupd8team/java sudo ppa-purge ppa:minecraft-installer-peeps/minecraft-installer sudo ppa-purge ppa:gnome3-team/gnome3-staging sudo ppa-purge ppa:git-core/ppa sudo ppa-purge ppa:stackapplet-dev/stackapplet sudo ppa-purge ppa:linuxgndu/sqlitebrowser sudo ppa-purge ppa:webupd8team/atom sudo ppa-purge ppa:webupd8team/unstable sudo ppa-purge ppa:gnome3-team/gnome3 sudo ppa-purge ppa:webupd8team/y-ppa-manager sudo ppa-purge ppa:team-xbmc/ppa sudo ppa-purge ppa:peterlevi/ppa sudo ppa-purge ppa:stebbins/handbrake-snapshots sudo ppa-purge ppa:noobslab/apps sudo ppa-purge ppa:numix/ppa sudo ppa-purge ppa:dreibh/ppa sudo ppa-purge ppa:saiarcot895/flightgear sudo ppa-purge ppa:andreas-boettger/gmusicbrowser-daily sudo ppa-purge ppa:xorg-edgers/ppa
Exemplo de saída
%pre%