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] need to remove a PPA

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
jarp53
Posts: 6
Joined: 2017-12-03 16:19

[SOLVED] need to remove a PPA

#1 Post by jarp53 »

it's a PPA I install but I did not need it; so when I start Software, it shows an error :
" Unable to download updates:
faile to refresh cache: E: the repository ' htpp://deb.debian.org/debian/main buster Release ' does not have a Release file.
I < ls /etc/apt/sources.list.d > but it wasn't there , I found it in software & Updates > Debian Software > Download from: ; so I look at some forums and try < sudo add-apt-repository -r http://deb.debian.org/debian/buster/main > and the terminal did not show any thing so I though that it was ok , so I restart , but when I started Software the error show up again ; and when I do < sudo apt update >
E: The repository 'http://deb.debian.org/debian/buster/main buster 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.
I'm not sure what to do here; I read it and is way beyond a newbie like me , I just think it be easier if I just deleted it .
Last edited by jarp53 on 2020-06-28 20:28, edited 1 time in total.

User avatar
RU55EL
Posts: 546
Joined: 2014-04-07 03:42
Location: /home/russel

Re: need to remove a PPA

#2 Post by RU55EL »

You should read: Don't Break Debian

And: Debian Wiki: sources.list

What is the output of

Code: Select all

inxi -r

arochester
Emeritus
Emeritus
Posts: 2435
Joined: 2010-12-07 19:55
Has thanked: 14 times
Been thanked: 54 times

Re: need to remove a PPA

#3 Post by arochester »

Can you Copy and Paste the contents of your source list AND /etc/apt/sources.list.d/* please?

jarp53
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

#4 Post by jarp53 »

jr@jr-pc:~$ /etc/apt/sources.list.d/*
bash: /etc/apt/sources.list.d/gnumdk-ubuntu-lollypop-groovy.list: Permission denied
jr@jr-pc:~$

jr@jr-pc:~$ grep ^[^#] /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:deb http://deb.debian.org/debian/buster/main buster main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian/buster/main buster-updates main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian buster-backports main contrib non-free
/etc/apt/sources.list:deb https://dl.winehq.org/wine-builds/debian/ buster main
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/wine-obs.list:deb http://download.opensuse.org/repositori ... /Debian_10 ./
/etc/apt/sources.list.d/wine-obs.list.save:deb http://download.opensuse.org/repositori ... /Debian_10 ./
jr@jr-pc:~$

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: need to remove a PPA

#5 Post by Head_on_a_Stick »

jarp53 wrote:

Code: Select all

/etc/apt/sources.list:deb http://deb.debian.org/debian/buster/main buster main contrib non-free
/etc/apt/sources.list:deb http://deb.debian.org/debian/buster/main buster-updates main contrib non-free
^ Those lines are wrong, they should be:

Code: Select all

deb http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
In future use this to edit your sources:

Code: Select all

# apt edit-sources
^ That will pick up any errors and refuse to save the file until they are corrected.

And you're missing the security repositories, which are very important:

Code: Select all

deb http://deb.debian.org/debian-security buster/updates main contrib non-free
jarp53 wrote:

Code: Select all

jr@jr-pc:~$ /etc/apt/sources.list.d/*
bash: /etc/apt/sources.list.d/gnumdk-ubuntu-lollypop-groovy.list: Permission denied
jr@jr-pc:~$
Looks like the lines in that source are all commented-out, did you actually install anything from there?

Code: Select all

aptitude search '?origin(LP-PPA-gnumdk-lollypop) ?installed'
deadbang

jarp53
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

#6 Post by jarp53 »

thanks for the info , but I don't know what to do with it; I still need to remove the buster ones and the left over file on sources list .d ; and I will install the security one, this is the first time I actually had Debian running the way I like to customize my OS's , I did not know I had to install security ppa

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: need to remove a PPA

#7 Post by Head_on_a_Stick »

jarp53 wrote:I did not know I had to install security ppa
It's not a "ppa", it's an official Debian repository. The installer should have configured the sources for you if you selected a mirror during the installation.

Do yourself a favour and check the Debian wiki page about sources.list and also read the first link in my signature before you break your system.
deadbang

jarp53
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

#8 Post by jarp53 »

thank you very much ; it was a great learning lesson , and I enjoy it , everything is working perfect , I'm very happy with system

Post Reply