Re: Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Helge Kreutzmann
Hello Sven, On Thu, May 28, 2009 at 09:01:32PM +0200, Sven Joachim wrote: > Am 28.05.2009 um 20:16 schrieb Helge Kreutzmann: > > On Thu, May 28, 2009 at 07:53:36PM +0200, Sven Joachim wrote: > > The reason is the following in the preinst (which I inherited, so if > > it is wrong, I gladly rewrite/i

Re: Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Sven Joachim
Am 28.05.2009 um 20:16 schrieb Helge Kreutzmann: > On Thu, May 28, 2009 at 07:53:36PM +0200, Sven Joachim wrote: >> I don't know why this preinst script is necessary, but if you need to >> insure that the new update-alternatives script is run in it, you have to >> use Pre-Depends rather than Depen

Re: Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Helge Kreutzmann
Hello Sven, On Thu, May 28, 2009 at 07:53:36PM +0200, Sven Joachim wrote: > I don't know why this preinst script is necessary, but if you need to > insure that the new update-alternatives script is run in it, you have to > use Pre-Depends rather than Depends. See Policy ยง 7.2. Thanks, I missed th

Re: Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Sven Joachim
Am 28.05.2009 um 19:34 schrieb Helge Kreutzmann: > I recently got an RC bug (#530653) which turned out to be a change > in dpkg's update-alternative (the string and output channel of an > error message was changed which is used in the preinst). So I > prepared a new package, but this of course

Re: Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Paul Wise
On Fri, May 29, 2009 at 1:34 AM, Helge Kreutzmann wrote: > I recently got an RC bug (#530653) which turned out to be a change > in dpkg's update-alternative (the string and output channel of an > error message was changed which is used in the preinst). So I > prepared a new package, but this of c

Proper dependency on essential package (dpkg) for preinst

2009-05-28 Thread Helge Kreutzmann
Hello, I recently got an RC bug (#530653) which turned out to be a change in dpkg's update-alternative (the string and output channel of an error message was changed which is used in the preinst). So I prepared a new package, but this of course will only work with the dpkg in unstable (not the o