Trying to remove a ppa which I shouldn't have installed:
thufir@dur:~$
thufir@dur:~$ ll /etc/apt/sources.list.d/
total 28
drwxr-xr-x 2 root root 4096 Oct 26 05:57 ./
drwxr-xr-x 6 root root 4096 Oct 26 05:52 ../
-rw-r--r-- 1 root root 166 Oct 26 05:57 maarten-fonville-ubuntu-android-studio-artful.list
-rw-r--r-- 1 root root 156 Oct 26 05:57 paolorotolo-ubuntu-android-studio-artful.list
-rw-r--r-- 1 root root 156 Oct 26 05:57 paolorotolo-ubuntu-android-studio-artful.list.save
-rw-r--r-- 1 root root 136 Oct 26 05:57 webupd8team-ubuntu-java-artful.list
-rw-r--r-- 1 root root 136 Oct 26 05:57 webupd8team-ubuntu-java-artful.list.save
thufir@dur:~$
thufir@dur:~$ cat /etc/apt/sources.list.d/paolorotolo-ubuntu-android-studio-artful.list
deb http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful main
# deb-src http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful main
thufir@dur:~$
thufir@dur:~$ sudo ppa-purge ppa:paolorotolo/android-studio
Updating packages lists
E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release' does not have a Release file.
Warning: apt-get update failed for some reason
thufir@dur:~$
thufir@dur:~$ sudo apt update
Get:1 http://security.ubuntu.com/ubuntu artful-security InRelease [70.3 kB]
Hit:2 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu artful InRelease
Hit:3 http://ca.archive.ubuntu.com/ubuntu artful InRelease
Get:4 http://ca.archive.ubuntu.com/ubuntu artful-updates InRelease [76.7 kB]
Ign:5 http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful InRelease
Hit:6 http://ppa.launchpad.net/webupd8team/java/ubuntu artful InRelease
Hit:7 http://ca.archive.ubuntu.com/ubuntu artful-backports InRelease
Err:8 http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release
404 Not Found
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
thufir@dur:~$
Because it's out of date (apparently). How do I safely remove this ppa? By which I mean using ppa-purge
as that seems the best tool. (In the context of installing android studio.)
ppa-purge
? Doesn't it work for you? – DK Bose Oct 26 '17 at 13:35E: The repository 'http://ppa.launchpad.net/paolorotolo/android-studio/ubuntu artful Release' does not have a Release file.
and that's it. – Thufir Oct 26 '17 at 13:42