Choosing Repositorie error

Asked by Luis M.Jacinto on 2019-04-14

Ubuntu 16.04
 On Choosing an Repositorie I have 3 choices for this country and all gave this error.

Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release.gpg The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520Some index files failed to download. They have been ignored, or old ones used instead.

Can some one help to fix this?
Thank you

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
2019-04-16
Last query:
2019-04-16
Last reply:
2019-04-15
Manfred Hampl (m-hampl) said : #1

This is a known issue which (according to google) is already solved, https://crbug.com/952287

What happens if you try again?

Or - if that still fails - try the command

wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

Luis M.Jacinto (ljacinto) said : #2

After trying your suggestion I reboot but didn’t work.

Manfred Hampl (m-hampl) said : #3

"didn't work" in what sense?
Error messages? If yes, please provide the full text - both of the command(s) that you executed and the response that you received!

Luis M.Jacinto (ljacinto) said : #4

The initial error come from the last time I had an Software Update and append other times before.
I went to Synaptic and change the Download From: to other server and on update the error comes
up this append with all the servers.

Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/earth/deb stable Release: The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial Release' does not have a Release file.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial-updates Release' does not have a Release file.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial-backports Release' does not have a Release file.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.The repository 'http://ubuntu.mirror.neology.co.za/ubuntu xenial-security Release' does not have a Release file.Data from such a repository can't be authenticated and is therefore potentially dangerous to use.See apt-secure(8) manpage for repository creation and user configuration details.Failed to fetch http://dl.google.com/linux/earth/deb/dists/stable/Release.gpg The following signatures were invalid: KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520 KEYEXPIRED 1555048520Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial/main/binary-amd64/Packages Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial-updates/main/binary-amd64/Packages Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial-backports/main/binary-amd64/Packages Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]Failed to fetch http://ubuntu.mirror.neology.co.za/ubuntu/dists/xenial-security/main/binary-amd64/Packages Cannot initiate the connection to ubuntu.mirror.neology.co.za:80 (2001:43e8:10:42::25). - connect (101: Network is unreachable) [IP: 2001:43e8:10:42::25 80]Some index files failed to download. They have been ignored, or old ones used instead.

Best Manfred Hampl (m-hampl) said : #5

Your last output shows two different issues:

1. The KEYEXPIRED issue for the dl.google.com server. This is a problem caused by google.
Changing the Ubuntu repositories does not help for this issue.
The command
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
is supposed to help, but if this does not work on your system, then I do not know what you can do except wait for Google to provide a working solution.

2. Connection issues with ubuntu.mirror.neology.co.za
I suggest that you select a different Ubuntu repository server.

Luis M.Jacinto (ljacinto) said : #6

Thank you for trying to help

Luis M.Jacinto (ljacinto) said : #7

Thanks Manfred Hampl, that solved my question.