Every time I run apt update, I get this error in Kali Linux 2025.2.
└─# apt update
Error: Conflicting values set for option Signed-By regarding source http://http.kali.org/kali/ kali-rolling: /usr/share/keyrings/kali-archive-keyring.gpg != /etc/apt/keyrings/kali-archive-keyring.gpg
Error: The list of sources could not be read.
I've tried these two methods below that don't seem to work. I still keep getting the error message. Yes, I already updated to the new keys that didn't work also.
Method 1
sudo wget https://archive.kali.org/archive-keyring.gpg -O /usr/share/keyrings/kali-archive-keyring.gpg
sudo wget https://archive.kali.org/archive-keyring.gpg -O /etc/apt/keyrings/kali-archive-keyring.gpg
sudo apt update
Method 2
sudo rm /usr/share/keyrings/kali-archive-keyring.gpg
sudo rm /etc/apt/keyrings/kali-archive-keyring.gpg
sudo wget https://archive.kali.org/archive-keyring.gpg -O /usr/share/keyrings/kali-archive-keyring.gpg
sudo apt update
These commands should have fixed the problem, but the error continues to persist after running them.
# cat /etc/apt/sources.list.d/kali.sources
# Modernized from /etc/apt/sources.list
Types: deb
URIs: http://http.kali.org/kali/
Suites: kali-rolling
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/kali-archive-keyring.gpg
Types: deb
URIs: http://http.kali.org/kali/
Suites: kali-rolling
Components: main non-free contrib
Signed-By: /etc/apt/keyrings/kali-archive-keyring.gpg
/etc/apt/sources.listor one of the files under/etc/apt/sources.list.d. Maybe try to find the duplicate? askubuntu.com/questions/1156409/…/etc/apt/sources.listand/etc/apt/sources.list.d/*.listto your question. There will be at least two entries forhttp.kali.org/kali/ kali-rollingbut with different signers as described in the error messagemegasync, automatically added a.listfile when I had a deb822 file.