nut & nut-hid-drivers remove each other

Bug #334932 reported by Brad Parker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nut (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: nut

fresh install of ubuntu 8.10 on reasonably simple i386 machine;

installed nut-hid-drivers - ok
intalled nut - ok, but it removed nut-hid-drivers

reinstalled nut-hid-drivers - ok, nut it removed nut

I need both packages installed at the same time to support
an APC Back-UPS UPS with a usb port.

(I hand installed the files from nut-hid-drivers after installing nut
and that worked, but I should not have to do that)

Revision history for this message
Arnaud Quette (aquette) wrote : Re: [Bug 334932] [NEW] nut & nut-hid-drivers remove each other

Hi Brad,

you are mixing 2 things:
- the nut "classic" package, which provides a complete framework for
acquiring data over serial/USB/network (XML/HTTP, SNMP)
- the nut-hal-drivers, which only includes the modified USB drivers, feeding
HAL and Gnome Power Manager.

Both are mutualy exclusive: you will either need one or the other, but not
both at the same time.
So both packages have a Conflicts field with the other...

If the above is confirmed, the bug has to be closed.
If you otherwise have a specific need that is not addressed with the current
set of packages, please explain it so that we can work it out.

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://people.debian.org/~aquette/
Free Software Developer - http://arnaud.quette.free.fr/

Revision history for this message
Brad Parker (brad-heeltoe) wrote :

Arnaud Quette wrote:
>
>you are mixing 2 things:
>- the nut "classic" package, which provides a complete framework for
>acquiring data over serial/USB/network (XML/HTTP, SNMP)
>- the nut-hal-drivers, which only includes the modified USB drivers, feeding
>HAL and Gnome Power Manager.
>
>Both are mutualy exclusive: you will either need one or the other, but not
>both at the same time.

mmm.

Specifically, I needed 2 files:

  /usr/lib/hal/hald-addon-usbhid-ups
  /usr/share/hal/fdi/information/20thirdparty/20-ups-nut-device.fdi

but looking at "apt-files list nut", I see

  /lib/nut/usbhid-ups

should I have to run this explicitly or should it "just work" (due to the
udev rule) when I plug the ups in?

>So both packages have a Conflicts field with the other...

ok. I see. sorry for the noise.

>If the above is confirmed, the bug has to be closed.
>If you otherwise have a specific need that is not addressed with the current
>set of packages, please explain it so that we can work it out.

I'll remove the files I added and try again with just nut and see if it works.

If you don't mind, give me 10 minutes to try it first (or, if you are sure
it will work, just let me know)

-brad

Revision history for this message
Brad Parker (brad-heeltoe) wrote :

Arnaud Quette wrote:
>Hi Brad,
>
>you are mixing 2 things:
>- the nut "classic" package, which provides a complete framework for
>acquiring data over serial/USB/network (XML/HTTP, SNMP)
>- the nut-hal-drivers, which only includes the modified USB drivers, feeding
>HAL and Gnome Power Manager.

oops. ok. thanks for setting me straight.

I have just nut installed now and udev did the right thing.

(sorry, I jumped to a conclusion last night in the heat of battle)

-brad

Changed in nut:
status: New → Invalid
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.