web-dev-qa-db-fra.com

nom d'un ppa pour ppa-purge

Je sais qu'il existe la même question , mais je pense que dans cette question, il n'y a pas de réponse. Je dois purger quelques ppas et j'essaie d'utiliser ppa-purge avec cette commande:

Sudo ppa-purge ppa:<ppa_name>/ppa

Mais quel est le ppa_name ?? J'ai ce (mauvais) sources.list.d

danielrichter2007-grub-customizer-precise.list       google-chrome.list.save                      n-muench-vlc-precise.list                 videolan-stable-daily-precise.list.save
danielrichter2007-grub-customizer-precise.list.save  jockey.list                                  n-muench-vlc-precise.list.save            webupd8team-unstable-precise.list
dropbox.list                                         jockey.list.save                             relan-exfat-precise.list                  webupd8team-unstable-precise.list.save
dropbox.list.save                                    langdalepl-gvfs-mtp-precise.list             relan-exfat-precise.list.save             wine-wine-builds-precise.list
freefilesync-ffs-precise.list                        langdalepl-gvfs-mtp-precise.list.save        thefanclub-grive-tools-precise.list       wine-wine-builds-precise.list.save
freefilesync-ffs-precise.list.save                   lubuntu-dev-lubuntu-daily-precise.list       thefanclub-grive-tools-precise.list.save
google-chrome.list                                   lubuntu-dev-lubuntu-daily-precise.list.save  videolan-stable-daily-precise.list

Mais je ne connais pas le nom, par exemple:

Sudo ppa-purge ppa:lubuntu/ppa
Updating packages lists
PPA to be removed: lubuntu ppa
Warning:  Could not find package list for PPA: lubuntu ppa

Modifier

/etc/apt/sources.list.d$ grep ppa /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
/etc/apt/sources.list:deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list:# deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu precise main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu precise main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list.save:# deb http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu precise main
/etc/apt/sources.list.d/danielrichter2007-grub-customizer-precise.list.save:# deb-src http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu precise main
/etc/apt/sources.list.d/freefilesync-ffs-precise.list:deb http://ppa.launchpad.net/freefilesync/ffs/ubuntu precise main
/etc/apt/sources.list.d/freefilesync-ffs-precise.list:deb-src http://ppa.launchpad.net/freefilesync/ffs/ubuntu precise main
/etc/apt/sources.list.d/freefilesync-ffs-precise.list.save:deb http://ppa.launchpad.net/freefilesync/ffs/ubuntu precise main
/etc/apt/sources.list.d/freefilesync-ffs-precise.list.save:deb-src http://ppa.launchpad.net/freefilesync/ffs/ubuntu precise main
/etc/apt/sources.list.d/langdalepl-gvfs-mtp-precise.list:deb http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main
/etc/apt/sources.list.d/langdalepl-gvfs-mtp-precise.list:deb-src http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main
/etc/apt/sources.list.d/langdalepl-gvfs-mtp-precise.list.save:deb http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main
/etc/apt/sources.list.d/langdalepl-gvfs-mtp-precise.list.save:deb-src http://ppa.launchpad.net/langdalepl/gvfs-mtp/ubuntu precise main
/etc/apt/sources.list.d/lubuntu-dev-lubuntu-daily-precise.list.save:deb-src http://ppa.launchpad.net/lubuntu-dev/lubuntu-daily/ubuntu precise main
/etc/apt/sources.list.d/n-muench-vlc-precise.list:deb http://ppa.launchpad.net/n-muench/vlc/ubuntu precise main
/etc/apt/sources.list.d/n-muench-vlc-precise.list:deb-src http://ppa.launchpad.net/n-muench/vlc/ubuntu precise main
/etc/apt/sources.list.d/n-muench-vlc-precise.list.save:deb http://ppa.launchpad.net/n-muench/vlc/ubuntu precise main
/etc/apt/sources.list.d/n-muench-vlc-precise.list.save:deb-src http://ppa.launchpad.net/n-muench/vlc/ubuntu precise main
/etc/apt/sources.list.d/relan-exfat-precise.list:# deb http://ppa.launchpad.net/relan/exfat/ubuntu precise main
/etc/apt/sources.list.d/relan-exfat-precise.list:# deb-src http://ppa.launchpad.net/relan/exfat/ubuntu precise main
/etc/apt/sources.list.d/relan-exfat-precise.list.save:# deb http://ppa.launchpad.net/relan/exfat/ubuntu precise main
/etc/apt/sources.list.d/relan-exfat-precise.list.save:# deb-src http://ppa.launchpad.net/relan/exfat/ubuntu precise main
/etc/apt/sources.list.d/thefanclub-grive-tools-precise.list:# deb http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu precise main
/etc/apt/sources.list.d/thefanclub-grive-tools-precise.list:# deb-src http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu precise main
/etc/apt/sources.list.d/thefanclub-grive-tools-precise.list.save:# deb http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu precise main
/etc/apt/sources.list.d/thefanclub-grive-tools-precise.list.save:# deb-src http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu precise main
/etc/apt/sources.list.d/videolan-stable-daily-precise.list:deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main
/etc/apt/sources.list.d/videolan-stable-daily-precise.list:deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main
/etc/apt/sources.list.d/videolan-stable-daily-precise.list.save:deb http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main
/etc/apt/sources.list.d/videolan-stable-daily-precise.list.save:deb-src http://ppa.launchpad.net/videolan/stable-daily/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-unstable-precise.list:deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-unstable-precise.list:deb-src http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-unstable-precise.list.save:deb http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main
/etc/apt/sources.list.d/webupd8team-unstable-precise.list.save:deb-src http://ppa.launchpad.net/webupd8team/unstable/ubuntu precise main
/etc/apt/sources.list.d/wine-wine-builds-precise.list:deb http://ppa.launchpad.net/wine/wine-builds/ubuntu precise main
/etc/apt/sources.list.d/wine-wine-builds-precise.list:deb-src http://ppa.launchpad.net/wine/wine-builds/ubuntu precise main
/etc/apt/sources.list.d/wine-wine-builds-precise.list.save:deb http://ppa.launchpad.net/wine/wine-builds/ubuntu precise main
/etc/apt/sources.list.d/wine-wine-builds-precise.list.save:deb-src http://ppa.launchpad.net/wine/wine-builds/ubuntu precise main
5
linofex

Vous devez regarder dans les fichiers de la liste.

Par exemple, j'ai un Java ppa. La liste est webupd8team-Java-trusty.list.

Il contient:

deb http://ppa.launchpad.net/webupd8team/Java/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/Java/ubuntu trusty main

La commande ppa-purge se présentera ainsi:

Sudo ppa-purge ppa:webupd8team/Java

Pour votre "lubuntu" ppa, la commande est la suivante:

Sudo ppa-purge ppa:lubuntu-dev/lubuntu-daily

Le <ppa-name> se situe après http://ppa.launchpad.net/ et avant le nom de la distribution.

Si vous obtenez toujours des erreurs, votre liste est endommagée. Vous pouvez toujours ajouter un PPA puis le purger, par exemple:

Sudo add-apt-repository ppa:lubuntu-dev/lubuntu-daily
Sudo apt-get update
Sudo ppa-purge ppa:lubuntu-dev/lubuntu-daily
4
Pilot6