Bug#436246: apt-get source fails when there is one failuer in apt-get update
Package: apt
Version: 0.7.3
Severity: important
This is what I did:
arrs@learner:~$ apt-get update
Get:1 http://deb.opera.com testing Release.gpg [189B]
Ign http://deb.opera.com testing/non-free Translation-en_US
Get:2 http://ftp.debian.org testing Release.gpg [189B]
Ign http://ftp.debian.org testing/main Translation-en_US
Ign http://ftp.debian.org testing/contrib Translation-en_US
Get:3 http://www.researchut.com sid Release.gpg [8182B]
Hit http://deb.opera.com testing Release
Err http://deb.opera.com testing Release
Get:4 http://www.virtualbox.org etch Release.gpg [189B]
Ign http://www.virtualbox.org etch/non-free Translation-en_US
Get:5 http://kernel-archive.buildserver.net sid Release.gpg [189B]
Ign http://kernel-archive.buildserver.net sid/main Translation-en_US
Get:6 http://deb.opera.com testing Release [855B]
Ign http://deb.opera.com testing Release
Get:7 http://security.debian.org stable/updates Release.gpg [189B]
Ign http://security.debian.org stable/updates/main Translation-en_US
Ign http://ftp.debian.org testing/non-free Translation-en_US
Get:8 http://ftp.debian.org unstable Release.gpg [189B]
Ign http://ftp.debian.org unstable/main Translation-en_US
Ign http://ftp.debian.org unstable/contrib Translation-en_US
Ign http://ftp.debian.org unstable/non-free Translation-en_US
Get:9 http://ftp.debian.org experimental Release.gpg [189B]
Ign http://ftp.debian.org experimental/main Translation-en_US
Get:10 http://mirrors.kernel.org testing Release.gpg [189B]
Ign http://mirrors.kernel.org testing/main Translation-en_US
Ign http://mirrors.kernel.org testing/contrib Translation-en_US
Ign http://mirrors.kernel.org testing/non-free Translation-en_US
Get:11 http://mirrors.kernel.org unstable Release.gpg [189B]
Ign http://mirrors.kernel.org unstable/main Translation-en_US
Hit http://www.virtualbox.org etch Release
Err http://www.virtualbox.org etch Release
Hit http://kernel-archive.buildserver.net sid Release
Err http://kernel-archive.buildserver.net sid Release
Ign http://deb.opera.com testing/non-free Packages/DiffIndex
Ign http://security.debian.org stable/updates/contrib Translation-en_US
Get:12 http://security.debian.org testing/updates Release.gpg [189B]
Ign http://security.debian.org testing/updates/main Translation-en_US
Ign http://security.debian.org testing/updates/contrib Translation-en_US
Ign http://security.debian.org testing/updates/non-free Translation-en_US
Get:13 http://dl.google.com stable Release.gpg [189B]
Get:14 http://www.debian-multimedia.org testing Release.gpg [189B]
Ign http://www.debian-multimedia.org testing/main Translation-en_US
Get:15 http://www.debian-multimedia.org unstable Release.gpg [189B]
Ign http://www.debian-multimedia.org unstable/main Translation-en_US
Ign http://ftp.debian.org experimental/contrib Translation-en_US
Ign http://ftp.debian.org experimental/non-free Translation-en_US
Hit http://ftp.debian.org testing Release
Ign http://mirrors.kernel.org unstable/contrib Translation-en_US
Ign http://mirrors.kernel.org unstable/non-free Translation-en_US
Get:16 http://mirrors.kernel.org experimental Release.gpg [189B]
Ign http://mirrors.kernel.org experimental/main Translation-en_US
Get:17 http://www.researchut.com sid/main Translation-en_US [8182B]
Ign http://deb.opera.com testing/non-free Packages
Hit http://ftp.debian.org unstable Release
Hit http://ftp.debian.org experimental Release
Hit http://security.debian.org stable/updates Release
Get:18 http://www.virtualbox.org etch Release [554B]
Ign http://mirrors.kernel.org experimental/contrib Translation-en_US
Ign http://mirrors.kernel.org experimental/non-free Translation-en_US
Hit http://mirrors.kernel.org testing Release
Get:19 http://kernel-archive.buildserver.net sid Release [5546B]
Ign http://www.virtualbox.org etch Release
Hit http://security.debian.org testing/updates Release
Get:20 http://ftp.sunet.se testing Release.gpg [189B]
Ign http://ftp.sunet.se testing/main Translation-en_US
Get:21 http://ftp.sunet.se unstable Release.gpg [189B]
Ign http://dl.google.com stable/non-free Translation-en_US
Ign http://ftp.sunet.se unstable/main Translation-en_US
Ign http://download.skype.com stable Release.gpg
Ign http://download.skype.com stable/non-free Translation-en_US
Hit http://deb.opera.com testing/non-free Packages
Ign http://security.debian.org stable/updates/main Packages/DiffIndex
Ign http://security.debian.org stable/updates/contrib Packages/DiffIndex
Ign http://kernel-archive.buildserver.net sid Release
Ign http://www.virtualbox.org etch/non-free Packages/DiffIndex
99% [17 Translation-en_US bzip2 0] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headbzip2: (stdin) is not a bzip2 file.
Ign http://www.researchut.com sid/main Translation-en_US
Hit http://ftp.debian.org testing/main Packages/DiffIndex
Hit http://ftp.debian.org testing/contrib Packages/DiffIndex
Hit http://ftp.debian.org testing/non-free Packages/DiffIndex
Hit http://ftp.debian.org testing/main Sources/DiffIndex
Hit http://ftp.debian.org testing/contrib Sources/DiffIndex
Hit http://ftp.debian.org testing/non-free Sources/DiffIndex
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Ign http://security.debian.org testing/updates/main Sources/DiffIndex
Ign http://security.debian.org testing/updates/contrib Sources/DiffIndex
Ign http://security.debian.org testing/updates/non-free Sources/DiffIndex
Hit http://security.debian.org stable/updates/main Packages
Hit http://mirrors.kernel.org unstable Release
Hit http://mirrors.kernel.org experimental Release
Get:22 http://www.debian-multimedia.org testing Release [6235B]
Get:23 http://ftp.sunet.se testing Release [6235B]
Get:24 http://ftp.sunet.se unstable Release [6234B]
Get:25 http://www.researchut.com sid/contrib Translation-en_US [8182B]
Ign http://kernel-archive.buildserver.net sid/main Packages/DiffIndex
Hit http://dl.google.com stable Release
Ign http://download.skype.com stable Release
Ign http://www.virtualbox.org etch/non-free Packages
Hit http://www.debian-multimedia.org unstable Release
Get:26 http://www.researchut.com sid/non-free Translation-en_US [8182B]
97% [25 Translation-en_US bzip2 0] [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting for headbzip2: (stdin) is not a bzip2 file.
Ign http://www.researchut.com sid/contrib Translation-en_US
Hit http://security.debian.org stable/updates/contrib Packages
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://www.virtualbox.org etch/non-free Packages
Hit http://kernel-archive.buildserver.net sid/main Packages
Ign http://download.skype.com stable/non-free Packages/DiffIndex
Hit http://mirrors.kernel.org testing/main Packages/DiffIndex
Hit http://mirrors.kernel.org testing/contrib Packages/DiffIndex
Hit http://mirrors.kernel.org testing/non-free Packages/DiffIndex
Hit http://security.debian.org testing/updates/main Sources
Hit http://security.debian.org testing/updates/contrib Sources
Hit http://security.debian.org testing/updates/non-free Sources
Hit http://ftp.debian.org unstable/main Packages/DiffIndex
Hit http://ftp.debian.org unstable/contrib Packages/DiffIndex
Hit http://ftp.debian.org unstable/non-free Packages/DiffIndex
Hit http://ftp.debian.org unstable/main Sources/DiffIndex
Hit http://ftp.debian.org unstable/contrib Sources/DiffIndex
Hit http://ftp.debian.org unstable/non-free Sources/DiffIndex
Hit http://ftp.debian.org experimental/main Packages/DiffIndex
Hit http://ftp.debian.org experimental/contrib Packages/DiffIndex
Hit http://ftp.debian.org experimental/non-free Packages/DiffIndex
Hit http://ftp.debian.org experimental/main Sources/DiffIndex
Ign http://www.debian-multimedia.org testing/main Packages/DiffIndex
Ign http://www.debian-multimedia.org testing/main Sources/DiffIndex
Ign http://ftp.sunet.se testing/main Packages/DiffIndex
Get:27 http://www.researchut.com sid Release [8182B]
Ign http://dl.google.com stable/non-free Packages/DiffIndex
Hit http://download.skype.com stable/non-free Packages
97% [26 Translation-en_US bzip2 0] [Waiting for headers] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Ign http://www.researchut.com sid/non-free Translation-en_US
Ign http://www.researchut.com sid Release
Ign http://ftp.sunet.se unstable/main Packages/DiffIndex
Hit http://dl.google.com stable/non-free Packages
Hit http://mirrors.kernel.org unstable/main Packages/DiffIndex
Hit http://mirrors.kernel.org unstable/contrib Packages/DiffIndex
Hit http://mirrors.kernel.org unstable/non-free Packages/DiffIndex
Hit http://mirrors.kernel.org experimental/main Packages/DiffIndex
Hit http://mirrors.kernel.org experimental/contrib Packages/DiffIndex
Hit http://mirrors.kernel.org experimental/non-free Packages/DiffIndex
Hit http://ftp.debian.org experimental/contrib Sources/DiffIndex
Hit http://ftp.debian.org experimental/non-free Sources/DiffIndex
Hit http://ftp.debian.org experimental/non-free Packages
Ign http://www.debian-multimedia.org unstable/main Packages/DiffIndex
Ign http://www.debian-multimedia.org unstable/main Sources/DiffIndex
Hit http://www.debian-multimedia.org testing/main Packages
Hit http://ftp.sunet.se testing/main Packages
Get:28 http://www.researchut.com sid/main Packages [8182B]
95% [28 Packages bzip2 0] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/main Packages
Sub-process bzip2 returned an error code (2)
Hit http://ftp.sunet.se unstable/main Packages
Hit http://mirrors.kernel.org experimental/non-free Packages
Get:29 http://www.researchut.com sid/contrib Packages [8182B]
Get:30 http://www.researchut.com sid/non-free Packages [8182B]
94% [29 Packages bzip2 0] [Waiting for headers] [30 Packages 1615/8182B 19%]bzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/contrib Packages
Sub-process bzip2 returned an error code (2)
Hit http://www.debian-multimedia.org testing/main Sources
Hit http://www.debian-multimedia.org unstable/main Packages
Hit http://www.debian-multimedia.org unstable/main Sources
95% [30 Packages bzip2 0] [Waiting for headers]bzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/non-free Packages
Sub-process bzip2 returned an error code (2)
Get:31 http://www.researchut.com sid/main Sources [8182B]
Get:32 http://www.researchut.com sid/contrib Sources [8182B]
94% [31 Sources bzip2 0] [32 Sources 414/8182B 5%] 97.5kB/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/main Sources
Sub-process bzip2 returned an error code (2)
96% [32 Sources bzip2 0] [Waiting for headers] 97.5kB/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/contrib Sources
Sub-process bzip2 returned an error code (2)
Get:33 http://www.researchut.com sid/non-free Sources [8182B]
96% [33 Sources bzip2 0] 97.5kB/s 0sbzip2: (stdin) is not a bzip2 file.
Err http://www.researchut.com sid/non-free Sources
Sub-process bzip2 returned an error code (2)
Fetched 116kB in 7s (16.2kB/s)
Failed to fetch http://www.researchut.com/packages/dists/sid/main/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://www.researchut.com/packages/dists/sid/contrib/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://www.researchut.com/packages/dists/sid/non-free/binary-i386/Packages.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://www.researchut.com/packages/dists/sid/main/source/Sources.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://www.researchut.com/packages/dists/sid/contrib/source/Sources.bz2 Sub-process bzip2 returned an error code (2)
Failed to fetch http://www.researchut.com/packages/dists/sid/non-free/source/Sources.bz2 Sub-process bzip2 returned an error code (2)
Reading package lists... Done
W: GPG error: http://deb.opera.com testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 033431536A423791
W: GPG error: http://www.virtualbox.org etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 390EC3FF927CCC73
W: GPG error: http://kernel-archive.buildserver.net sid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DCB0AE4729F335B3
W: GPG error: http://www.researchut.com sid Release: The following signatures were invalid: NODATA 1 NODATA 2
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
So some index files failed to download and have been ignored. Right?
Now I do this:
rrs@learner:~$ apt-get source e2fsprogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Could not open file
/var/lib/apt/lists/www.researchut.com_packages_dists_sid_main_source_Sources
- open (2 No such file or directory)
rrs@learner:~$
Bingo!! It returned back to the shell. Shouldn't it continue (ignoring the
failed index) and download the source ?
Just to cut the confusion:
rrs@learner:~$ alias
alias apt-get='sudo apt-get'
alias dir='ls --color=auto --format=vertical'
alias l='ls -CF'
alias la='ls -A'
alias ll='ls -l'
alias ls='ls --color=auto -F'
alias vdir='ls --color=auto --format=long'
Thanks,
Ritesh
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "i386";
APT::Build-Essential "build-essential";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Default-Release "testing";
APT::Cache-Limit "134217728";
APT::Acquire "";
APT::Acquire::Translation "environment";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | grep -c remove) != 1 ]; then /usr/sbin/localepurge; else exit 0; fi";
-- /etc/apt/preferences --
Explanation: Debian Testing
Package: *
Pin: release o=Debian,a=testing
Pin-Priority: 990
Explanation: Debian Unstable
Package: *
Pin: release o=Debian,a=unstable
Pin-Priority: 650
Explanation: Debian Experimental
Package: *
Pin: release o=Debian,a=experimental
Pin-Priority: 450
Explanation: Unofficial Debian Multimedia package by Christian Marillat
Package: *
Pin: origin www.debian-multimedia.org
Pin-Priority: 150
Explanation: Ubuntu
Package: *
Pin: origin archive.ubuntu.com
Pin-Priority: 50
-- /etc/apt/sources.list --
deb http://security.debian.org/ stable/updates main contrib
# Debian Testing Security
deb http://security.debian.org testing/updates main contrib non-free
deb-src http://security.debian.org testing/updates main contrib non-free
deb http://mirrors.kernel.org/debian/ testing main contrib non-free
deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free
deb http://mirrors.kernel.org/debian/ unstable main contrib non-free
deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free
deb http://mirrors.kernel.org/debian/ experimental main contrib non-free
deb http://ftp.debian.org/debian/ experimental main contrib non-free
deb-src http://ftp.debian.org/debian/ experimental main contrib non-free
# For MPlayer
deb http://www.debian-multimedia.org testing main
deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia testing main
deb-src http://www.debian-multimedia.org testing main
deb http://www.debian-multimedia.org unstable main
deb http://ftp.sunet.se/pub/os/Linux/distributions/debian-multimedia unstable main
deb-src http://www.debian-multimedia.org unstable main
# For User-Mode-Linux - Deprecated because Debian is actively updating its UML kernel
#deb http://public.alyz.com debian/
# Ubuntu
#deb http://archive.ubuntu.com/ubuntu feisty main universe multiverse restricted
#deb-src http://archive.ubuntu.com/ubuntu feisty main universe multiverse restricted
# Yzis
#deb http://debian.freenux.org/yzis/ ./
# These are for Ubunty Edgy - Careful!!
#deb http://download.tuxfamily.org/3v1deb edgy beryl-svn
#deb-src http://download.tuxfamily.org/3v1deb edgy beryl-svn
#deb http://snapshot.debian.net/archive pool kdepim
# Beryl
#deb http://download.tuxfamily.org/myberyl/shame/debian-sid/beryl-svn/relatively-stable/ ./
#deb http://debian.beryl-project.org/ etch main
#deb http://download.tuxfamily.org/myberyl/shame/debian-sid/beryl-svn/unstable-daily/ ./
# Snapshot.Debian.Net - KDE
#deb http://snapshot.debian.net/archive pool kdelibs
# RESEARCHUT - APT Repository
deb http://www.researchut.com/packages/ sid main contrib non-free
deb-src http://www.researchut.com/packages/ sid main contrib non-free
#deb http://kernel-archive.buildserver.net/debian-kernel trunk main
# Opera Browser
deb http://deb.opera.com/opera testing non-free
# Debian Kernel Build packages
deb http://kernel-archive.buildserver.net/debian-kernel sid main
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (650, 'unstable'), (500, 'stable'), (450, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-debian (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apt depends on:
ii debian-archive-keyring 2007.02.19-0.1 GnuPG archive keys of the Debian a
ii libc6 2.6-2 GNU C Library: Shared libraries
ii libgcc1 1:4.2-20070712-1 GCC support library
ii libstdc++6 4.2-20070712-1 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: