Package: aptitude
Version: 0.4.11.10-1
Severity: normal

Apt has 'update' hook.

And it works when I run 'sudo apt-get update', but does nothing when I
run 'sudo aptitude update'.

Hook file:

-8<-
Apt
{
        Update
        {
                Pre-Invoke {"/bin/date > /root/1"; };
                Post-Invoke {"/bin/date > /root/2"; };
        };
};
->8-

-- Package-specific info:
aptitude 0.4.11.10 compiled at Sep 14 2008 21:14:50
Compiler: g++ 4.3.2
Compiled against:
  apt version 4.6.0
  NCurses version 5.6
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.6.20080925
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-vdso.so.1 =>  (0x00007fff52dfe000)
        libapt-pkg-libc6.7-6.so.4.6 => /usr/lib/libapt-pkg-libc6.7-6.so.4.6 
(0x00007fdd4a726000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007fdd4a4db000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007fdd4a2d6000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007fdd4a003000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007fdd49d8a000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007fdd49a20000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007fdd49809000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007fdd495ed000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007fdd492e1000)
        libm.so.6 => /lib/libm.so.6 (0x00007fdd4905e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007fdd48e47000)
        libc.so.6 => /lib/libc.so.6 (0x00007fdd48af4000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007fdd488f1000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007fdd486ed000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fdd4a9e6000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.14+b1         Advanced front-end for dpkg
ii  libc6                  2.7-13            GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-3          high-level terminal interface libr
ii  libept0                0.5.25            High-level library for managing De
ii  libgcc1                1:4.3.2-1         GCC support library
ii  libncursesw5           5.6+20080925-1    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.3.2-1           The GNU Standard C++ Library v3
ii  libxapian15            1.0.7-3           Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-doc 0.4.11.9-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output

Versions of packages aptitude suggests:
ii  debtags                       1.7.7      Enables support for package tags
pn  tasksel                       <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to