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

Bug#330393: apt: Errors on Release download failure are baffling



Package: apt
Version: 0.6.41
Severity: normal

I spent half an hour trying to figure out why Apt complained that a bunch of
packages would be updated but were unauthenticated.  It turns out that the
Release.gpg on the server was OK, but the Release file was unreadable
(permission denied).  All apt-get update says after this is "Ign" without
any hint as to why it's ignoring the file.

An error message, maybe even "could not fetch", would be nicer...

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
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::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/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/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";

-- (no /etc/apt/preferences present) --


-- /etc/apt/sources.list --

#deb cdrom:[Debian GNU/Linux 3.1 r0a _Sarge_ - Official amd64 Binary-1 (20050613)]/ unstable contrib main

deb http://security.debian.org/ stable/updates main contrib

# AMD64 archive - currently flaky - 20050903
deb http://debian.csail.mit.edu/debian-amd64/debian/ unstable main contrib
deb-src http://debian.csail.mit.edu/debian-amd64/debian/ unstable main contrib

## AMD64 archive
#deb http://mirror.espri.arizona.edu/debian-amd64/debian/ unstable main contrib
#deb-src http://mirror.espri.arizona.edu/debian-amd64/debian/ unstable main contrib

# Java (Blackdown)
deb ftp://ftp.tux.org/java/debian/ sarge non-free

# Mplayer (Christian Marillat's packages)
#deb http://cyberspace.ucla.edu/marillat/ sid main
deb http://spello.sscnet.ucla.edu/marillat/ sid main

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc6
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apt depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libgcc1                       1:4.0.1-7  GCC support library
ii  libstdc++6                    4.0.1-7    The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Reply to: