Bug#445090: subprocess post-installation script returned error exit status 255

2007-11-24 Thread Kurt Roeckx
If anybody can reproduce this with 0.9.8g-2 or later, please let me
know.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Soeren Sonnenburg
Package: libssl0.9.8
Version: 0.9.8e-9
Severity: grave

This happened on todays upgrade of 2 independent etch based machines.

# apt-get upgrade
Preconfiguring packages ...
(Reading database ... 31627 files and directories currently installed.)
Preparing to replace libssl-dev 0.9.8c-4 (using 
.../libssl-dev_0.9.8c-4etch1_i386.deb) ...
Unpacking replacement libssl-dev ...
Preparing to replace libssl0.9.8 0.9.8c-4 (using 
.../libssl0.9.8_0.9.8c-4etch1_i386.deb) ...
Unpacking replacement libssl0.9.8 ...
Preparing to replace openssl 0.9.8c-4 (using 
.../openssl_0.9.8c-4etch1_i386.deb) ...
Unpacking replacement openssl ...
Setting up libssl0.9.8 (0.9.8c-4etch1) ...
Checking for services that may need to be restarted...done.
Checking init scripts...
Configuring libssl0.9.8
---

Security holes were fixed with this release. Services may not use these fixes
until they are restarted. Note: restarting sshd should not affect any existing
connections.

Following is a list of detected services that need to be restarted. Please
correct the list, if you think it is incorrect. The services names must be
identical to the script names in /etc/init.d and must be separated by spaces. If
you clear the list, no services will be restarted.

If other services begin to fail mysteriously after this upgrade, it may be
necessary to restart them too.  We strongly recommend you to reboot your machine
to avoid the SSL related trouble.

Which services should be restarted to make them use the new libraries?



dpkg: error processing libssl0.9.8 (--configure):
 subprocess post-installation script returned error exit status 255
dpkg: dependency problems prevent configuration of libssl-dev:
 libssl-dev depends on libssl0.9.8 (= 0.9.8c-4etch1); however:
  Package libssl0.9.8 is not configured yet.
