Your message dated Sat, 8 Feb 2014 11:39:13 +0000
with message-id 
<capq4b8n-jdevwn-cbf0zo0pb4a+s3tohega0ffmpctfptqr...@mail.gmail.com>
and subject line aptitude: debsums takes 3 minutes CPU time when packages added 
or removed
has caused the Debian Bug report #592341,
regarding aptitude: debsums takes 3 minutes CPU time when packages added or 
removed
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 [email protected]
immediately.)


-- 
592341: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.6.3-3
Severity: normal


Hi, after discovering a corrupt package on my system, someone recommended
installing debsums. However, on this machine, a PII-266, debsums takes 
3 minutes of CPU time every time any package is added, removed or updated
using aptitude.

Should debsums be taking so long when called by aptitude?

-- Package-specific info:
aptitude 0.6.3 compiled at Jul 10 2010 21:52:22
Compiler: g++ 4.4.4
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100313
  cwidget version: 0.5.16
  Apt version: 4.8.0
        linux-gate.so.1 =>  (0xb77fa000)
        libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0x410aa000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x41214000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x41052000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x413b0000)
        libept.so.1 => /usr/lib/libept.so.1 (0x41171000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x4125c000)
        libz.so.1 => /usr/lib/libz.so.1 (0x420f9000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x43f7a000)
        libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 
(0x4101f000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0x420de000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4224e000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0x420b0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4222e000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0x41f67000)
        libutil.so.1 => /lib/i686/cmov/libutil.so.1 (0x41d1f000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0x420d8000)
        libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x42e25000)
        librt.so.1 => /lib/i686/cmov/librt.so.1 (0x41e5f000)
        /lib/ld-linux.so.2 (0x41000000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

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

Kernel: Linux 2.6.35 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.9 0.7.25.3         Advanced front-end for dpkg
ii  libboost-iostreams1.42. 1.42.0-4         Boost.Iostreams Library
ii  libc6                   2.11.2-2         Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept1                 1.0.3            High-level library for managing De
ii  libgcc1                 1:4.4.4-8        GCC support library
ii  libncursesw5            5.7+20100313-2   shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libsqlite3-0            3.7.0-1.1        SQLite 3 shared library
ii  libstdc++6              4.4.4-8          The GNU Standard C++ Library v3
ii  libxapian15             1.0.20-2         Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.38       maintenance tools for a Xapian ind
ii  aptitude-doc-en [aptitude-doc 0.6.3-3    English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2.1  parse Debian changelogs and output
ii  sensible-utils                0.0.4      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
pn  tasksel                       <none>     (no description available)

-- debconf-show failed



--- End Message ---
--- Begin Message ---
Hi,

This was not a bug in aptitude, but in debsums, and should not be present now.

There used to be a file called "90debsums" installed by package
debsums in /etc/apt/* directories, to add a "hook" so that after dpkg
finished this command was called.

There are probably other ways to see the content of that file, but you
can see the relevant contents of the "hook" in this bug report,
including the command line that you see when grepping:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535364

So the fix that you propose would have to be applied in that file (if
the package names installed were available to that hook).


But according to the changelog, in recent versions of debsums they
removed this file:

http://metadata.ftp-master.debian.org/changelogs/main/d/debsums/unstable_changelog

debsums (2.0.52) unstable; urgency=low
[...]
  * Remove the obsolete 90debsums apt configuration file on install
and make the keep option to generate md5sums file using debsums a noop
    - Add dependency on dpkg version 1.16.3, which generates md5sums
 [...]
-- Ryan Niebur <[email protected]>  Mon, 18 Jun 2012 17:55:57 -0700


So I am closing the bug report because it does not seem to have
anything to do with aptitude, and the immediate cause launching the
problematic command was removed (or moved elsewhere).

I add Axel in copy because he was the last person who touched the
package debsums, so maybe he is more familiar with it and can give a
bit of insight if necessary, and e.g. reassign to other package if the
problem is still present but elsewhere.


Cheers.
-- 
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to