title 680419 uptimed fails to configure on upgrade if config file is missing
severity 680419 normal
thanks

On Thu, Jul 5, 2012 at 8:27 PM, Ian Campbell <[email protected]> wrote:
> Package: uptimed
> Version: 1:0.3.17-3.1
> Severity: important
>
> Dear Maintainer,
>
> A recent upgrade attempt failed with:
>     Preparing to replace uptimed 1:0.3.17-3 (using 
> .../uptimed_1%3a0.3.17-3.1_amd64.deb) ...
>     [...]
>     Setting up uptimed (1:0.3.17-3.1) ...
>     /var/lib/dpkg/info/uptimed.postinst: line 39: /etc/uptimed.conf: No such 
> file or directory
>     dpkg: error processing uptimed (--configure):
>      subprocess installed post-installation script returned error exit status 
> 1
>
> and indeed I found that /etc/uptimed.conf did not exist. However I did
> have /etc/uptimed.conf.dpkg-old. I moved it to /etc/uptimed.conf and ran "dpkg
> --configure -a" which succeeded. Now I have:

Hi

I can't reproduce your bug unless I manually remove /etc/uptimed.conf
first. I don't know how much of a bug it is to have upgrade configure
fail on missing config file. Maybe it should fail gracefully.
Nonetheless, it's possible to apt-get remove the package anyway and
install it back again afterwards.

Since this is not a typical use case of the software and since it
doesn't affect the normal upgrade path, I'm downgrading this bug to
normal.

Thanks

-- 
Thibaut VARENE
http://www.parisc-linux.org/~varenet/



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

Reply via email to