1

I keep getting the famous sources.list error even after trying to implement the supposed fix.

My next thing is to try to totally remove chrome/chromium and start over. So I followed these removal instructions.

However, now when I do apt-get update, I keep getting the same error. What triggers the error? How can I completely remove chrome or whatever triggers that error?

zkurtz
  • 323

2 Answers2

0

To answer your main question first - for getting rid of the sudo apt-get update error message, you have to remove the Google Chrome repository - open a terminal and execute this command :

sudo rm /etc/apt/sources.list.d/google-chrome.list  

To completely remove Chromium and Google Chrome execute :

sudo apt-get purge chromium-browser google-chrome-stable 

When you also want to remove the configuration files, delete these folders :

/home/user/.config/chromium and /home/user/.config/google-chrome.

Note : I assume that you have the google-chrome-stable package installed.

Update :

I received an information that there might be another Google .list file in the sources.list.d folder - so in case the error still occurs, check this folder and correct or delete the entries as well.

cl-netbox
  • 31,491
0

I finally thought of looking around in the /etc/apt/sources.list.d directory to see if there was anything other than chrome/chromium in that is associated with google somehow. Indeed, I found a google.list file. I have no idea how that got there or what program it was associated with, but after deleting it my apt-get update worked cleanly.

zkurtz
  • 323