0

I am running 16.04. I get the following error when trying to update :

W: Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/u/ubuntu-release-upgrader/ubuntu-release-upgrader-gtk_16.04.18_all.deb
  404  Not Found [IP: 91.189.88.149 80]

Plus two similar ones which I can't post as they are regarded as including links.

The output from apt-get update shows additional information, such as :

W: GPG error: http://archive.canonical.com/ubuntu xenial InRelease: At least one invalid signature was encountered.
W: The repository '[http:]//archive.canonical.com/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

Can you please help ?

1 Answers1

0

I've had similar errors caused by trying to manually copy /var/lib/apt/lists/ form one machine to another.

Try moving all contents from /var/lib/apt/lists/ to /tmp/listsbak/ then running apt-get update

mkdir /tmp/listsbak/ && sudo mv /var/lib/apt/lists/* /tmp/listsbak/ && sudo apt-get update

If the newly downloaded lists are throwing the same errors perhaps include in your question or a comment your machines /etc/apt/sources.list and any list files in /etc/apt/sources.list.d.

J. Starnes
  • 1,979