[Aptitude-devel] Bug#729527: Bug#729527: aptitude says Error: Timeout was reached

Axel Beckert abe at debian.org
Tue Nov 26 12:05:51 UTC 2013


Control: tag -1 + moreinfo

Hi,

thanks for the prompt replies.

Vincent Lefevre wrote:
> On 2013-11-26 10:00:50 +0100, Axel Beckert wrote:
> > At least I haven't this issue on any of my machine, so I suspect
> > either a mirror or an APT hook issue. Since Vincent and shirish come
> > from at least different cultures, I expect they use different mirrors,
> > hence this is likely not a mirror issue. (Vincent: Can you still tell
> > us which mirror you use?) Leaves APT hooks.
> 
> I don't use a mirror (I had some problems with French mirrors):
> 
> deb http://ftp.debian.org/debian/ wheezy main contrib non-free
> deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free

Well, actually ftp.debian.org is a mirror, too. Currently points to
some mirror in the Netherlands. At least from here.

Anyway, thanks for that information. So you both are definitely using
different mirrors.

> > ls -1 /etc/apt/apt.conf.d/
> 
> 00trustcdrom
> 01autoremove
> 01autoremove-kernels
> 10apt
> 10apt-listbugs
> 10aptitude
> 20apt-show-versions
> 20listchanges
> 20packagekit
> 70debconf

shirish शिरीष wrote:
> $ ls -1 /etc/apt/apt.conf.d/
> 00CDMountPoint
> 00trustcdrom
> 01autoremove
> 01autoremove-kernels
> 10apt-listbugs
> 10periodic
> 15update-stamp
> 20adequate
> 20adequate.bak
> 20apt-show-versions
> 20archive
> 20dbus
> 20listchanges
> 20packagekit
> 50unattended-upgrades
> 70debconf
> 99update-notifier

Thanks!

So the common ones are these:

00trustcdrom
01autoremove
01autoremove-kernels
10apt-listbugs
20apt-show-versions
20listchanges
20packagekit
70debconf

Of these only two do network-ish stuff.

20packagekit interacts with DBus, so I can imagine it to cause such an
error message.

Can you check if the following command provokes this error message?

/usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 1 --method org.freedesktop.PackageKit.StateHasChanged cache-update

The only one of these which AFAIK downloads stuff from the net is
10apt-listbugs. (apt-listchanges seems to just work on .debs and not
downloading changeslogs.) Fits at least as I don't use this package
and never ran into that issue. Nevertheless, apt-listbugs works fine
here at the moment, even if I call it with all installed packages.

In case it wasn't 20packagekit and you still have these timeouts,
please try to disable 10apt-listbugs for a while (e.g. by renaming,
moving somewhere else, commenting out its contents or removing
apt-listbugs) and check if the problem persists.

TIA!

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



More information about the Aptitude-devel mailing list