package nut 2.4.1-2ubuntu4 failed to install/upgrade: subprocess post-installation script returned error exit status 1

Bug #387728 reported by Coljep
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nut (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nut

I have been trying to install the MGE UPS-psp package. It worked with a previous Ubuntu installation, 8.04 but would not install in my new computer with 9.04 64bit and then on dual boot 64/32 bit. Each time complaining about some problem with nut or no user "nut". I completely re installed 9.04 32 bit. Again I could not install. It seems MGE has been taken over again and is now Eaton so I decided to leave it. Now when I try to install any software I get an error stating nut would not install or upgrade.
I intend to re install nut using synaptic.
The mge package for Ubuntu was tried to be installed using the instructions on their website from the terminal because it did not show up in synaptic.

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 1
NonfreeKernelModules: nvidia
Package: nut 2.4.1-2ubuntu4
SourcePackage: nut
Title: package nut 2.4.1-2ubuntu4 failed to install/upgrade: subprocess post-installation script returned error exit status 1
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Coljep (coljep) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

This should be fixed for karmic. Thanks for the bug report

Regards
chuck

Changed in nut (Ubuntu):
status: New → Fix Released
Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 387728] [NEW] package nut 2.4.1-2ubuntu4 failed to install/upgrade: subprocess post-installation script returned error exit status 1

hey there,

just to clarify the situation here... a bit

2009/6/16 Coljep

> Public bug reported:
>
> Binary package hint: nut
>
> I have been trying to install the MGE UPS-psp package. It worked with a
> previous Ubuntu installation, 8.04 but would not install in my new computer
> with 9.04 64bit and then on dual boot 64/32 bit. Each time complaining about
> some problem with nut or no user "nut". I completely re installed 9.04 32
> bit. Again I could not install. It seems MGE has been taken over again and
> is now Eaton so I decided to leave it.

not our (my) fault here ;-)
about the MGE UPS -> MGE Office Protection Systems -> Eaton transition, it's
been a hard time.
but the important point is that the NUT sponsor has gone from a 3000 peoples
group to a 75000 peoples group, giving me more resources than ever...

now for the future of the PSP, a rewrite is planned during the summer, using
the new python stuffs that I have introduced in NUT 2.4.1, but that are
still unpackaged (hard to be on that many fronts!!)

Now when I try to install any software I get an error stating nut would not
> install or upgrade.
> I intend to re install nut using synaptic.
> The mge package for Ubuntu was tried to be installed using the instructions
> on their website from the terminal because it did not show up in synaptic.
>

the issue here was that:
- the ubuntu package has taken over the Eaton one (higher release),
- the /var/run/nut dir creation has been removed from the Ubuntu package
(nut.dirs file), and only handled by the init script for runtime. and its
existance was necessary for the package postinst

@Chuck: I have some more stuffs underway for Sid that you'll want to sync
once uploaded.
we'll have to have a quick chat so that I can give you a bit of
visibility...

cheers,
Arnaud
--
Linux / Unix Expert R&D - Eaton - http://www.eaton.com/mgeops
Network UPS Tools (NUT) Project Leader - http://www.networkupstools.org/
Debian Developer - http://www.debian.org
Free Software Developer - http://arnaud.quette.free.fr/

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.