Chuck Short:
dget http://launchpadlibrarian.net/15690206/nut_2.2.1-2.1ubuntu7.2~ppa1.dsc
does not get the orig.tar.gz or diff.gz correctly. Of course, it's not really
a repository, so the directory paths being different from the *.dsc file may be
unavoidable.
[EMAIL PROTECTED]:~/pub/inet/Linux/networkupstools.org$ sh 01-dget.sh
dget: retrieving
http://launchpadlibrarian.net/15690206/nut_2.2.1-2.1ubuntu7.2~ppa1.dsc
% Total% Received % Xferd Average Speed TimeTime Time Current
Dload Upload Total SpentLeft Speed
100 1023 100 10230 0 2687 0 --:--:-- --:--:-- --:--:-- 0
dget: retrieving http://launchpadlibrarian.net/15690206/nut_2.2.1.orig.tar.gz
% Total% Received % Xferd Average Speed TimeTime Time Current
Dload Upload Total SpentLeft Speed
0 00 00 0 0 0 --:--:-- --:--:-- --:--:-- 0
curl: (22) The requested URL returned error: 404
dget: curl nut_2.2.1.orig.tar.gz
http://launchpadlibrarian.net/15690206/nut_2.2.1.orig.tar.gz failed
[EMAIL PROTECTED]:~/pub/inet/Linux/networkupstools.org$
I successfully downloaded nut_2.2.1-2.1ubuntu7.2~ppa1.dsc, the
orig.tar.gz, and the diff.gz from https://launchpad.net/~zulcss/+archive
manually.
dpkg-source -x *.dsc
cd nut-2.2.1
dpkg-buildpackage -rfakeroot
cd ..
successfully built nut-2.2.1/drivers/usbhid-ups. Copying it into
/lib/nut/ and replacing the existing file from Ubuntu 8.04.1, works:
...
Path: UPS.OutletSystem.Outlet.DelayBeforeReboot, Type: Feature, ReportID: 0x17,
Offset: 0, Size: 16, Value: 65535.00
Detected a UPS: Tripp Lite /TRIPP LITE UPS
upsdrv_initinfo...
upsdrv_updateinfo...
Quick update...
upsdrv_updateinfo...
Quick update...
upsdrv_updateinfo...
...
[EMAIL PROTECTED]:/etc/nut# upsc [EMAIL PROTECTED] ups.status
OL CHRG
[EMAIL PROTECTED]:/etc/nut# upsc [EMAIL PROTECTED] battery.charge
100
[EMAIL PROTECTED]:/etc/nut#
Installing the nut and nut-cgi*_i386.deb from my recompile also works.
Bottom line: I can say your PPA fixes the infinite loop problem on this
UPS.
--
usbhid-ups not behaving with Tripplite UPS
https://bugs.launchpad.net/bugs/239025
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in ubuntu.
--
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs