web-dev-qa-db-ja.com

ppa-purgeのppaの名前

私はそれが同じ question が存在することを知っていますが、その質問には答えがないと思います。私はいくつかのPPAを削除する必要があり、このコマンドでppa-purgeを使用しようとしています:

Sudo ppa-purge ppa:<ppa_name>/ppa

しかし、ppa_nameとは何ですか?私はこれを持っています(悪い)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

しかし、私は名前を知りません、例えば:

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

編集

/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

リストファイルを調べる必要があります。

たとえば、Java ppaがあります。リストはwebupd8team-Java-trusty.listです。

を含む:

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

したがって、ppa-purgeコマンドは次のようになります。

Sudo ppa-purge ppa:webupd8team/Java

「lubuntu」ppaのコマンドは次のとおりです。

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

<ppa-name>は、http://ppa.launchpad.net/の後、およびディストリビューション名の前にあります。

それでもエラーが発生する場合は、リストが破損しています。いつでもPPAを追加してからパージできます。例:

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