Bug#312106: preconfiguration bug break woody to sarge upgrade

2005-06-05 Thread Bill Allombert
Package: nut-cgi
Version: 0.45.5-rel-1
Severity: serious
Tags: sarge

Hello Arnaud,

When trying to upgrade from woody, nut-cgi .config file fails with:

Preconfiguring packages ...
nut-cgi failed to preconfigure, with exit status 10
(Reading database ... 65666 files and directories currently installed.)
Preparing to replace nut-cgi 0.45.5-rel-1 (using .../nut-cgi_2.0.1-3_i386.deb) 
...
dpkg: error processing /var/cache/apt/archives/nut-cgi_2.0.1-3_i386.deb 
(--unpack):
 subprocess pre-installation script returned error exit status 10
Errors were encountered while processing:
 /var/cache/apt/archives/nut-cgi_2.0.1-3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

See bug #312065.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


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



Bug#312106: preconfiguration bug break woody to sarge upgrade

2005-06-17 Thread arnaud . quette
Salut Bill,

> When trying to upgrade from woody, nut-cgi .config file fails with:
> 
> Preconfiguring packages ...
> nut-cgi failed to preconfigure, with exit status 10
> (Reading database ... 65666 files and directories currently installed.)
> Preparing to replace nut-cgi 0.45.5-rel-1 (using 
.../nut-cgi_2.0.1-3_i386.deb) ...
> dpkg: error processing /var/cache/apt/archives/nut-cgi_2.0.1-3_i386.deb 
(--unpack):
>  subprocess pre-installation script returned error exit status 10
> Errors were encountered while processing:
 > /var/cache/apt/archives/nut-cgi_2.0.1-3_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> See bug #312065.

First, thanks for your report and sorry not to have been
able to answer before...

I think I've found the problem (typo error on db_get and
db_fset, calling nut instead of nut-cgi) or at least one problem!

But as I'm not a debconf guru, I still have some doubt! The
problem seems to occur only when the user reply "No",
which abort the install/upgrade process with an "exit 1"...
Note that I've based this upon nut ones that exists for
a long time (more than 3 years) which produce the same
"error" under the same condition.

Any advices welcomed.

Arnaud


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