Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ca

How to cleanup repositories? (solved)

How can I cleanup manually added debian repositories and keyrings for softwares like brave, vscodium, zettlr, etc.

I know about /etc/apt/sources.list. but this is for official repositories right? What about manually added repos?

View original on lemmy.ca
7

9 replies

infosec.pub

Look into /etc/apt/sources.list.d/ files.

3
lemmy.ca

/etc/apt/sources.list.d/

There is nothing inside it, just an empty directory.

2
programming.dev

What does ls /etc/apt/sources.list.d say?

You are using nano, a text editor, to open a directory in the above screenshot. Nano cannot open directories, it can only open individual files.

3

Yes, It's worked. ls command listed all custom repositories and sudo rm <repo-name> successfully remove it.

Thanks.

3
nomadreply
infosec.pub

Those are the two places for apt repositories in Debian. What makes you think there are more repositories installed? They can be entered either place.

1
lemmy.ca
Ign:1 https://brave-browser-apt-release.s3.brave.com/ stable InRelease                                        
Hit:2 http://deb.debian.org/debian trixie InRelease                                                          
Hit:3 http://security.debian.org/debian-security trixie-security InRelease
Hit:4 http://deb.debian.org/debian trixie-updates InRelease
Hit:5 https://updates.signal.org/desktop/apt xenial InRelease
Ign:1 https://brave-browser-apt-release.s3.brave.com/ stable InRelease
Ign:1 https://brave-browser-apt-release.s3.brave.com/ stable InRelease
Err:1 https://brave-browser-apt-release.s3.brave.com/ stable InRelease
  Could not connect to brave-browser-apt-release.s3.brave.com:443 (0.0.0.0). - connect (111: Connection refused) Could not connect to brave-browser-apt-release.s3.brave.com:443 (::). - connect (111: Connection refused)
  Unable to connect to brave-browser-apt-release.s3.brave.com:https:
Hit:6 https://download.vscodium.com/debs vscodium InRelease
All packages are up to date.    
Warning: Failed to fetch https://brave-browser-apt-release.s3.brave.com/dists/stable/InRelease  Unable to connect to brave-browser-apt-release.s3.brave.com:https:
Warning: Some index files failed to download. They have been ignored, or old ones used instead.

After sudo apt update, there are various repo links shown other than official ones. All I want to know is where these brave, vscodium, etc repos are stored and how it can be managed.

2

Thats literally the only places those are stored. :)

2

grep done nothing. Still repos are refreshed when performing sudo apt update.

other than grep I tried locate to find brave directories and found ls /var/lib/apt/lists/brave*. but clearing those too didn't help.

why this is so hard?

0

You reached the end

How to cleanup repositories? (solved) | Spyke