On Thu, 16 Feb 2012 13:10:41 +0100
Arnaud Quette <aquette....@gmail.com> wrote:

> Hi Roman,
> 
> thanks for your report.
> 
> 2012/2/16 Roman Mamedov <r...@romanrm.ru>:
> > Package: nut
> > Version: 2.6.3-1
> > Severity: important
> >
> > nut is completely broken on my system since quite some time ago.
> >
> > $ dpkg -S /etc/udev/rules.d/52-nut-usbups.rules
> > nut: /etc/udev/rules.d/52-nut-usbups.rules
> >
> > $ debsums -e  nut
> > /etc/udev/rules.d/52-nut-usbups.rules                                       
> >   OK
> 
> this file is not anymore part of the NUT packages since ????

Are you sure about that?

$ dpkg -l nut
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
ii  nut                2.6.3-1            network UPS tools - metapackage

$ dpkg -L nut
/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/nut
/usr/share/doc/nut/config-notes.txt.gz
/usr/share/doc/nut/scheduling.txt.gz
/usr/share/doc/nut/UPGRADING.gz
/usr/share/doc/nut/security.txt.gz
/usr/share/doc/nut/AUTHORS.gz
/usr/share/doc/nut/documentation.txt
/usr/share/doc/nut/support.txt
/usr/share/doc/nut/MAINTAINERS
/usr/share/doc/nut/changelog.Debian.gz
/usr/share/doc/nut/acknowledgements.txt.gz
/usr/share/doc/nut/copyright
/usr/share/doc/nut/changelog.gz
/usr/share/doc/nut/FAQ.txt.gz
/usr/share/doc/nut/download.txt.gz
/usr/share/doc/nut/nut-names.txt.gz
/usr/share/doc/nut/features.txt.gz
/usr/share/doc/nut/TODO.gz
/usr/share/doc/nut/NEWS.gz
/usr/share/doc/nut/user-manual.txt
/usr/share/doc/nut/packager-guide.txt.gz
/usr/share/doc/nut/README.gz
/usr/share/doc/nut/outlets.txt
/usr/share/doc/nut/history.txt.gz
/etc/nut/upssched.conf.sample
/etc/nut/upsmon.conf.sample
/etc/nut/upsd.users.sample
/etc/nut/ups.conf.sample
/etc/nut/upsd.conf.sample
/etc/udev/rules.d/52-nut-usbups.rules   
<-------------------------------------------

> the new one is located in /lib/udev, and has been updated to match the
> latest udev (Ie, there is no "BUS" reference anymore).
> 
> > /etc/nut/ups.conf.sample                                                    
> >   OK
> > /etc/nut/upsmon.conf.sample                                                 
> >   OK
> > /etc/nut/upsd.conf.sample                                                   
> >   OK
> > /etc/nut/upssched.conf.sample                                               
> >   OK
> > /etc/nut/upsd.users.sample                                                  
> >   OK
> >
> > ---
> >
> > Feb 16 11:48:33 natsu upsd[5477]: listening on 127.0.0.1 port 3493
> > Feb 16 11:48:33 natsu upsd[5477]: listening on ::1 port 3493
> > Feb 16 11:48:33 natsu upsd[5477]: Can't connect to UPS [pw800] 
> > (blazer_usb-pw800): Permission denied
> > Feb 16 11:48:33 natsu upsd[5477]: allowfrom in upsd.users is no longer used
> > Feb 16 11:48:33 natsu upsd[5478]: Startup successful
> > Feb 16 11:48:33 natsu upsmon[5481]: Startup successful
> > Feb 16 11:48:35 natsu udevd[484]: unknown key 'BUS' in 
> > /etc/udev/rules.d/52-nut-usbups.rules:6
> > Feb 16 11:48:35 natsu udevd[484]: invalid rule 
> > '/etc/udev/rules.d/52-nut-usbups.rules:6'
> > Feb 16 11:48:35 natsu udevd[484]: unknown key 'SYSFS{idVendor}' in 
> > /etc/udev/rules.d/52-nut-usbups.rules:10
> > Feb 16 11:48:35 natsu udevd[484]: invalid rule 
> > '/etc/udev/rules.d/52-nut-usbups.rules:10'
> > ...
> 
> could you please send back the following:
> - are you on testing or sid?

On testing.

> - which nut version you upgraded from (related to the above question)?

I run regular apt-get dist-upgrade so I am pretty much always on the latest
version in testing.

> - result of dpkg -l 'nut*'

$ dpkg -l 'nut*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name               Version            Description
+++-==================-==================-====================================================
ii  nut                2.6.3-1            network UPS tools - metapackage
un  nut-cgi            <none>             (no description available)
ii  nut-client         2.6.3-1            network UPS tools - clients
un  nut-dev            <none>             (no description available)
un  nut-hal-drivers    <none>             (no description available)
un  nut-monitor        <none>             (no description available)
ii  nut-server         2.6.3-1            network UPS tools - core system
un  nut-snmp           <none>             (no description available)
un  nut-usb            <none>             (no description available)
un  nut-xml            <none>             (no description available)


> 
> there may be something wrong in the upgrade path, following the
> various and invasive updates on the packages.
> 
> cheers,
> Arnaud


-- 
With respect,
Roman

~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Stallman had a printer,
with code he could not see.
So he began to tinker,
and set the software free."

Attachment: signature.asc
Description: PGP signature

Reply via email to