apt-get update broken (some downloaded files corrupted) - Debian

This is a discussion on apt-get update broken (some downloaded files corrupted) - Debian ; Hi, I tried to apt-get update on a dodgy connection yesterday, and some files didn't get fully downloaded. Here's what's in my /etc/apt/sources.list file: deb http://ftp.uk.debian.org/debian unstable main contrib non-free deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free Code: deb http://ftp.uk.debian.org/debian experimental ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: apt-get update broken (some downloaded files corrupted)

  1. apt-get update broken (some downloaded files corrupted)

    Hi,

    I tried to apt-get update on a dodgy connection yesterday, and some files
    didn't get fully downloaded.

    Here's what's in my /etc/apt/sources.list file:
    deb http://ftp.uk.debian.org/debian unstable main contrib non-free
    deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free

    Code:
    deb http://ftp.uk.debian.org/debian experimental main contrib non-free
    deb-src http://ftp.uk.debian.org/debian experimental main contrib non-free


    After that, here's what apt-get update spits out:

    # apt-get update
    Get: 1 http://ftp.uk.debian.org unstable Release.gpg [189B]
    Get: 2 http://ftp.uk.debian.org experimental Release.gpg [189B]
    Hit http://ftp.uk.debian.org unstable Release
    Hit http://ftp.uk.debian.org experimental Release
    Ign http://ftp.uk.debian.org unstable/main Packages
    Hit http://ftp.uk.debian.org unstable/contrib Packages
    Hit http://ftp.uk.debian.org unstable/non-free Packages
    Hit http://ftp.uk.debian.org unstable/main Sources
    Hit http://ftp.uk.debian.org unstable/contrib Sources
    Hit http://ftp.uk.debian.org unstable/non-free Sources
    Ign http://ftp.uk.debian.org experimental/main Packages
    Ign http://ftp.uk.debian.org experimental/contrib Packages
    Ign http://ftp.uk.debian.org experimental/non-free Packages
    Ign http://ftp.uk.debian.org experimental/main Sources
    Ign http://ftp.uk.debian.org experimental/contrib Sources
    Ign http://ftp.uk.debian.org experimental/non-free Sources
    Get: 3 http://ftp.uk.debian.org unstable/main Packages [3991kB]
    Hit http://ftp.uk.debian.org experimental/main Packages
    Hit http://ftp.uk.debian.org experimental/contrib Packages
    Hit http://ftp.uk.debian.org experimental/non-free Packages
    Hit http://ftp.uk.debian.org experimental/main Sources
    Hit http://ftp.uk.debian.org experimental/contrib Sources
    Hit http://ftp.uk.debian.org experimental/non-free Sources
    99% [3 Packages gzip 0]
    gzip: stdin: not in gzip format
    Errhttp://ftp.uk.debian.org unstable/main Packages
    Sub-process gzip returned an error code (1)
    Fetched 3B in 1s (2B/s)
    Failed to fetch
    http://ftp.uk.debian.org/debian/dist...86/Packages.gz
    Sub-process gzip returned an error code (1)
    Reading package lists... Done
    E: Some index files failed to download, they have been ignored, or old ones
    used instead.

    What's going on?

    Thanks

    --
    To reply, take of all ZIGs !!

  2. Re: apt-get update broken (some downloaded files corrupted)

    On Sun, 12 Feb 2006 12:35:10 +0000, Asfand Yar Qazi
    wrote in alt.os.linux.debian:

    > Hi,
    >
    > I tried to apt-get update on a dodgy connection yesterday, and some files
    > didn't get fully downloaded.
    >
    > Here's what's in my /etc/apt/sources.list file:
    > deb http://ftp.uk.debian.org/debian unstable main contrib non-free
    > deb-src http://ftp.uk.debian.org/debian unstable main contrib non-free
    >
    > Code:
    > deb http://ftp.uk.debian.org/debian experimental main contrib non-free
    > deb-src http://ftp.uk.debian.org/debian experimental main contrib non-free
    >
    >
    > After that, here's what apt-get update spits out:
    >
    > # apt-get update
    > Get: 1 http://ftp.uk.debian.org unstable Release.gpg [189B]
    > Get: 2 http://ftp.uk.debian.org experimental Release.gpg [189B]
    > Hit http://ftp.uk.debian.org unstable Release
    > Hit http://ftp.uk.debian.org experimental Release
    > Ign http://ftp.uk.debian.org unstable/main Packages
    > Hit http://ftp.uk.debian.org unstable/contrib Packages
    > Hit http://ftp.uk.debian.org unstable/non-free Packages
    > Hit http://ftp.uk.debian.org unstable/main Sources
    > Hit http://ftp.uk.debian.org unstable/contrib Sources
    > Hit http://ftp.uk.debian.org unstable/non-free Sources
    > Ign http://ftp.uk.debian.org experimental/main Packages
    > Ign http://ftp.uk.debian.org experimental/contrib Packages
    > Ign http://ftp.uk.debian.org experimental/non-free Packages
    > Ign http://ftp.uk.debian.org experimental/main Sources
    > Ign http://ftp.uk.debian.org experimental/contrib Sources
    > Ign http://ftp.uk.debian.org experimental/non-free Sources
    > Get: 3 http://ftp.uk.debian.org unstable/main Packages [3991kB]
    > Hit http://ftp.uk.debian.org experimental/main Packages
    > Hit http://ftp.uk.debian.org experimental/contrib Packages
    > Hit http://ftp.uk.debian.org experimental/non-free Packages
    > Hit http://ftp.uk.debian.org experimental/main Sources
    > Hit http://ftp.uk.debian.org experimental/contrib Sources
    > Hit http://ftp.uk.debian.org experimental/non-free Sources
    > 99% [3 Packages gzip 0]
    > gzip: stdin: not in gzip format
    > Errhttp://ftp.uk.debian.org unstable/main Packages
    > Sub-process gzip returned an error code (1)
    > Fetched 3B in 1s (2B/s)
    > Failed to fetch
    > http://ftp.uk.debian.org/debian/dist...86/Packages.gz
    > Sub-process gzip returned an error code (1)
    > Reading package lists... Done
    > E: Some index files failed to download, they have been ignored, or old ones
    > used instead.
    >
    > What's going on?


    # ls /var/lib/apt/lists/partial/

    Delete any files you see there and run apt-get update again.

    This thread may explain what's happening:



    (Don't apply the patch; it's for an older version of apt.)


    PJR :-)
    --
    Have you been touched ___ ___ Hammer of Thor, Jan 2006
    by His noodly / _ \ / _ \
    appendage? ( (_) )( (_) ) Pierre Salinger Memorial
    \_ _/ \_ _/ Hook, Line & Sinker, Dec
    STOP GLOBAL __ _.-\\----//--._ 2003 & May 2005
    WARMING _ / _\___.-'/ _| / _\ /\/\`-._.-.__ _
    NOW, (_\_)| \___ ||_ ((_ //\/\\ _.-._ \-' ) AHM Wittiest
    JIM LAD! \__) __) | _| _) ) || || (_ \_.-' Troll of the
    /_-. || \_/ || .-'-.\ Year, 2003
    http:// _._// / .--._______.-'\ \ \\__._ 2004 & 2005
    www. /_._/ \ \ )) \__._)
    venganza (/ _.-') ( `-._ wsd 42 ~ mhm 34x8
    ..org/ (_.-' :F_P: `--._) smeeter 30 ~ mwpl 12

  3. Re: apt-get update broken (some downloaded files corrupted)

    Peter J Ross wrote:

    >
    >
    > # ls /var/lib/apt/lists/partial/
    >
    > Delete any files you see there and run apt-get update again.
    >
    > This thread may explain what's happening:
    >
    >
    >
    > (Don't apply the patch; it's for an older version of apt.)
    >
    >
    > PJR :-)


    thanks

    --
    To reply, take of all ZIGs !!

+ Reply to Thread