[SOLVED] Failed removing a repository I added myself

If none of the more specific forums is the right place to ask

[SOLVED] Failed removing a repository I added myself

Postby littlebigman » 2018-05-11 13:30

Hello,

I'm using Debian 9.4. I'd like to remove a repository I added myself by mistake, but it doesn't work:

Code: Select all
~# add-apt-repository -r http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu

~# apt-get update
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Ign:4 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic InRelease
Hit:5 http://ftp.fr.debian.org/debian stretch Release
Ign:6 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic Release
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Ign:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Ign:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Ign:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Ign:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Ign:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Ign:7 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main all Packages
Err:8 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main armel Packages
  404  Not Found
Ign:9 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en_US
Ign:10 http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic/main Translation-en
Reading package lists... Done
W: The repository 'http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu cosmic Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://ppa.launchpad.net/coolwanglu/pdf2htmlex/ubuntu/dists/cosmic/main/binary-armel/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


Am I using the wrong URL?

Thank you.
Last edited by littlebigman on 2018-05-11 14:18, edited 1 time in total.
littlebigman
 
Posts: 15
Joined: 2008-01-16 21:30

Re: Failed removing a repository I added myself

Postby Lysander » 2018-05-11 13:41

Look here:

https://unix.stackexchange.com/question ... repository

I daren't look at your sources.list, I fear the worst, but why don't you post it here so we can have a look to see if there are any glaring issues?
User avatar
Lysander
 
Posts: 558
Joined: 2017-02-23 10:07
Location: London

Re: Failed removing a repository I added myself

Postby littlebigman » 2018-05-11 13:49

Thanks.

Apparently, all it took is…

Code: Select all
~# ll /etc/apt/sources.list.d
-rw-r--r-- 1 root root  146 May 11 16:29 coolwanglu-ubuntu-pdf2htmlex-cosmic.list
-rw-r--r-- 1 root root  146 May 11 16:29 coolwanglu-ubuntu-pdf2htmlex-cosmic.list.save

~# rm /etc/apt/sources.list.d/*

~# apt-get update
Ign:1 http://ftp.fr.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org/debian-security stretch/updates InRelease
Hit:3 http://ftp.fr.debian.org/debian stretch-updates InRelease
Hit:4 http://ftp.fr.debian.org/debian stretch Release
Reading package lists... Done


Thank you.
littlebigman
 
Posts: 15
Joined: 2008-01-16 21:30


Return to General Questions

Who is online

Users browsing this forum: No registered users and 7 guests

fashionable