Bug#108983: Post-Invoke should be after postinst handling
Package: apt
Version: 0.5.3
Severity: normal
Hi!
I took a look at the /usr/share/doc/apt/examples/configure-index.gz
file and found something quite interesting and useful in it, which I
tried:
DPkg::Pre-Invoke {"mount -o remount,rw /usr";};
DPkg::Post-Invoke {"mount -o remount,ro /usr";};
Unfortunately it seems not to work, because the /usr/doc symlink seems
to be proceeded in the postinst, and that seems to be after the
DPkg::Post-Invoke is called. So, is it possible to put the
DPkg::Post-Invoke _after_ the postinst calls so that this really useful
and interesting feature might work as documented?
Thanks alot in advance,
Alfie
Reply to: