View Issue Details

IDProjectCategoryView StatusLast Update
0001138Kali LinuxKali Package Bugpublic2014-04-10 00:18
Reporternetshark Assigned Tomuts  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Platformx86OSKaliOS Version1.0
Product Version1.0.6 
Summary0001138: packages/mirror corruption while updating
Description

The update fails, on the i386 version, while installing kali-linux-all through network (or updating it), with packages/mirror corruption.
The packages are always the same.
The equivalent x86_64 version is NOT affected by this issue and works fine.
"apt-get clean all" and repeating the process (clear apt cache and fresh restart) does NOT solve the issue.
apt-get with "--fix-missing" option does update unaffected packages, but does not solve the issue.

Steps To Reproduce

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:
beef-xss beef-xss-bundle dosfstools isr-evilgrade libssl-dev libssl-doc libssl1.0.0 openssl u3-pwn wce windows-binaries
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.4 MB/146 MB of archives.
After this operation, 329 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://security.kali.org/kali-security/ kali/updates/main libssl-doc all 1.0.1e-2+deb7u6 [1,201 kB]
Get:2 http://security.kali.org/kali-security/ kali/updates/main libssl-dev i386 1.0.1e-2+deb7u6 [1,596 kB]
Get:3 http://http.kali.org/kali/ kali/main beef-xss all 0.4.4.9-0kali3 [2,225 kB]
Get:4 http://security.kali.org/kali-security/ kali/updates/main libssl1.0.0 i386 1.0.1e-2+deb7u6 [3,032 kB]
Get:5 http://http.kali.org/kali/ kali/main dosfstools i386 3.0.26-2kali1 [85.1 kB]
Get:6 http://security.kali.org/kali-security/ kali/updates/main openssl i386 1.0.1e-2+deb7u6 [693 kB]
Get:7 http://http.kali.org/kali/ kali/main isr-evilgrade all 2.0.0-1kali1 [8,173 kB]
Get:8 http://http.kali.org/kali/ kali/main u3-pwn all 0.1-1kali1 [7,285 kB]
Get:9 http://http.kali.org/kali/ kali/non-free wce all 1.42-beta-0kali0 [450 kB]
Get:10 http://http.kali.org/kali/ kali/non-free windows-binaries all 0.3-0kali1 [2,698 kB]
Fetched 6,614 kB in 11s (592 kB/s)
Failed to fetch http://http.kali.org/kali/pool/main/b/beef-xss/beef-xss_0.4.4.9-0kali3_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/i/isr-evilgrade/isr-evilgrade_2.0.0-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/u/u3-pwn/u3-pwn_0.1-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/wce/wce_1.42-beta-0kali0_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/windows-binaries/windows-binaries_0.3-0kali1_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@kali:~# apt-get dist-upgrade --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
beef-xss beef-xss-bundle dosfstools isr-evilgrade libssl-dev libssl-doc libssl1.0.0 openssl u3-pwn wce windows-binaries
11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.8 MB/146 MB of archives.
After this operation, 329 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://http.kali.org/kali/ kali/main beef-xss all 0.4.4.9-0kali3 [2,225 kB]
Get:2 http://http.kali.org/kali/ kali/main isr-evilgrade all 2.0.0-1kali1 [8,173 kB]
Get:3 http://http.kali.org/kali/ kali/main u3-pwn all 0.1-1kali1 [7,285 kB]
Get:4 http://http.kali.org/kali/ kali/non-free wce all 1.42-beta-0kali0 [450 kB]
Get:5 http://http.kali.org/kali/ kali/non-free windows-binaries all 0.3-0kali1 [2,698 kB]
Fetched 5,892 B in 6s (842 B/s)
Failed to fetch http://http.kali.org/kali/pool/main/b/beef-xss/beef-xss_0.4.4.9-0kali3_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/i/isr-evilgrade/isr-evilgrade_2.0.0-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/u/u3-pwn/u3-pwn_0.1-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/wce/wce_1.42-beta-0kali0_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/windows-binaries/windows-binaries_0.3-0kali1_all.deb Size mismatch
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 385724 files and directories currently installed.)
Preparing to replace libssl-doc 1.0.1e-2+deb7u5 (using .../libssl-doc_1.0.1e-2+deb7u6_all.deb) ...
Unpacking replacement libssl-doc ...
Preparing to replace libssl-dev 1.0.1e-2+deb7u5 (using .../libssl-dev_1.0.1e-2+deb7u6_i386.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl1.0.0:i386 1.0.1e-2+deb7u5 (using .../libssl1.0.0_1.0.1e-2+deb7u6_i386.deb) ...
Unpacking replacement libssl1.0.0:i386 ...
Preparing to replace dosfstools 3.0.13-1 (using .../dosfstools_3.0.26-2kali1_i386.deb) ...
Unpacking replacement dosfstools ...
Preparing to replace openssl 1.0.1e-2+deb7u5 (using .../openssl_1.0.1e-2+deb7u6_i386.deb) ...
Unpacking replacement openssl ...
Processing triggers for man-db ...
Setting up libssl-doc (1.0.1e-2+deb7u6) ...
Setting up libssl1.0.0:i386 (1.0.1e-2+deb7u6) ...
Checking for services that may need to be restarted...done.
Checking init scripts...
WARNING: init script for postgresql-9.1 not found.

Restarting services possibly affected by the upgrade:
SSL tunnels disabled, see /etc/default/stunnel4

Services restarted successfully.

Setting up libssl-dev (1.0.1e-2+deb7u6) ...
Setting up dosfstools (3.0.26-2kali1) ...
Setting up openssl (1.0.1e-2+deb7u6) ...
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:
beef-xss beef-xss-bundle isr-evilgrade u3-pwn wce windows-binaries
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.8 MB/139 MB of archives.
After this operation, 329 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://http.kali.org/kali/ kali/main beef-xss all 0.4.4.9-0kali3 [2,225 kB]
Get:2 http://http.kali.org/kali/ kali/main isr-evilgrade all 2.0.0-1kali1 [8,173 kB]
Get:3 http://http.kali.org/kali/ kali/main u3-pwn all 0.1-1kali1 [7,285 kB]
Get:4 http://http.kali.org/kali/ kali/non-free wce all 1.42-beta-0kali0 [450 kB]
Get:5 http://http.kali.org/kali/ kali/non-free windows-binaries all 0.3-0kali1 [2,698 kB]
Fetched 5,892 B in 7s (836 B/s)
Failed to fetch http://http.kali.org/kali/pool/main/b/beef-xss/beef-xss_0.4.4.9-0kali3_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/i/isr-evilgrade/isr-evilgrade_2.0.0-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/main/u/u3-pwn/u3-pwn_0.1-1kali1_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/wce/wce_1.42-beta-0kali0_all.deb Size mismatch
Failed to fetch http://http.kali.org/kali/pool/non-free/w/windows-binaries/windows-binaries_0.3-0kali1_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@kali:~#

Activities

netshark

netshark

2014-04-09 11:16

reporter   ~0001674

downloading and dpkg -i the affected packages also fails with <package> is not a debian format archive.

muts

muts

2014-04-09 11:30

reporter   ~0001675

I am unable to reproduce. It sounds like you might be pulling packages from a stale mirror, or something else is the matter. Can i you identify the mirror you are connecting to ?

netshark

netshark

2014-04-09 12:07

reporter   ~0001677

Got it. My bad. The firewall is raising false positives:

You are not permitted to download the file "beef-xss_0.4.4.9-0kali3_all.deb" because it is infected with the virus "JS/Agent.BHP!exploit".

This is probably due to virus signatures enclosed in the file. Got to find a direct connection to the internet in order to download the affect files.

Sorry for the inconvenience and please closed the issue as resolved.

muts

muts

2014-04-10 00:18

reporter   ~0001680

Closed.

Issue History

Date Modified Username Field Change
2014-04-09 09:48 netshark New Issue
2014-04-09 11:16 netshark Note Added: 0001674
2014-04-09 11:30 muts Note Added: 0001675
2014-04-09 12:07 netshark Note Added: 0001677
2014-04-10 00:18 muts Note Added: 0001680
2014-04-10 00:18 muts Status new => closed
2014-04-10 00:18 muts Assigned To => muts
2014-04-10 00:18 muts Resolution open => no change required