Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-11 Thread Guillem Jover
Hi! On Fri, 2009-12-11 at 08:31:26 +0100, Raphael Hertzog wrote: > On Thu, 10 Dec 2009, Joey Hess wrote: > > Raphael Hertzog wrote: > > > Because the postinst is called by dpkg-reconfigure (of debconf) and it > > > doesn't set the same environment variables that dpkg does set when > > > it calls t

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Raphael Hertzog
On Thu, 10 Dec 2009, Joey Hess wrote: > Raphael Hertzog wrote: > > Because the postinst is called by dpkg-reconfigure (of debconf) and it > > doesn't set the same environment variables that dpkg does set when > > it calls the postinst by itself. In particular DPKG_MAINTSCRIPT_PACKAGE > > is missing

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Joey Hess
Raphael Hertzog wrote: > Because the postinst is called by dpkg-reconfigure (of debconf) and it > doesn't set the same environment variables that dpkg does set when > it calls the postinst by itself. In particular DPKG_MAINTSCRIPT_PACKAGE > is missing. > > (dpkg does also set DPKG_MAINTSCRIPT_ARCH

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Steve Langasek
reassign 560317 debconf thanks On Thu, Dec 10, 2009 at 04:27:28PM +0100, Norbert Preining wrote: > reassign 560317 dpkg > retitle 560317 dpkg-reconfigure does not set DPKG_MAINTSCRIPT_PACKAGE (et al) > thanks > On Do, 10 Dez 2009, Steve Langasek wrote: > > I think this should be regarded as a bug

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Norbert Preining
reassign 560317 dpkg retitle 560317 dpkg-reconfigure does not set DPKG_MAINTSCRIPT_PACKAGE (et al) thanks On Do, 10 Dez 2009, Steve Langasek wrote: > I think this should be regarded as a bug in dpkg-reconfigure. On Do, 10 Dez 2009, Raphael Hertzog wrote: > It's a bug in dpkg-reconfigure, please f

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Raphael Hertzog
On Thu, 10 Dec 2009, Norbert Preining wrote: > I though well, yes, it is called from a maintainer script (postinst configure) > and the package should be clear. But why does dpkg-trigger complain? Because the postinst is called by dpkg-reconfigure (of debconf) and it doesn't set the same environme

Re: dpkg-trigger complains at dpkg-reconfigure time

2009-12-10 Thread Steve Langasek
On Thu, Dec 10, 2009 at 04:05:25PM +0100, Norbert Preining wrote: > I have a question for sure stemming from my misunderstanding of triggers. > tex-common ships dh_installtex which makes installation of fonts etc > for TeX system easy, and it is used in quite some packages. We use > triggers (on p