Bug#639964: apt: regression from 0.8.15.5: sources with no component give error processing Release file
Package: apt
Version: 0.8.15.6
Severity: important
As of apt 0.8.15.6, sources.list entries that use the "deb http://... path/"
format instead of the "deb http://... release component" format fail (for
me).
For example, I have the following entries in my sources.list:
deb-src http://iguanaworks.net/downloads/debian source/
deb http://iguanaworks.net/downloads/debian binary-amd64/
With apt 0.8.15.5, apt-get update reports no errors. With apt 0.8.15.6, I
get these errors:
W: Failed to fetch http://iguanaworks.net/downloads/debian/source/Release
Unable to find expected entry 'Sources' in Release file (Wrong sources.list
entry or malformed file)
W: Failed to fetch
http://iguanaworks.net/downloads/debian/binary-amd64/Release Unable to find
expected entry 'Packages' in Release file (Wrong sources.list entry or
malformed file)
The latter Release file currently looks like this:
Archive: karmic
Component: contrib
Origin: IguanaWorks
Label: IguanaWorks Debian/Ubuntu Repository
Architecture: amd64
Which is the same set of keys that the ftp.us.debian.org Release file(s)
have AFAICT.
>From searching around, I'm wondering if this may be related to an older
(fixed) bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622250
-- Package-specific info:
-- apt-config dump --
APT "";
APT::Architecture "amd64";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "0";
APT::Install-Suggests "0";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^kfreebsd-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::NeverAutoRemove:: "^linux-ubuntu-modules-.*";
APT::NeverAutoRemove:: "^gnumach$";
APT::NeverAutoRemove:: "^gnumach-image.*";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Never-MarkAuto-Sections:: "oldlibs";
APT::Never-MarkAuto-Sections:: "restricted/oldlibs";
APT::Never-MarkAuto-Sections:: "universe/oldlibs";
APT::Never-MarkAuto-Sections:: "multiverse/oldlibs";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
APT::Default-Release "testing";
APT::Architectures "";
APT::Architectures:: "amd64";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
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::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Acquire "";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::http "";
Acquire::http::timeout "10";
Acquire::ftp "";
Acquire::ftp::timeout "10";
Acquire::Retries "3";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
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";
CommandLine "";
CommandLine::AsString "apt-config dump";
-- (no /etc/apt/preferences present) --
-- /etc/apt/sources.list --
# testing
deb http://ftp.us.debian.org/debian/ testing main non-free contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free contrib
# unstable
deb http://ftp.us.debian.org/debian/ unstable main non-free contrib
deb-src http://ftp.us.debian.org/debian/ unstable main non-free contrib
# experimental
#deb http://ftp.us.debian.org/debian/ experimental main non-free contrib
#deb-src http://ftp.us.debian.org/debian/ experimental main non-free contrib
# security/testing (usually dead)
#deb http://security.debian.org/ testing/updates main contrib non-free
#deb-src http://security.debian.org/ testing/updates main contrib non-free
# media packages
deb http://www.debian-multimedia.org unstable main non-free
deb-src http://www.debian-multimedia.org unstable main non-free
# iguana IR
deb-src http://iguanaworks.net/downloads/debian source/
deb http://iguanaworks.net/downloads/debian binary-amd64/
# local packages
deb file:/usr/src/debian/repository/ sid main contrib non-free
deb-src file:/usr/src/debian/repository/ sid main contrib non-free
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.39.1-1 (SMP w/12 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 2010.08.28 GnuPG archive keys of the Debian a
ii gnupg 1.4.11-3 GNU privacy guard - a free PGP rep
ii libc6 2.13-16 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.6.1-4 GCC support library
ii libstdc++6 4.6.1-4 GNU Standard C++ Library v3
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
apt recommends no packages.
Versions of packages apt suggests:
ii apt-doc 0.8.15.6 Documentation for APT
pn aptitude | synaptic | wajig <none> (no description available)
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii dpkg-dev 1.16.0.3 Debian package development tools
ii lzma 4.43-14 Compression method of 7z format in
pn python-apt <none> (no description available)
-- no debconf information
Reply to: