[Aptitude-devel] Bug#834790: aptitude hangs at "Loading cache" when unable to download package list

Debian BTS debbugs at buxtehude.debian.org
Mon Oct 10 19:45:03 UTC 2016

i can confirm the problem.
in my case it turned out that the problem was a line adding videolan.org to the
Reply-To: IOhannes m zmoelnig <umlaeute at debian.org>, 834790 at bugs.debian.org
Resent-From: IOhannes m zmoelnig <umlaeute at debian.org>
Resent-To: debian-bugs-dist at lists.debian.org
Resent-CC: Aptitude Development Team <aptitude-devel at lists.alioth.debian.org>
X-Loop: owner at bugs.debian.org
Resent-Date: Mon, 10 Oct 2016 19:45:01 +0000
Resent-Message-ID: <handler.834790.B834790.147612864325751 at bugs.debian.org>
Resent-Sender: owner at bugs.debian.org
X-Debian-PR-Message: followup 834790
X-Debian-PR-Package: aptitude
X-Debian-PR-Keywords: moreinfo
X-Debian-PR-Source: aptitude
Received: via spool by 834790-submit at bugs.debian.org id=B834790.147612864325751
          (code B ref 834790); Mon, 10 Oct 2016 19:45:01 +0000
Received: (at 834790) by bugs.debian.org; 10 Oct 2016 19:44:03 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Status: No, score=-11.4 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 287; spammy,
	0. spammytokens: hammytokens:0.000-+--followup-for, 0.000-+--followupfor,
	0.000-+--FollowupFor, 0.000-+--Followup-For, 0.000-+--H*M:reportbug
Received: from umlaeute.mur.at ([])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <umlaeute at debian.org>)
	id 1btgUV-0006gk-5e
	for 834790 at bugs.debian.org; Mon, 10 Oct 2016 19:44:03 +0000
Received: from 84-115-133-23.cable.dynamic.surfer.at ([] helo=umlautQ)
	by umlaeute.mur.at with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.84_2)
	(envelope-from <umlaeute at debian.org>)
	id 1btgSa-000700-D7; Mon, 10 Oct 2016 21:42:04 +0200
Received: from zmoelnig by umlautQ with local (Exim 4.87)
	(envelope-from <umlaeute at debian.org>)
	id 1btgUL-0001oI-Mg; Mon, 10 Oct 2016 21:43:53 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: IOhannes m zmoelnig <umlaeute at debian.org>
To: Debian Bug Tracking System <834790 at bugs.debian.org>
  deb http: //download.videolan.org/pub/debian/stable/ /
  deb-src http: //download.videolan.org/pub/debian/stable/ /
Message-ID: <147612863369.25640.14725361702672501078.reportbug at umlautQ.umlaeute.mur.at>
X-Mailer: reportbug 6.6.6
Date: Mon, 10 Oct 2016 21:43:53 +0200

Package: aptitude
Version: 0.8.3-1+b1
Followup-For: Bug #834790

and i had not installed the appropriate signing key (6BCA5E4DB84288D9), as it
seems to be not available via a keyserver.
after installing the key the problem went away.

as for the bugginess: i do think that this new behaviour is really a problem.
in an ordinary 'update' run, aptitude did not show any error message at the time
when the "Loading cache" stalled.
it might have shown a *volatile* error message while (not) validating the
unsigned Release file, but i don't know as the screen get's blanked before
"Loading cache" so i never really get to see the error message.

also the "Loading cache" usually takes a while, so at first glance everything
looks ok (it's only 5 minutes later when it still says "Loading cache" that
things get worrying). i think a plain exit() would be better in case of
unhandled fatal errors.


-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude

aptitude version information:
aptitude 0.8.3
Compiler: g++ 6.2.0 20160914
Compiled against:
  apt version 5.0.0
  NCurses version 6.0
  libsigc++ version: 2.10.0
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 6.0.20160917
  cwidget version: 0.5.17
  Apt version: 5.0.0

aptitude linkage:
	linux-vdso.so.1 (0x00007ffc87905000)
	libapt-pkg.so.5.0 => /usr/lib/x86_64-linux-gnu/libapt-pkg.so.5.0 (0x00007fa9b1bc2000)
	libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 (0x00007fa9b1992000)
	libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fa9b1768000)
	libsigc-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libsigc-2.0.so.0 (0x00007fa9b1561000)
	libcwidget.so.3 => /usr/lib/x86_64-linux-gnu/libcwidget.so.3 (0x00007fa9b1264000)
	libsqlite3.so.0 => /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 (0x00007fa9b0f5f000)
	libboost_iostreams.so.1.61.0 => /usr/lib/x86_64-linux-gnu/libboost_iostreams.so.1.61.0 (0x00007fa9b0d47000)
	libboost_filesystem.so.1.61.0 => /usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.61.0 (0x00007fa9b0b2e000)
	libboost_system.so.1.61.0 => /usr/lib/x86_64-linux-gnu/libboost_system.so.1.61.0 (0x00007fa9b092a000)
	libxapian.so.30 => /usr/lib/x86_64-linux-gnu/libxapian.so.30 (0x00007fa9b051e000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa9b0301000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa9aff7e000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa9afc7a000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa9afa63000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa9af6c5000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa9af4c1000)
	libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fa9af2aa000)
	libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa9af08d000)
	libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007fa9aee7d000)
	liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fa9aec5a000)
	liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007fa9aea48000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa9ae840000)
	libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fa9ae639000)
	/lib64/ld-linux-x86-64.so.2 (0x000055d9c88b4000)

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

Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages aptitude depends on:
ii  aptitude-common            0.8.3-1
ii  libapt-pkg5.0              1.3.1
ii  libboost-filesystem1.61.0  1.61.0+dfsg-2.1+b1
ii  libboost-iostreams1.61.0   1.61.0+dfsg-2.1+b1
ii  libboost-system1.61.0      1.61.0+dfsg-2.1+b1
ii  libc6                      2.24-3
ii  libcwidget3v5              0.5.17-4+b1
ii  libgcc1                    1:6.2.0-5
ii  libncursesw5               6.0+20160917-1
ii  libsigc++-2.0-0v5          2.10.0-1
ii  libsqlite3-0               3.14.2-1
ii  libstdc++6                 6.2.0-5
ii  libtinfo5                  6.0+20160917-1
ii  libxapian30                1.4.0-2

Versions of packages aptitude recommends:
iu  libparse-debianchangelog-perl  1.2.0-11
ii  sensible-utils                 0.0.9

Versions of packages aptitude suggests:
ii  apt-xapian-index                0.48
pn  aptitude-doc-en | aptitude-doc  <none>
ii  debtags                         2.1.2
ii  tasksel                         3.36

-- no debconf information

More information about the Aptitude-devel mailing list