View Issue Details

IDProjectCategoryView StatusLast Update
0005919Kali LinuxGeneral Bugpublic2025-07-14 09:36
Reportersubbuisss Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
Summary0005919: apt-get install gobuster fails
Description

I am trying to install gobuster using apt-get. It is giving me the following error.

root@kali:~# apt-get install gobuster
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gobuster
0 upgraded, 1 newly installed, 0 to remove and 1154 not upgraded.
Need to get 2,019 kB of archives.
After this operation, 6,759 kB of additional disk space will be used.
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Err:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1
File has unexpected size (990 != 2019032). Mirror sync in progress? [IP: 14.49.100.37 80]
Hashes of expected file:

  • SHA256:4bf7525f25019212d2818e3ec2b805997339ae132c6311de518c93986b8277e7
  • SHA1:c7ecde7948dfd8d5d6bd25232b1625d9c152571a [weak]
  • MD5Sum:0bfe37e091dd2ba29673d92ed6cb616f [weak]
  • Filesize:2019032 [weak]
    E: Failed to fetch http://ftp.harukasan.org/kali/pool/main/g/gobuster/gobuster_3.0.1-0kali1_amd64.deb File has unexpected size (990 != 2019032). Mirror sync in progress? [IP: 14.49.100.37 80]
    Hashes of expected file:
    • SHA256:4bf7525f25019212d2818e3ec2b805997339ae132c6311de518c93986b8277e7
    • SHA1:c7ecde7948dfd8d5d6bd25232b1625d9c152571a [weak]
    • MD5Sum:0bfe37e091dd2ba29673d92ed6cb616f [weak]
    • Filesize:2019032 [weak]
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I also tried with -fix-missing, but still the similar error as below,

root@kali:~# apt-get install gobuster --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
gobuster
0 upgraded, 1 newly installed, 0 to remove and 1154 not upgraded.
Need to get 2,019 kB of archives.
After this operation, 6,759 kB of additional disk space will be used.
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Get:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1 [2,019 kB]
Err:1 http://ftp.harukasan.org/kali kali-rolling/main amd64 gobuster amd64 3.0.1-0kali1
File has unexpected size (990 != 2019032). Mirror sync in progress? [IP: 14.49.100.116 80]
Hashes of expected file:

  • SHA256:4bf7525f25019212d2818e3ec2b805997339ae132c6311de518c93986b8277e7
  • SHA1:c7ecde7948dfd8d5d6bd25232b1625d9c152571a [weak]
  • MD5Sum:0bfe37e091dd2ba29673d92ed6cb616f [weak]
  • Filesize:2019032 [weak]
    E: Failed to fetch http://ftp.harukasan.org/kali/pool/main/g/gobuster/gobuster_3.0.1-0kali1_amd64.deb File has unexpected size (990 != 2019032). Mirror sync in progress? [IP: 14.49.100.116 80]
    Hashes of expected file:
    • SHA256:4bf7525f25019212d2818e3ec2b805997339ae132c6311de518c93986b8277e7
    • SHA1:c7ecde7948dfd8d5d6bd25232b1625d9c152571a [weak]
    • MD5Sum:0bfe37e091dd2ba29673d92ed6cb616f [weak]
    • Filesize:2019032 [weak]
      E: Internal Error, ordering was unable to handle the media swap

I tried even after apt-get update...still the same. I reported it to github, they said this is a kali linux issue as recommended me to seek help here.

Steps To Reproduce

apt-get gobuster install
apt-get gobuster install --fix-missing

Activities

Edu4rdSHL

Edu4rdSHL

2019-12-14 22:57

reporter   ~0011683

Try changing the repo.

subbuisss

subbuisss

2019-12-14 23:14

reporter   ~0011684

the previous one was the following,

'

deb cdrom:[Debian GNU/Linux 2019.3 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free

#deb cdrom:[Debian GNU/Linux 2019.3 Kali-rolling - Official Snapshot amd64 LIVE/INSTALL Binary 20190827-10:52]/ kali-last-snapshot contrib main non-free

deb http://http.kali.org/kali kali-rolling main non-free contrib

deb-src http://http.kali.org/kali kali-rolling main non-free contrib

This system was installed using small removable media

(e.g. netinst, live or single CD). The matching "deb cdrom"

entries were disabled at the end of the installation process.

For information about how to configure apt package sources,

see the sources.list(5) manual.

'

Then I changed to the following,

'

deb cdrom:[Debian GNU/Linux 2016.1 Kali-rolling - Official

#deb cdrom:[Debian GNU/Linux 2016.1 Kali-rolling - Official Snapshot

deb http://cz.archive.ubuntu.com/ubuntu trusty main
deb http://ch.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://ch.archive.ubuntu.com/ubuntu/ saucy main restricted

deb http://httpredir.debian.org/debian jessie main
deb-src http://httpredir.debian.org/debian jessie main
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy universe
deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe
'

Did a apt-get update as well post this. I did not change anything. Am I missing something?

sbrun

sbrun

2019-12-16 14:42

manager   ~0011686

It's usually a temporary error.
Please try again:
apt-get update
apt-get install gobuster

Do you still have the issue?

subbuisss

subbuisss

2019-12-16 18:14

reporter   ~0011690

Unfortunately, yes. It does not work still...
I am unable to install any application for that matter.. My bad

I tried git clone method as well...
apt-get golang does not work...

Balling

Balling

2019-12-18 23:06

reporter   ~0011715

Works for me.

rhertzog

rhertzog

2019-12-19 08:40

administrator   ~0011719

You're not helping your case by adding Debian and Ubuntu repositories in your sources.list. We never gave such instructions...

It looks like the mirror that you are being redirected to is not working well for you. Try using kali.download in place of http.kali.org. For further help, please ask on forums.kali.org or on IRC.

I tried ftp.harukasan.org and it works for me although it's really slow from where I am.

Issue History

Date Modified Username Field Change
2019-12-14 22:49 subbuisss New Issue
2019-12-14 22:57 Edu4rdSHL Note Added: 0011683
2019-12-14 23:14 subbuisss Note Added: 0011684
2019-12-16 14:42 sbrun Assigned To => sbrun
2019-12-16 14:42 sbrun Status new => feedback
2019-12-16 14:42 sbrun Note Added: 0011686
2019-12-16 18:14 subbuisss Note Added: 0011690
2019-12-16 18:14 subbuisss Status feedback => assigned
2019-12-18 23:06 Balling Note Added: 0011715
2019-12-19 08:40 rhertzog Status assigned => closed
2019-12-19 08:40 rhertzog Resolution open => unable to reproduce
2019-12-19 08:40 rhertzog Note Added: 0011719
2025-07-14 09:36 g0tmi1k Priority high => normal