View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002359 | Kali Linux | Kali Package Bug | public | 2015-06-25 16:01 | 2025-07-14 09:37 |
| Reporter | todb | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.1.0 | ||||
| Summary | 0002359: BADSIG and Hash Sum Mismatch, usual fixes no bueno | ||||
| Description | When attempting to apt-get update && apt-get upgrade, errors about a bad signature and bad hash block upgrading. | ||||
| Steps To Reproduce | apt-get update && apt-get upgrade -y I expect this is due to a live mirror update, but filing here just in case you weren't aware of downstream breakage. | ||||
| Additional Information | The usual advice for apt-clean, resetting etc/apt/sources/list, reinstalling the key package, and manually installing the keys with apt-key, does not seem to apply. Specifically, this remedy doesn't work: rm -rf /var/lib/apt/lists* && apt-get update && apt-get install kali-archive-keyring && apt-get upgrade This is seen on two Kali VMs (on the same network). My /etc/apt/sources for each are: Kali 1.1.0c, fresh out of the box: cat /etc/apt/sources.list | grep -v "#" | sort deb http://http.kali.org/kali kali main non-free contrib Kali 1.1.0a, been using for a while: cat /etc/apt/sources.list | sort deb http://http.kali.org/kali kali main non-free contrib The errors are slightly different when hitting different mirrors, so here are some samples. W: Failed to fetch http://security.kali.org/dists/kali/updates/main/source/Sources Hash Sum mismatch W: Failed to fetch http://security.kali.org/dists/kali/updates/main/binary-amd64/Packages Hash Sum mismatch W: Failed to fetch http://http.kali.org/kali/dists/kali/main/binary-amd64/Packages Hash Sum mismatch W: GPG error: http://http.kali.org kali Release: The following signatures were invalid: BADSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected] | ||||
|
It's entirely possible someone is screwing with my network connection, but unlikely. |
|
|
You could also be using a mirror which is mid-sync. Please try again in 30 mins and report back if this issue persists. |
|
|
Also, please note that the remedy you mention is not a "usual" one. It was a walk-around for a one time occurrence when our GPG key expired in 2014 and was replaced with a new one. |
|
|
Ah thanks muts for the clarification on that. Given the error I thought maybe the key went bad again. Talked with g0tmi1k on IRC, and he confirmed there's currently an issue with archive-3 and archive-4. So, I switched my /etc/apt/sources.list to deb http://mirror.gawsolutions.us/kali kali main non-free contrib and it seems to be chugging along now. |
|
|
I'm not seeing any issues with archive-{3,4} at the moment, it could have been a momentary repo sync. You shouldn't hardcode repositories in your sources.list as they may go offline from time to time. You're better off using the http.kali.org redirector. |
|
|
Can confirm it's now working for me: |
|
|
Todb - if it's not resolved for you yet, feel free to ping us on IRC or re-open the ticket! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2015-06-25 16:01 | todb | New Issue | |
| 2015-06-25 16:02 | todb | Note Added: 0003437 | |
| 2015-06-25 16:52 | muts | Note Added: 0003438 | |
| 2015-06-25 17:10 | muts | Note Added: 0003439 | |
| 2015-06-25 17:26 | muts | Note Edited: 0003439 | |
| 2015-06-25 17:37 | todb | Note Added: 0003440 | |
| 2015-06-25 17:45 | muts | Note Added: 0003441 | |
| 2015-06-25 17:48 | muts | Note Edited: 0003441 | |
| 2015-06-25 17:48 | g0tmi1k | Note Added: 0003442 | |
| 2015-06-25 17:49 | muts | Status | new => closed |
| 2015-06-25 17:49 | muts | Resolution | open => no change required |
| 2015-06-25 17:49 | muts | Additional Information Updated | |
| 2015-06-25 17:51 | muts | Note Added: 0003443 | |
| 2025-07-14 09:36 | g0tmi1k | Priority | high => normal |
| 2025-07-14 09:37 | g0tmi1k | Severity | block => minor |