[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: etch apt - Failed to fetch kernel, Size Mismatch error



> Inspect the output of
>
> $ apt-cache show linux-image-2.6.18-5-486 --no-all-versions
>
> and
>
> $ wget --spider \
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
>
> Compare the "Size" field of apt-cache output with the "Length" field of
> wget output. They should match. (they do on my system)
>

Hi,

it matches on my system. yet I get the error messages.
Details below

===========================================================

xfsdc:~# apt-cache show linux-image-2.6.18-5-486 --no-all-versions
Package: linux-image-2.6.18-5-486
Priority: optional
Section: admin
Installed-Size: 47256
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Source: linux-2.6
Version: 2.6.18.dfsg.1-13etch4
Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-5-486
Depends: module-init-tools (>= 0.9.13), coreutils (>= 5.96),
initramfs-t
                                             ools (>= 0.55) | yaird
(>= 0.0.12-8) | linux-initramfs-tool
Pre-Depends: debconf (>= 0.2.17) | debconf-2.0
Suggests: linux-doc-2.6.18, grub (>= 0.97-3) | lilo (>= 19.1)
Conflicts: grub (<= 0.95+cvs20040624-17), initramfs-tools (<< 0.55),
yai
                                     rd (<< 0.0.12-8)
Filename: pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.

                                 dfsg.1-13etch4_i386.deb
Size: 16170710
MD5sum: 9109283c0e49d2968b5f36af7958b671
SHA1: 8be3503b0d4e9d6e46ae1fe0c2a5abb5bddd17a9
SHA256: 3bf20902b50e0629bfabf5342ec8709479535447aee2bbacc6b69a3f5cfed469
Description: Linux 2.6.18 image on x86
 This package provides the binary image and pre-built loadable modules
f
                                   or
 Linux kernel 2.6.18 on x86 and compatible machines.
fsdc:~# wget --spider \
> http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2                                                                                                         .6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
--16:58:43--  http://security.debian.org/pool/updates/main/l/linux-2.6/l


inux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
           => `linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb'
Resolving security.debian.org... 128.31.0.36, 212.211.132.32,
212.211.13
                                            2.250
Connecting to security.debian.org|128.31.0.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,61,70,710 (15M) [application/x-debian-package]
200 OK

fsdc:~# uname -a
Linux hifxfsdc 2.6.18-5-686 #1 SMP Wed Sep 26 17:54:59 UTC 2007 i686 GNU/Linux
hifxfsdc:~# apt-get update
Get:1 http://security.debian.org etch/updates Release.gpg [189B]
Get:2 http://ftp.de.debian.org etch Release.gpg [378B]
Hit http://ftp.de.debian.org etch Release
Ign http://ftp.de.debian.org etch/main Packages/DiffIndex
Ign http://ftp.de.debian.org etch/contrib Packages/DiffIndex
Get:3 http://security.debian.org etch/updates Release [22.5kB]
Hit http://ftp.de.debian.org etch/main Packages
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Hit http://ftp.de.debian.org etch/contrib Packages
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Hit http://security.debian.org etch/updates/main Packages
Hit http://security.debian.org etch/updates/contrib Packages
Fetched 22.6kB in 3s (5748B/s)
Reading package lists... Done
hifxfsdc:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
The following packages will be upgraded:
  dhcp-client librpcsecgss3 linux-image-2.6.18-5-486 linux-image-2.6.18-5-686
4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 32.5MB/32.6MB of archives.
After unpacking 24.6kB disk space will be freed.
Do you want to continue [Y/n]? y
Get:1 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-486 2.6.18.dfsg.1-13etch4 [16.2MB]
Get:2 http://security.debian.org etch/updates/main
linux-image-2.6.18-5-686 2.6.18.dfsg.1-13etch4 [16.3MB]
Fetched 652B in 1s (347B/s)
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-486_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
Failed to fetch
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
 Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
fsdc:~# uname -a
Linux fsdc 2.6.18-5-686 #1 SMP Wed Sep 26 17:54:59 UTC 2007 i686 GNU/Linux
fsdc:~# wget --spider
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
--17:01:44--  http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
           => `linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb'
Resolving security.debian.org... 128.31.0.36, 212.211.132.32, 212.211.132.250
Connecting to security.debian.org|128.31.0.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,63,19,840 (16M) [application/x-debian-package]
200 OK

xfsdc:~# apt-cache show linux-image-2.6.18-5-686 --no-all-versions
Package: linux-image-2.6.18-5-686
Priority: optional
Section: admin
Installed-Size: 46860
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: i386
Source: linux-2.6
Version: 2.6.18.dfsg.1-13etch4
Provides: linux-image, linux-image-2.6, linux-modules-2.6.18-5-686
Depends: module-init-tools (>= 0.9.13), coreutils (>= 5.96),
initramfs-tools (>= 0.55) | yaird (>= 0.0.12-8) | linux-initramfs-tool
Pre-Depends: debconf (>= 0.2.17) | debconf-2.0
Recommends: libc6-i686
Suggests: linux-doc-2.6.18, grub (>= 0.97-3) | lilo (>= 19.1)
Conflicts: grub (<= 0.95+cvs20040624-17), initramfs-tools (<< 0.55),
yaird (<< 0.0.12-8)
Filename: pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
Size: 16319840
MD5sum: 6b800f593454b8683d0f8cfd169fc96a
SHA1: 93c11f17b422b73a4828c45190b2258a480160ca
SHA256: 0a64fb619013c4b816e9aac5df67fb42a2b51ac4c0cc1a5aaa9b85afc96418da
Description: Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
 This package provides the binary image and pre-built loadable modules for
 Linux kernel 2.6.18 on Pentium Pro/Celeron/Pentium II/Pentium III/Pentium
fsdc:~# wget --spider
http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
--17:02:37--  http://security.debian.org/pool/updates/main/l/linux-2.6/linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb
           => `linux-image-2.6.18-5-686_2.6.18.dfsg.1-13etch4_i386.deb'
Resolving security.debian.org... 128.31.0.36, 212.211.132.32, 212.211.132.250
Connecting to security.debian.org|128.31.0.36|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,63,19,840 (16M) [application/x-debian-package]
200 OK


> If you get different sizes, then delete all the cached package lists in
> /var/lib/apt/lists, run apt-get update and apt-get dist-upgrade again to
> see if it fixes the problem
>
>

I had problems running apt-get update too.
So I changed the repository and it is working fine now :-)

Thank you so much

Kind Regards

Siju



Reply to: