Debian Bug report logs - #622250
apt-get update fails mysteriously

version graph

Package: apt; Maintainer for apt is APT Development Team <deity@lists.debian.org>; Source for apt is src:apt (PTS, buildd, popcon).

Reported by: Raphaël Hertzog <hertzog@debian.org>

Date: Mon, 11 Apr 2011 14:24:03 UTC

Severity: grave

Found in version apt/0.8.13.2

Fixed in version apt/0.8.14

Done: Julian Andres Klode <jak@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#622250; Package apt. (Mon, 11 Apr 2011 14:24:06 GMT) (full text, mbox, link).


Acknowledgement sent to Raphaël Hertzog <hertzog@debian.org>:
New Bug report received and forwarded. Copy sent to APT Development Team <deity@lists.debian.org>. (Mon, 11 Apr 2011 14:24:10 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Raphaël Hertzog <hertzog@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: apt-get update fails mysteriously
Date: Mon, 11 Apr 2011 11:36:16 +0200
Package: apt
Version: 0.8.13.2
Severity: grave
Justification: renders package unusable

I get this:
$ LANG=C sudo apt-get update
Hit http://nas unstable InRelease
Hit http://nas wheezy InRelease                           
Hit http://ftp.fr.debian.org experimental InRelease                                         
Hit http://nas wheezy/updates InRelease                                        
Ign http://nas squeeze InRelease                             
Hit http://nas unstable/main Sources
Hit http://nas unstable/contrib Sources
Hit http://nas unstable/non-free Sources
Hit http://nas squeeze Release.gpg
Hit http://nas squeeze Release
W: Failed to fetch http://nas/debian/dists/unstable/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://nas/debian/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://nas:9999/security/dists/wheezy/updates/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ftp.fr.debian.org/debian/dists/experimental/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://nas/debian/dists/squeeze/Release  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.


If I downgrade back to 0.8.13.1 it works fine. It looks like it misses the
architecture information...


-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "true";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::Authentication "";
APT::Authentication::TrustCDROM "true";
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::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::Periodic "";
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::AutocleanInterval "0";
APT::Update "";
APT::Update::Post-Invoke "";
APT::Update::Post-Invoke:: "touch /var/lib/apt/periodic/update-success-stamp 2>/dev/null || true";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "[ ! -f /var/run/dbus/system_bus_socket ] || /usr/bin/dbus-send --system --dest=org.debian.apt --type=signal /org/debian/apt org.debian.apt.CacheChanged || true";
APT::Archives "";
APT::Archives::MaxAge "30";
APT::Archives::MinAge "2";
APT::Archives::MaxSize "500";
APT::Get "";
APT::Get::Build-Dep-Automatic "true";
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::Pdiffs "false";
Unattended-Upgrade "";
Unattended-Upgrade::Origins-Pattern "";
Unattended-Upgrade::Origins-Pattern:: "origin=Debian,label=Debian-Security,archive=stable";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
DPkg::Post-Invoke:: "if [ -d /var/lib/update-notifier ]; then touch /var/lib/update-notifier/dpkg-run-stamp; fi; if [ -e /var/lib/update-notifier/updates-available ]; then echo > /var/lib/update-notifier/updates-available; fi ";
CommandLine "";
CommandLine::AsString "apt-config dump";

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


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


deb http://nas/debian unstable main contrib non-free
deb-src http://nas/debian unstable main contrib non-free

deb http://nas/debian wheezy main contrib non-free
#deb-src http://nas/debian wheezy main contrib non-free
deb http://nas:9999/security wheezy/updates main

deb http://nas/debian squeeze main contrib non-free
#deb-src http://nas/debian squeeze main contrib non-free
#deb http://nas:9999/security squeeze/updates main

#deb http://nas/debian lenny main contrib non-free
#deb-src http://nas/debian lenny main contrib non-free
#deb http://nas:9999/security lenny/updates main

deb http://ftp.fr.debian.org/debian experimental main contrib non-free
#deb http://nas/debian experimental main contrib non-free

# Kernels
#deb http://kernel-archive.buildserver.net/debian-kernel trunk main
#deb-src http://kernel-archive.buildserver.net/debian-kernel trunk main

# Bepo
#deb http://download.tuxfamily.org/dvorak/debian sid main

#deb http://security.debian.org/ lenny/updates main
#deb-src http://security.debian.org/ lenny/updates main

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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.11.2-11        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.6.0-2        GCC support library
ii  libstdc++6              4.6.0-2          The 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:
pn  apt-doc                       <none>     (no description available)
ii  aptitude                      0.6.3-4    terminal-based package manager (te
ii  bzip2                         1.0.5-6    high-quality block-sorting file co
ii  dpkg-dev                      1.16.1     Debian package development tools
ii  lzma                          4.43-14    Compression method of 7z format in
ii  python-apt                    0.7.100.3  Python interface to libapt-pkg
ii  synaptic                      0.75.1     Graphical package manager

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, APT Development Team <deity@lists.debian.org>:
Bug#622250; Package apt. (Fri, 15 Apr 2011 15:12:03 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Andres Klode <jak@debian.org>:
Extra info received and forwarded to list. Copy sent to APT Development Team <deity@lists.debian.org>. (Fri, 15 Apr 2011 15:12:03 GMT) (full text, mbox, link).


Message #10 received at 622250@bugs.debian.org (full text, mbox, reply):

From: Julian Andres Klode <jak@debian.org>
To: Raphaël Hertzog <hertzog@debian.org>, 622250@bugs.debian.org
Subject: Re: Bug#622250: apt-get update fails mysteriously
Date: Fri, 15 Apr 2011 17:08:57 +0200
Source: apt
Source-Version: 0.8.14

On Mo, 2011-04-11 at 11:36 +0200, Raphaël Hertzog wrote:
> Package: apt
> Version: 0.8.13.2
> Severity: grave
> Justification: renders package unusable
> 
> I get this:
> $ LANG=C sudo apt-get update
> Hit http://nas unstable InRelease
> Hit http://nas wheezy InRelease                           
> Hit http://ftp.fr.debian.org experimental InRelease                                         
> Hit http://nas wheezy/updates InRelease                                        
> Ign http://nas squeeze InRelease                             
> Hit http://nas unstable/main Sources
> Hit http://nas unstable/contrib Sources
> Hit http://nas unstable/non-free Sources
> Hit http://nas squeeze Release.gpg
> Hit http://nas squeeze Release
> W: Failed to fetch http://nas/debian/dists/unstable/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas/debian/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas:9999/security/dists/wheezy/updates/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://ftp.fr.debian.org/debian/dists/experimental/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas/debian/dists/squeeze/Release  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> E: Some index files failed to download. They have been ignored, or old ones used instead.
> 
> 
> If I downgrade back to 0.8.13.1 it works fine. It looks like it misses the
> architecture information...

This problem was related to a new feature in dpkg which APT used
slightly incorrectly. It's fixed in 0.8.14.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.






Reply sent to Julian Andres Klode <jak@debian.org>:
You have taken responsibility. (Fri, 15 Apr 2011 15:12:10 GMT) (full text, mbox, link).


Notification sent to Raphaël Hertzog <hertzog@debian.org>:
Bug acknowledged by developer. (Fri, 15 Apr 2011 15:12:10 GMT) (full text, mbox, link).


Message #15 received at 622250-close@bugs.debian.org (full text, mbox, reply):

From: Julian Andres Klode <jak@debian.org>
To: 622250-close@bugs.debian.org
Subject: Re: Bug#622250: apt-get update fails mysteriously
Date: Fri, 15 Apr 2011 17:09:39 +0200
Source: apt
Source-Version: 0.8.14

On Mo, 2011-04-11 at 11:36 +0200, Raphaël Hertzog wrote:
> Package: apt
> Version: 0.8.13.2
> Severity: grave
> Justification: renders package unusable
> 
> I get this:
> $ LANG=C sudo apt-get update
> Hit http://nas unstable InRelease
> Hit http://nas wheezy InRelease                           
> Hit http://ftp.fr.debian.org experimental InRelease                                         
> Hit http://nas wheezy/updates InRelease                                        
> Ign http://nas squeeze InRelease                             
> Hit http://nas unstable/main Sources
> Hit http://nas unstable/contrib Sources
> Hit http://nas unstable/non-free Sources
> Hit http://nas squeeze Release.gpg
> Hit http://nas squeeze Release
> W: Failed to fetch http://nas/debian/dists/unstable/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas/debian/dists/wheezy/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas:9999/security/dists/wheezy/updates/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://ftp.fr.debian.org/debian/dists/experimental/InRelease  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> W: Failed to fetch http://nas/debian/dists/squeeze/Release  Unable to find expected entry 'main/binary-/Packages' in Release file (Wrong sources.list entry or malformed file)
> 
> E: Some index files failed to download. They have been ignored, or old ones used instead.
> 
> 
> If I downgrade back to 0.8.13.1 it works fine. It looks like it misses the
> architecture information...

This problem was related to a new feature in dpkg which APT used
slightly incorrectly. It's fixed in 0.8.14.


-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.







Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 14 May 2011 07:38:46 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jun 4 20:52:41 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.