I am not able to sudo apt-get
update successfully. I am using Ubuntu 16.04.1 LTS
I have looked at other question about this issue but gets another problem when I follow the solution.
Here it is:
kenneth@ubuntu:~$ sudo apt-get update
[sudo] password for kenneth:
Get:1 http://dk.archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]
Get:3 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Get:4 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]
Ign:1 http://dk.archive.ubuntu.com/ubuntu xenial InRelease
Ign:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:3 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease
Ign:4 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease
Fetched 529 kB in 0s (908 kB/s)
Reading package lists... Done
W: GPG error: http://dk.archive.ubuntu.com/ubuntu xenial InRelease: At least one invalid signature was encountered.
W: The repository 'http://dk.archive.ubuntu.com/ubuntu xenial InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://security.ubuntu.com/ubuntu xenial-security InRelease: At least one invalid signature was encountered.
W: The repository 'http://security.ubuntu.com/ubuntu xenial-security InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease: At least one invalid signature was encountered.
W: The repository 'http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease: At least one invalid signature was encountered.
W: The repository 'http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I tried:
$ sudo mv /var/lib/apt/lists/* /tmp
but when I do
$ sudo apt update
again, I get the same invalid signature errors.
/
. – Tanasis Nov 19 '19 at 11:03