[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#681103: apt post upgrade hooks



Package: apt
Version: 0.9.7.1

I have some hooks in /etc/apt/apt.conf.d that I want to run after an
apt-get *upgrade, even when there was nothing to upgrade.

The DPkg::Post-Invoke hooks are documented as hooks triggered after
dpkg.
It would be nice to have a mean of running hooks even after that step
(i.e. when apt is done running or not-running dpkg, a kind of
Apt::Post-Invoke).

Please consider it.

Also, i noticed that the DPkg::Post-Invoke hooks are triggered by apt
even when dpkg failed to upgrade stuff (like when a package tries to
overwrite some files from another installed package). I'm not sure it's
the correct behavior (shouldn't apt stop earlier?) as hooks have no way
of knowing something failed before them and the system may be in bad
state.






Reply to: