View Issue Details

IDProjectCategoryView StatusLast Update
0004060Kali LinuxGeneral Bugpublic2017-08-22 20:00
Reporterss23 Assigned Torhertzog  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0004060: Mirror http://http.kali.org/kali/ (and others) are missing packages
Description

When attempting to update my Kali system, if I hit the http://http.kali.org/kali/ mirror, several packages fail to upgrade with a 404 error:

root@kali:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
cracklib-runtime exploitdb imagemagick imagemagick-6-common imagemagick-6.q16 libcrack2 libllvm3.9 libmagickcore-6.q16-3 libmagickcore-6.q16-3-extra libmagickwand-6.q16-3 libtiff5 metasploit-framework sysstat
13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 132 MB of archives.
After this operation, 1,203 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 http://http.kali.org/kali kali-rolling/main amd64 imagemagick-6-common all 8:6.9.7.4+dfsg-5
404 Not Found
Err:2 http://http.kali.org/kali kali-rolling/main amd64 libtiff5 amd64 4.0.7-6
404 Not Found
Err:3 http://http.kali.org/kali kali-rolling/main amd64 libmagickcore-6.q16-3 amd64 8:6.9.7.4+dfsg-5
404 Not Found
Err:4 http://http.kali.org/kali kali-rolling/main amd64 libmagickwand-6.q16-3 amd64 8:6.9.7.4+dfsg-5
404 Not Found
Err:5 http://http.kali.org/kali kali-rolling/main amd64 libcrack2 amd64 2.9.2-4
404 Not Found
Err:6 http://http.kali.org/kali kali-rolling/main amd64 cracklib-runtime amd64 2.9.2-4
404 Not Found
Err:7 http://http.kali.org/kali kali-rolling/main amd64 imagemagick-6.q16 amd64 8:6.9.7.4+dfsg-5
404 Not Found
Err:8 http://http.kali.org/kali kali-rolling/main amd64 imagemagick amd64 8:6.9.7.4+dfsg-5
404 Not Found
Err:9 http://http.kali.org/kali kali-rolling/main amd64 libllvm3.9 amd64 1:3.9.1-7
404 Not Found
Err:10 http://http.kali.org/kali kali-rolling/main amd64 libmagickcore-6.q16-3-extra amd64 8:6.9.7.4+dfsg-5
404 Not Found
Err:11 http://http.kali.org/kali kali-rolling/main amd64 sysstat amd64 11.4.3-1
404 Not Found
Err:12 http://http.kali.org/kali kali-rolling/main amd64 exploitdb all 20170418-0kali1
404 Not Found
Err:13 http://http.kali.org/kali kali-rolling/main amd64 metasploit-framework amd64 4.14.13-0kali1
404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/imagemagick-6-common_6.9.7.4+dfsg-5_all.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/t/tiff/libtiff5_4.0.7-6_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/libmagickcore-6.q16-3_6.9.7.4+dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/libmagickwand-6.q16-3_6.9.7.4+dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/c/cracklib2/libcrack2_2.9.2-4_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/c/cracklib2/cracklib-runtime_2.9.2-4_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/imagemagick-6.q16_6.9.7.4+dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/imagemagick_6.9.7.4+dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/l/llvm-toolchain-3.9/libllvm3.9_3.9.1-7_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/i/imagemagick/libmagickcore-6.q16-3-extra_6.9.7.4+dfsg-5_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/s/sysstat/sysstat_11.4.3-1_amd64.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/e/exploitdb/exploitdb_20170418-0kali1_all.deb 404 Not Found
E: Failed to fetch http://http.kali.org/kali/pool/main/m/metasploit-framework/metasploit-framework_4.14.13-0kali1_amd64.deb 404 Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Steps To Reproduce
  1. Configure your kali box to use "http://http.kali.org/kali/" mirror only.
  2. Run apt-get update
  3. Run apt-get dist-upgrade, apt-get install, or another command that forces packages to be downloaded from the mirror
Additional Information

https://gist.github.com/ss23/70dbd5913a582472770ac973699c8401 has more complete output from my system.

I seem to recall hitting this with kali.mirror.garr.it too, though I haven't tested.

Activities

muts

muts

2017-06-06 02:03

reporter   ~0006790

Have you run an "apt-get update" first ?

ss23

ss23

2017-06-06 02:04

reporter   ~0006791

Yes. You can verify by looking at the gist I attached to the original ticket. It may also include other information you'll want to know (like how my sources.list is set, or which mirrors are giving errors vs which aren't).

rhertzog

rhertzog

2017-06-06 08:37

administrator   ~0006792

I confirm the problem... the mirror redirects to two different IPs:
$ host kali.mirror.garr.it
kali.mirror.garr.it is an alias for ba.mirror.garr.it.
ba.mirror.garr.it has address 90.147.160.69
ba.mirror.garr.it has address 90.147.164.69

And at least one IP points to a (very) old version of the Kali repository.

http://90.147.160.69/mirrors/kali/project/trace/repo.kali.org => up to date
http://90.147.164.69/mirrors/kali/project/trace/repo.kali.org => outdated

I have disabled the mirror for now. And I'll ping the mirror admins.

rhertzog

rhertzog

2017-08-22 20:00

administrator   ~0007082

Looks like both mirrors are in sync again. I re-enabled the mirror.

Issue History

Date Modified Username Field Change
2017-06-06 01:38 ss23 New Issue
2017-06-06 02:03 muts Note Added: 0006790
2017-06-06 02:04 ss23 Note Added: 0006791
2017-06-06 08:23 rhertzog Assigned To => rhertzog
2017-06-06 08:23 rhertzog Status new => assigned
2017-06-06 08:37 rhertzog Note Added: 0006792
2017-08-22 20:00 rhertzog Status assigned => resolved
2017-08-22 20:00 rhertzog Resolution open => fixed
2017-08-22 20:00 rhertzog Note Added: 0007082