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

Bug#595691: marked as done (apt-get updates stalls forever if some files on mirror have 0 bytes)



Your message dated Tue, 07 Sep 2010 07:17:13 +0000
with message-id <E1OssQb-0005p7-NG@franck.debian.org>
and subject line Bug#595691: fixed in apt 0.8.2
has caused the Debian Bug report #595691,
regarding apt-get updates stalls forever if some files on mirror have 0 bytes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
595691: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595691
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.8.1
Severity: normal

Hi,

some files on http://www.debian-multimedia.org have 0 bytes (specifically e.g.
http://www.debian-multimedia.org/dists/sid/non-free/i18n/*) and apt-get update
stalls with... 

Get:10 http://www.debian-multimedia.org sid/non-free i386 Packages [5.738B]
99% [5 Translation-en bzip2 0B]                  

.... forever (did look like a loop). I had a look with strace and gdb and realised
a little while after the files mentioned had 0 bytes on the mirror.
I know this mirror is not an official one, but I consider this a bug in apt, as
for whatever reason a mirror could be somewhat broken and apt should time-out at
least eventually, give an error message about the problem itself or (worst
solution) ignore the brokenness (if possible in a reasonable manner)

regards
Michael

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
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::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";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "/var/lib/apt/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]+$";
Unattended-Upgrade "";
Unattended-Upgrade::Allowed-Origins "";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} stable";
Unattended-Upgrade::Allowed-Origins:: "${distro_id} ${distro_codename}-security";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
DPkg::Post-Invoke "";
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 file:///mnt/mirror/debian sid main contrib non-free
deb http://ftp.de.debian.org/debian experimental main
deb http://ftp.de.debian.org/debian sid main
deb http://www.debian-multimedia.org sid main non-free

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-trunk-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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.10-4         GNU privacy guard - a free PGP rep
ii  libc6                   2.11.2-4         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.4-12       GCC support library
ii  libstdc++6              4.4.4-12         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-3.1    terminal-based package manager (te
ii  bzip2                       1.0.5-4      high-quality block-sorting file co
pn  dpkg-dev                    <none>       (no description available)
ii  lzma                        4.43-14      Compression method of 7z format in
ii  python-apt                  0.7.97.1     Python interface to libapt-pkg
ii  synaptic                    0.70~pre1+b1 Graphical package manager

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.8.2

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive:

apt-doc_0.8.2_all.deb
  to main/a/apt/apt-doc_0.8.2_all.deb
apt-transport-https_0.8.2_i386.deb
  to main/a/apt/apt-transport-https_0.8.2_i386.deb
apt-utils_0.8.2_i386.deb
  to main/a/apt/apt-utils_0.8.2_i386.deb
apt_0.8.2.dsc
  to main/a/apt/apt_0.8.2.dsc
apt_0.8.2.tar.gz
  to main/a/apt/apt_0.8.2.tar.gz
apt_0.8.2_i386.deb
  to main/a/apt/apt_0.8.2_i386.deb
libapt-pkg-dev_0.8.2_i386.deb
  to main/a/apt/libapt-pkg-dev_0.8.2_i386.deb
libapt-pkg-doc_0.8.2_all.deb
  to main/a/apt/libapt-pkg-doc_0.8.2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 595691@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Vogt <mvo@debian.org> (supplier of updated apt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 06 Sep 2010 18:10:06 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all i386
Version: 0.8.2
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Michael Vogt <mvo@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 523919 595428 595557 595691
Changes: 
 apt (0.8.2) unstable; urgency=low
 .
   [ Manpages translations ]
   * Spanish (Omar Campagne). Closes: #595557
 .
   [ David Kalnischkies ]
   * apt-pkg/versionmatch.cc:
     - do not accept 'Pin: origin "' (missing closing ") as a valid
       way to pin a local archive: either "" or none…
   * apt-pkg/deb/dpkgpm.cc:
     - create Dir::Log if needed to support /var/log as tmpfs or similar,
       inspired by Thomas Bechtold, thanks! (Closes: #523919, LP: #220239)
   * apt-pkg/indexcopy.cc:
     - support really still the APT::GPGV::TrustedKeyring setting,
       as it breaks d-i badly otherwise (Closes: #595428)
   * cmdline/apt-key:
     - support also Dir::Etc::Trusted so that apt-key works in the same
       way as the library part which works with the trusted files
   * methods/{gzip,bzip2}.cc:
     - empty files can never be valid archives (Closes: #595691)
Checksums-Sha1: 
 f6c0cb1eca0eb01c2e6c4ea06fe92cf98ec4a75d 1282 apt_0.8.2.dsc
 b6efe28aa762616cde7a055fbb5bea849fa548bf 3048455 apt_0.8.2.tar.gz
 0b2ae8036ee91bba69e3193d994767073bd5feb4 202894 apt-doc_0.8.2_all.deb
 e9f0eb677c4f427f470c0cbb67824b5efd5c44c1 688290 libapt-pkg-doc_0.8.2_all.deb
 24859da4c730cc54983a7ccbadb6eb1096c64ee8 2040782 apt_0.8.2_i386.deb
 1b97d3b5602cb7d76f1d5739a50af8d06501a0f6 148456 libapt-pkg-dev_0.8.2_i386.deb
 59f605fbdc36416c330574b84db28b1f00570b69 257076 apt-utils_0.8.2_i386.deb
 5560a040b7991fcae84a65cd6cf9411e77090415 80314 apt-transport-https_0.8.2_i386.deb
Checksums-Sha256: 
 600677a5250f64ed2ad1d4aa2560cdfb75bb7e7f72e65a5e0811b26886ca369e 1282 apt_0.8.2.dsc
 e578816160d8cfa30d6b6d68b607696b3c6ba9d9444cf2fc03c368d9570036ff 3048455 apt_0.8.2.tar.gz
 a206ffa1e252b054dc40a19ff73ef0ca50741ef9fc330cd12b0be3d265753c5f 202894 apt-doc_0.8.2_all.deb
 01447f23367f8e0737d9f0091acb66713c5f11fa6434c6558b474d396ec363af 688290 libapt-pkg-doc_0.8.2_all.deb
 3a0d4440a6d9321683bef02aa4d4327f72a456f3cb8c02b388d3f13d9c30929c 2040782 apt_0.8.2_i386.deb
 7695fd93dec6a06c4d646fa798a6f21ecd48e8704f114d6c148f7cc51942b20c 148456 libapt-pkg-dev_0.8.2_i386.deb
 001d718ac7bdce08b9ecfa9e10241e37bcf1f77dd8e33150e2d77c2be73615b4 257076 apt-utils_0.8.2_i386.deb
 f1a9686ae78b3dc3baf8a25b384f6404df1ad053680399fb6da4362e438e9e01 80314 apt-transport-https_0.8.2_i386.deb
Files: 
 51fd12d679c893ca207293f8b5f80338 1282 admin important apt_0.8.2.dsc
 7f53488b016e98a4327ac578b62e2f3c 3048455 admin important apt_0.8.2.tar.gz
 da9ab700c9e4a2026ebd29362816b8dc 202894 doc optional apt-doc_0.8.2_all.deb
 85ba1e167c9a682d5f98908a584a2f9b 688290 doc optional libapt-pkg-doc_0.8.2_all.deb
 26d647aa0bc8939e1b4ed8639e8d87fc 2040782 admin important apt_0.8.2_i386.deb
 c639227003299c981fde8fd6ba339a04 148456 libdevel optional libapt-pkg-dev_0.8.2_i386.deb
 aee8808156cbc04bf22e8e9bc4c84cea 257076 admin important apt-utils_0.8.2_i386.deb
 038a483983836dce58caa861e3085b4a 80314 admin optional apt-transport-https_0.8.2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkyFH4cACgkQliSD4VZixzSoLQCfeTTk/9m1vgmF3gwyY47dH2eE
qlwAoJcyhzSuvy2j8IM1r9Hh/uKNMU30
=uiYB
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: