Error message with apt sudo

Can't access updates and download/install in terminal. Also seem to have lost the sidebar with the applications menu/icons.
Following error message in terminal:

E: Could not get lock /var/lib/apt/lists/lock. It is held by process 22275 (aptd)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to lock directory /var/lib/apt/lists/

Have looked for 22275 in the folder, but it does not seem to exist.

You cannot access APT from more than one location. Please close any open terminal, updater tool or package manager you currently have open to release the active lock before running an APT command in terminal.
If you have no open running app (Synaptic, Gnome-Software, Gnome-updater, etc), rebooting should resolve the issue.

sudo apt update now runs, but after the help options I get these error messages:

W: GPG error: http://dl.google.com/linux/earth/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 78BD65473CB3BD13
E: The repository 'http://dl.google.com/linux/earth/deb stable InRelease' is not signed.
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.
E: The repository 'Index of /gerstrong/cgenius/ubuntu focal 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.

OK. I see it now. I was trying to install Free Office manually.

These errors show exactly what they say:
The repo you added to install Google Earth does not have a Public key added.

Did you add this repository by following a guide online? If so, can you link to it?

The best method to install Google Earth is to just install using the .deb package:

https://dl.google.com/dl/earth/client/current/google-earth-pro-stable_current_amd64.deb

Then double click it to run the installer.
However... I must warn you that the Google Earth Package is known to conflict with other packages and Google has stickied a "Won't Fix" on it...

If using the .deb package, you need to remove the repository for google earth. See below on removing a repo...

The repository for Commander Genius:

Shows that the maintainer has not uploaded any version for Focal Fossa - which is Ubuntu 20.04 - upon which Zorin OS is based. This means you cannot use that repository and it should be removed.
You can remove the repository by launching Software & Updates, then moving to the "Other Software" tab. Scroll down the list until you find gerstrong/cgenius/ubuntu - click on it to select it, then click the remove button on the lower left of the window.
Repeat this for the google.com/linux/earth/deb repository.

You might be able to install commander genius from the Bionic .deb package...
https://launchpad.net/~gerstrong/+archive/ubuntu/cgenius/+files/commandergenius_2.2.3ppa1_amd64.deb

It will tell you if missing dependencies.

1 Like

Ain't that the truth .... as you may recall it caused me all kinds of problems until I uninstalled it ....

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.