Quote Originally Posted by pierreu1 View Post
Oh! Thanks! I tried both codes and they did not work!

N: Ignoring file 'google.listgksu' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

sudo dpkg-configure -a


My system is really screwed!
The first one is not a command to run, it's a quote from the error messages you posted in the first post, indicating that you have somehow ended with a configuration file that has a wrong filename, messing up your package management.

If you want an actual command to fix that, try this:
sudo mv /etc/apt/sources.list.d/google.listgksu /etc/apt/sources.list.d/google.list && sudo apt-get update