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

Vincent Lefevre vincent at vinc17.net
Tue Nov 26 10:11:00 UTC 2013


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

deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

deb http://ftp.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.debian.org/debian/ testing main contrib non-free

deb http://ftp.debian.org/debian/ unstable main contrib non-free
deb-src http://ftp.debian.org/debian/ unstable main contrib non-free

deb http://ftp.debian.org/debian/ experimental main
deb-src http://ftp.debian.org/debian/ experimental main

deb file:///var/local/apt ./

> So I'd like to know from both, shirish and Vincent the output of the
> following command:
> 
> ls -1 /etc/apt/apt.conf.d/

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

> If you're ok with it, an additional "cat /etc/apt/apt.conf
> /etc/apt/apt.conf.d/*[^~]" could be shed some additional light on the
> issue.

APT::Authentication::TrustCDROM "true";
APT
{
  NeverAutoRemove
  {
	"^firmware-linux.*";
	"^linux-firmware$";
	"^kfreebsd-image.*";
	"^gnumach$";
	"^gnumach-image.*";
  };

  Never-MarkAuto-Sections
  {
	"metapackages";
	"restricted/metapackages";
	"universe/metapackages";
	"multiverse/metapackages";
	"oldlibs";
	"restricted/oldlibs";
	"universe/oldlibs";
	"multiverse/oldlibs";
  };
};
// File autogenerated by /etc/kernel/postinst.d/apt-auto-removal, do not edit
APT
{
  NeverAutoRemove
  {
    "^linux-image-3.11-1-amd64$";
    "^linux-image-extra-3.11-1-amd64$";
    "^linux-signed-image-3.11-1-amd64$";
    "^linux-backports-modules-.*-3.11-1-amd64$";
    "^linux-headers-3.11-1-amd64$";
    "^linux-image-3.11-2-amd64$";
    "^linux-image-extra-3.11-2-amd64$";
    "^linux-signed-image-3.11-2-amd64$";
    "^linux-backports-modules-.*-3.11-2-amd64$";
    "^linux-headers-3.11-2-amd64$";
  };
};
APT::Cache-Limit 67108864;
// $Id: 10apt 61049 2013-06-10 23:10:51Z vinc17/xvii $
// Before installing packages, check whether they have release-critical
// or security bugs.
DPkg::Pre-Install-Pkgs
{
  "/usr/sbin/apt-listbugs apt";
  "/usr/sbin/apt-listbugs apt -T security -s all";
};
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "3";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::InfoFD "20";
AptListbugs::Severities "critical,grave,serious";
AptListbugs::IgnoreRegexp "FTBFS";
// $Id: 10apt-listbugs 63984 2013-10-06 15:39:15Z vinc17/xvii $
Aptitude::UI::Package-Display-Format "%c%a%M %p %Z %24v %24V";
// $Id: 10aptitude 12822 2006-06-22 13:34:46Z lefevre $
// When Apt's cache is updated (i.e. apt-cache update)
APT::Update::Post-Invoke-Success {
"test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
};
DPkg::Pre-Install-Pkgs { "/usr/bin/apt-listchanges --apt"; };
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
// THIS FILE IS USED TO INFORM PACKAGEKIT
// THAT THE UPDATE-INFO MIGHT HAVE CHANGED

// Whenever dpkg is called we might have different updates
// i.e. if an user removes a package that had an update
DPkg::Post-Invoke {
"/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 1 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null";
};

// When Apt's cache is updated (i.e. apt-cache update)
APT::Update::Post-Invoke-Success {
"/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 1 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null";
};
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the Aptitude-devel mailing list