dpkg: error processing libssl-dev (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openssl:
 openssl depends on libssl0.9.8 (= 0.9.8c-1); however:
  Package libssl0.9.8 is not configured yet.
dpkg: error processing openssl (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libssl0.9.8
 libssl-dev
 openssl


However when calling apt-get upgrade again it is working...

# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue [Y/n]? 
Setting up libssl0.9.8 (0.9.8c-4etch1) ...
Checking for services that may need to be restarted...done.
Checking init scripts...
Configuring libssl0.9.8
---

Security holes were fixed with this release. Services may not use these fixes 
until they are restarted. Note: restarting sshd should not affect any existing 
connections.

Following is a list of detected services that need to be restarted. Please 
correct the list, if you think it is incorrect. The services names must be 
identical to the script names in /etc/init.d and 
must be separated by spaces. If you clear the list, no services will be 
restarted.

If other services begin to fail mysteriously after this upgrade, it may be 
necessary to restart them too.  We strongly recommend you to reboot your 
machine to avoid the SSL related trouble.

Which services should be restarted to make them use the new libraries? 




Setting up libssl-dev (0.9.8c-4etch1) ...
Setting up openssl (0.9.8c-4etch1) ...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Kurt Roeckx
On Wed, Oct 03, 2007 at 08:43:52AM +0200, Soeren Sonnenburg wrote:
 Package: libssl0.9.8
 Version: 0.9.8e-9
 Severity: grave
 
 This happened on todays upgrade of 2 independent etch based machines.
 
 # apt-get upgrade
 Preconfiguring packages ...
 (Reading database ... 31627 files and directories currently installed.)
 Preparing to replace libssl-dev 0.9.8c-4 (using 
 .../libssl-dev_0.9.8c-4etch1_i386.deb) ...
 Unpacking replacement libssl-dev ...
 Preparing to replace libssl0.9.8 0.9.8c-4 (using 
 .../libssl0.9.8_0.9.8c-4etch1_i386.deb) ...
 Unpacking replacement libssl0.9.8 ...
 Preparing to replace openssl 0.9.8c-4 (using 
 .../openssl_0.9.8c-4etch1_i386.deb) ...
 Unpacking replacement openssl ...
 Setting up libssl0.9.8 (0.9.8c-4etch1) ...
 Checking for services that may need to be restarted...done.
 Checking init scripts...
 Configuring libssl0.9.8
 ---
[...]
 Which services should be restarted to make them use the new libraries?
 
 
 
 dpkg: error processing libssl0.9.8 (--configure):
  subprocess post-installation script returned error exit status 255
 dpkg: dependency problems prevent configuration of libssl-dev:
  libssl-dev depends on libssl0.9.8 (= 0.9.8c-4etch1); however:
   Package libssl0.9.8 is not configured yet.
 dpkg: error processing libssl-dev (--configure):
  dependency problems - leaving unconfigured
 dpkg: dependency problems prevent configuration of openssl:
  openssl depends on libssl0.9.8 (= 0.9.8c-1); however:
   Package libssl0.9.8 is not configured yet.
 dpkg: error processing openssl (--configure):
  dependency problems - leaving unconfigured
 Errors were encountered while processing:
  libssl0.9.8
  libssl-dev
  openssl

How is debconf configured?  How did you run the upgrade?

Was this some automated upgrade with frontend dialog that didn't have
a controlling tty?

I've tried to use the fronends dialog, readline and noninteractive.
Neither of them show this problem for me.


The results I got were:
- dialog: it's not showing me the default list of services
  to restart.  Just pressing enter doesn't restart anything.
  I believe this to be a bug in debconf.
  However it does properly configure the package.
- readline: Works as expected
- noninteractive: Restarts the services, but doesn't show
  the message of why.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Soeren Sonnenburg
On Wed, 2007-10-03 at 19:00 +0200, Kurt Roeckx wrote:
 On Wed, Oct 03, 2007 at 08:43:52AM +0200, Soeren Sonnenburg wrote:
  Package: libssl0.9.8
  Version: 0.9.8e-9
  Severity: grave
  
  This happened on todays upgrade of 2 independent etch based machines.
  
  # apt-get upgrade
  Preconfiguring packages ...
  (Reading database ... 31627 files and directories currently installed.)
  Preparing to replace libssl-dev 0.9.8c-4 (using 
  .../libssl-dev_0.9.8c-4etch1_i386.deb) ...
  Unpacking replacement libssl-dev ...
  Preparing to replace libssl0.9.8 0.9.8c-4 (using 
  .../libssl0.9.8_0.9.8c-4etch1_i386.deb) ...
  Unpacking replacement libssl0.9.8 ...
  Preparing to replace openssl 0.9.8c-4 (using 
  .../openssl_0.9.8c-4etch1_i386.deb) ...
  Unpacking replacement openssl ...
  Setting up libssl0.9.8 (0.9.8c-4etch1) ...
  Checking for services that may need to be restarted...done.
  Checking init scripts...
  Configuring libssl0.9.8
  ---
 [...]
  Which services should be restarted to make them use the new libraries?
  
  
  
  dpkg: error processing libssl0.9.8 (--configure):
   subprocess post-installation script returned error exit status 255
  dpkg: dependency problems prevent configuration of libssl-dev:
   libssl-dev depends on libssl0.9.8 (= 0.9.8c-4etch1); however:
Package libssl0.9.8 is not configured yet.
  dpkg: error processing libssl-dev (--configure):
   dependency problems - leaving unconfigured
  dpkg: dependency problems prevent configuration of openssl:
   openssl depends on libssl0.9.8 (= 0.9.8c-1); however:
Package libssl0.9.8 is not configured yet.
  dpkg: error processing openssl (--configure):
   dependency problems - leaving unconfigured
  Errors were encountered while processing:
   libssl0.9.8
   libssl-dev
   openssl
 
 How is debconf configured?  How did you run the upgrade?

I manually ran apt-get upgrade.

 Was this some automated upgrade with frontend dialog that didn't have
 a controlling tty?
 
 I've tried to use the fronends dialog, readline and noninteractive.
 Neither of them show this problem for me.

One frontend was readline and the other dialog.

 The results I got were:
 - dialog: it's not showing me the default list of services
   to restart.  Just pressing enter doesn't restart anything.
   I believe this to be a bug in debconf.
   However it does properly configure the package.
 - readline: Works as expected

For me it was vice-versa. dialog was showing me the services and did
also restart them. Readline did not show any service (I was supposed to
type them in manually but left it blank).

Soeren



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Soeren Sonnenburg

On Wed, 2007-10-03 at 19:25 +0200, Kurt Roeckx wrote:
 On Wed, Oct 03, 2007 at 05:08:34PM +, Soeren Sonnenburg wrote:
   
   How is debconf configured?  How did you run the upgrade?
  
  I manually ran apt-get upgrade.
 
 Can you reproduce it when downgrading the version, and then upgrading it
 again?

No... I downgraded libssl-dev and libssl0.9.8 to 0.9.8c-4 and then
upgraded to 0.9.8c-4etch1 and the problem did not occur on upgrade (and
none on downgrade)

Strange.
Soeren



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Kurt Roeckx
On Wed, Oct 03, 2007 at 05:08:34PM +, Soeren Sonnenburg wrote:
  
  How is debconf configured?  How did you run the upgrade?
 
 I manually ran apt-get upgrade.

Can you reproduce it when downgrading the version, and then upgrading it
again?

  Was this some automated upgrade with frontend dialog that didn't have
  a controlling tty?
  
  I've tried to use the fronends dialog, readline and noninteractive.
  Neither of them show this problem for me.
 
 One frontend was readline and the other dialog.
 
  The results I got were:
  - dialog: it's not showing me the default list of services
to restart.  Just pressing enter doesn't restart anything.
I believe this to be a bug in debconf.
However it does properly configure the package.
  - readline: Works as expected
 
 For me it was vice-versa. dialog was showing me the services and did
 also restart them. Readline did not show any service (I was supposed to
 type them in manually but left it blank).

Right, it's just the other way around.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Kurt Roeckx
On Wed, Oct 03, 2007 at 05:31:57PM +, Soeren Sonnenburg wrote:
 
 On Wed, 2007-10-03 at 19:25 +0200, Kurt Roeckx wrote:
  On Wed, Oct 03, 2007 at 05:08:34PM +, Soeren Sonnenburg wrote:

How is debconf configured?  How did you run the upgrade?
   
   I manually ran apt-get upgrade.
  
  Can you reproduce it when downgrading the version, and then upgrading it
  again?
 
 No... I downgraded libssl-dev and libssl0.9.8 to 0.9.8c-4 and then
 upgraded to 0.9.8c-4etch1 and the problem did not occur on upgrade (and
 none on downgrade)

Since I can't reproduce it either, it makes it very hard for me to fix
it.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Soeren Sonnenburg

On Wed, 2007-10-03 at 19:56 +0200, Kurt Roeckx wrote:
 On Wed, Oct 03, 2007 at 05:31:57PM +, Soeren Sonnenburg wrote:
  
  On Wed, 2007-10-03 at 19:25 +0200, Kurt Roeckx wrote:
   On Wed, Oct 03, 2007 at 05:08:34PM +, Soeren Sonnenburg wrote:
 
 How is debconf configured?  How did you run the upgrade?

I manually ran apt-get upgrade.
   
   Can you reproduce it when downgrading the version, and then upgrading it
   again?
  
  No... I downgraded libssl-dev and libssl0.9.8 to 0.9.8c-4 and then
  upgraded to 0.9.8c-4etch1 and the problem did not occur on upgrade (and
  none on downgrade)
 
 Since I can't reproduce it either, it makes it very hard for me to fix
 it.

Hmmhh, any ideas what could return 255 in the post-inst script?

Soeren



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#445090: [Pkg-openssl-devel] Bug#445090: subprocess post-installation script returned error exit status 255

2007-10-03 Thread Kurt Roeckx
On Wed, Oct 03, 2007 at 06:04:12PM +, Soeren Sonnenburg wrote:
  Since I can't reproduce it either, it makes it very hard for me to fix
  it.
 
 Hmmhh, any ideas what could return 255 in the post-inst script?

The bug log shows that atleast the debconf message was displayed, which
means we atleast got to this part:
db_version 2.0

db_reset libssl0.9.8/restart-services
db_set libssl0.9.8/restart-services $services
db_input critical libssl0.9.8/restart-services || true
db_go || true

By looking at the number of empty lines in the bug report,
it seem to me atleast this was done too:

db_get libssl0.9.8/restart-services
# Arghhh, close all the stupid debconf pipes
db_stop

if [ x$RET != x ]
then
services=$RET
answer=yes
else
answer=no
fi
echo

But then this part wasn't executed:
if [ $answer = yes ]  [ $services !=  ]; then
echo Restarting services possibly affected by the upgrade:
[...]
fi
else
echo Nothing to restart.
fi
fi # end upgrading and $2 lt 0.9.8c-2
fi # Upgrading
fi

# Automatically added by dh_makeshlibs
if [ $1 = configure ]; then
ldconfig
fi

Which basicly leaves the if or the ldconfig, which both seem
unlikely.


Kurt




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]