Linux Lite Forums
Repositories which fail and need to be removed - but are not in sources.list?? - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5)
+--- Forum: Installing Software (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=18)
+--- Thread: Repositories which fail and need to be removed - but are not in sources.list?? (/showthread.php?tid=8559)



Repositories which fail and need to be removed - but are not in sources.list?? - gotLL - 11-12-2022

Hello,
I need to clean out a repository PPA that I added by mistake

The URL is: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease

I've gone into the etc/apt/sources.list and deleted it from file - and then performed the "sudo apt update"
It is still appearing however as an update error

So apparently deleting it from the source.list file was not sufficient to remove it
I then tried to remove them using synaptic - but synaptic does not show it.
I assume Synaptic is reading the sources.list file

I then tried the command:
sudo add-apt-repository --remove ppa: https://dl.winehq.org/wine-builds/ubuntu bionic InRelease

And this returns an error - need a single repository as argument

I'm stumpted!
Can anyone help!
Sincere thanks


Re: Repositories which fail and need to be removed - but are not in sources.list?? - Valtam - 11-12-2022

Your built in Help Manual has the answer. Software > Removing a PPA


Re: Repositories which fail and need to be removed - but are not in sources.list?? - gotLL - 11-13-2022

I figured it out
The offending files were located in a different folder within /etc/apt/sourses.list.d
deleting the offending files fixed the problem