[SOLVED] need to remove a PPA

New to Debian (Or Linux in general)? Ask your questions here!

[SOLVED] need to remove a PPA

Postby jarp53 » 2020-06-28 05:38

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.
jarp53
 
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

Postby RU55EL » 2020-06-28 05:53

You should read: Don't Break Debian

And: Debian Wiki: sources.list

What is the output of
Code: Select all
inxi -r
User avatar
RU55EL
 
Posts: 449
Joined: 2014-04-07 03:42
Location: /home/russel

Re: need to remove a PPA

Postby arochester » 2020-06-28 06:45

Can you Copy and Paste the contents of your source list AND /etc/apt/sources.list.d/* please?
arochester
 
Posts: 1687
Joined: 2010-12-07 19:55

Re: need to remove a PPA

Postby jarp53 » 2020-06-28 07:19

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:~$
jarp53
 
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

Postby Head_on_a_Stick » 2020-06-28 08:01

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'
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12194
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: need to remove a PPA

Postby jarp53 » 2020-06-28 08:21

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
jarp53
 
Posts: 6
Joined: 2017-12-03 16:19

Re: need to remove a PPA

Postby Head_on_a_Stick » 2020-06-28 08:24

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.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12194
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: need to remove a PPA

Postby jarp53 » 2020-06-28 20:27

thank you very much ; it was a great learning lesson , and I enjoy it , everything is working perfect , I'm very happy with system
jarp53
 
Posts: 6
Joined: 2017-12-03 16:19


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable