Package: dpkg
Version: 1.17.1
Severity: important

When package is installed the triggers are processed:

  > sudo env LC_ALL=C aptitude install zsh-doc
  The following NEW packages will be installed:
    zsh-doc
  0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
  Selecting previously unselected package zsh-doc.
  Unpacking zsh-doc (from .../zsh-doc_5.0.2-5_all.deb) ...
  Processing triggers for install-info ...
  install-info: warning: no info dir entry in `/usr/share/info/smbc.info.gz'
  Processing triggers for doc-base ...
  Processing 1 changed doc-base file...
       (note:  ^^^^^^^  should be `added', but it actually was
        re-installation of the package after its prior removal)

But when packages is removed, no trigger is run:

  > sudo env LC_ALL=C aptitude remove zsh-doc
  The following packages will be REMOVED:
    zsh-doc
  0 packages upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
  Removing zsh-doc ...


Not running triggers on package removal means that package that
registers the trigger cannot undo actions that it done during
installation (in the above example  zsh-doc doc-base's documentation
didn't get unregistered).

Regards,
robert


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (200, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/1 CPU core)
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-5
ii  libc6        2.17-93
ii  liblzma5     5.1.1alpha+20120614-2
ii  libselinux1  2.1.13-3
ii  tar          1.26+dfsg-10
ii  zlib1g       1:1.2.8.dfsg-1

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  0.9.11.4

-- Configuration Files:
/etc/dpkg/dpkg.cfg changed [not included]

-- no debconf information

Attachment: signature.asc
Description: Digital signature

Reply via email to