1

This is the error I get during graphical installation from live USB on 64 bits v2016 Kali version:

Configure the package manager
Bad archive mirror
An error has been detected while trying to use the specified Debian archive mirror.

Screenshot: Kali Linux live v2016 installation error

Any other country mirror yields the same error. Even changing the original sources.list file:

root@kali:~$ cat /etc/apt/sources.list
deb http://http.kali.org/kali sana main contrib non-free
deb-src http://http.kali.org/kali sana main contrib non-free
deb http://security.kali.org/kali-security sana/updates main contrib non-free
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

To a newer one:

root@kali:~$ cat /etc/apt/sources.list
#deb http://http.kali.org/kali sana main contrib non-free
#deb-src http://http.kali.org/kali sana main contrib non-free
#deb http://security.kali.org/kali-security sana/updates main contrib non-free
#deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

... does not solve the problem neither. The file /var/log/syslog seems not to show any mirror or repositories info (I can post it anyway if requested).

Tested:

  • Kali Live v2016.1.
  • Kali Live v2016.2.
  • On two computers: a portable Lenovo G50-45 and a desktop rather old HP Compaq.
  • Tested booting both USB and DVD live versions.

The Kali Forums don't show the solution, or I have not been able to find it.

How could I solve this Bad archive mirror error?

2

Got same problem recently. Kali forums show the solution actually. Press "Go Back", then "Yes" (to skip configuring package manager step) and then, after you log into system, just update through terminal.

0

As suggested here, another solution would be changing the name server to Google's ones:

8.8.8.8 and 8.8.4.4

  • Why should it make any difference? Internet seems to be working anyway. – Sopalajo de Arrierez May 4 '17 at 18:45
  • Nope. In my case, using 192.168.1.1, the router's DNS IP, blocked the repo. – Raptor May 5 '17 at 7:50
0

I think it has to do with certain gigabyte Ethernet cards kali not able to install ipv4 dhcp defaults to ipv6 In my case Found a walk around for this error .. plugin usb wifi adapter go into bios disable onboard LAN.. unplug Ethernet cable reinstall kali linux setup will ask for wifi password done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.