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

Bug#636912: file backend sometimes runs without progress output



Package: apt
Version: 0.8.15.5
Severity: normal

When I configure some file:// urls and they contain some hundreds of
packages to updates, then in one of three-four times I see a plain
[Working] line from apt-get. No progress visible, i.e. no percentage but
the "file" process is very active. I can strace it, it looks like:

read(0, "600 URI Acquire\nURI: file:/tmp/aptfs/pool/main/m/mapnik/libmapnik0.7_0.7.1-6_amd64.deb\nFilename: /var/cache/apt/archives/partial/libmapnik0.7_0.7.1-6_amd64.deb\n\n", 64000) = 161
stat("/tmp/aptfs/pool/main/m/mapnik/libmapnik0.7_0.7.1-6_amd64.deb", {st_mode=S_IFREG|0644, st_size=1025934, ...}) = 0
open("/tmp/aptfs/pool/main/m/mapnik/libmapnik0.7_0.7.1-6_amd64.deb", O_RDONLY) = 3
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
...
<dozens of read calls>
...
write(1, "201 URI Done\nURI: file:/tmp/aptfs/pool/main/m/mapnik/libmapnik0.7_0.7.1-6_amd64.deb\nFilename: /tmp/aptfs/pool/main/m/mapnik/libmapnik0.7_0.7.1-6_amd64.deb\nSize: 1025934\nLast-Modified: Sun, 31 Jul 2011 14:50:03 GMT\nMD5-Hash: e2ba83b8812b79097871227944e23940\nMD5Sum-Hash: e2ba83b8812b79097871227944e23940\nSHA1-Hash: 407a4f803c0d41a3e17c3dc8e8907b42642a2fd8\nSHA256-Hash: 99a60f844ae6f2b119c5658b4b1ac20ac6faf95b69b9c726668bd593be2e2bcf\n\n", 434) = 434
close(3)

That is okay and looks reasonable but PLEASE display the progress.
Sometimes it works, and sometimes it looks like it gets stuck for
minutes (because of the slow filesystem where it reads from).

Regards,
Eduard.

-- Package-specific info:

-- /etc/apt/preferences --


-- (/etc/apt/sources.list present, but not submitted) --


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

Kernel: Linux 3.0.0-rc6-amd64 (SMP w/4 CPU cores)
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.11-3         GNU privacy guard - a free PGP rep
ii  libc6                   2.13-7           Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.6.0-14       GCC support library
ii  libstdc++6              4.6.0-14         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.14.1   Documentation for APT
ii  aptitude                      0.6.4-1    terminal-based package manager (te
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
ii  python-apt                    0.8.0      Python interface to libapt-pkg
ii  synaptic                      0.75.2     Graphical package manager

-- no debconf information

-- 
* Cord doesn't have to pay for sex. only for RAM :-P



Reply to: