Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Failed removing a repository I added myself

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
littlebigman
Posts: 23
Joined: 2008-01-16 21:30

[SOLVED] Failed removing a repository I added myself

#1 Post by littlebigman »

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.

User avatar
Lysander
Posts: 643
Joined: 2017-02-23 10:07
Location: London
Been thanked: 1 time

Re: Failed removing a repository I added myself

#2 Post by Lysander »

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?

littlebigman
Posts: 23
Joined: 2008-01-16 21:30

Re: Failed removing a repository I added myself

#3 Post by littlebigman »

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.

Post Reply