If you have any trouble to update your VM Kali Linux with response like this:
1
2
3
4
5
6
7
8
9
$ sudo apt update
Get:1 https://kali.download/kali kali-rolling InRelease [30.6 kB]
Err:1 https://kali.download/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
Reading package lists... Done
W: GPG error: https://kali.download/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository <devel@kali.org>
E: The repository 'https://http.kali.org/kali kali-rolling 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.
So here I can help with that problem
Solution
In this case I have to use this commands for working my updating
First you have to verify your key fingerprint
1
$ wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
Your response must to be like this:
1
2
3
4
$ wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
Then write this command
1
$ sudo apt install kali-archive-keyring
And this is the result:
1
2
3
4
5
6
7
8
$ sudo apt install kali-archive-keyring
....
Reading package lists... Done
Building dependency tree
Reading state information... Done
kali-archive-keyring is already the newest version (2020.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
for confirm the fixed we are writting sudo apt upgrade
1
2
3
4
5
6
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
then sudo apt update
1
2
3
4
5
6
7
8
9
10
11
$ sudo apt update
Get:1 http://kali.download/kali kali-rolling InRelease [41.2 kB]
Get:2 http://kali.download/kali kali-rolling/main amd64 Packages [19.5 MB]
Get:3 http://kali.download/kali kali-rolling/contrib amd64 Packages [115 kB]
Get:4 http://kali.download/kali kali-rolling/non-free amd64 Packages [223 kB]
Fetched 19.8 MB in 8s (2,390 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1861 packages can be upgraded. Run 'apt list --upgradable' to see them.
how you can see the screen the error is fixed _(^o^)_/