-
Notifications
You must be signed in to change notification settings - Fork 814
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kali Linux cannot be updated due to invalid signatures #6681
Comments
For anyone running
And getting the following error:
This gets fixed by using credit: https://gist.github.com/MooreDerek/23686fc29a22d4e1e88e3dd9055fbb07 After that run Then you can run *edit: getting sudo "is your account locked?" errors after apt upgrade... This Kali installation on Win11 seems to be broken on so many sides... installing kali linux from the Microsoft store instead of |
Works for me this: don't use https. USE HTTP. |
Thanks you so much!! Seriously 👍 |
You can also get rid of the certification error in wget by running it with a flag: |
Environment
Steps to reproduce
Install Kali Linux using a preview build for the Windows Insiders Program:
wsl --install -d kali-linux
Launch Kali Linux and try to update:
sudo apt update
WSL logs: https://aka.ms/AAbk1ly
Expected behavior
The system downloads package information.
Actual behavior
The update fails with the following error:
Additional information
The Kali Linux team suggested a solution in their Twitter account, however that doesn't work for the subsystem because it requires GnuPG and that package is not installed by default. However, it can be fixed by running:
wget https://archive.kali.org/archive-key.asc -O /etc/apt/trusted.gpg.d/kali-archive-key.asc
As far as I know, this issue can be solved by updating the default installation keys.
The text was updated successfully, but these errors were encountered: