Hrm.. etckeeper is run on apt-get remove/purge... In fact it is run as
DPkg::Pre-Invoke and DPkg::Post-Invoke in any APT call.
Just tested:
$ sudo apt-get remove vim
[...]
Suppression de vim ...
Committing to: /etc/
modified .etckeeper
modified alternatives/ex
modified alternatives/rview
missing alternatives/rvim
modified alternatives/rvim
modified alternatives/vi
modified alternatives/view
missing alternatives/vim
modified alternatives/vim
missing alternatives/vimdiff
modified alternatives/vimdiff
Committed revision 2.
This is on maverick, but I'm pretty sure that wasn't changed for Lucid.
** Changed in: etckeeper (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/713704
Title:
etckeeper is not run on apt-get remove or apt-get purge
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs