<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><ul><li>
<div>
Ubuntu 12.04 Precise
</div>
</li><li>
<div>
NUT 2.6
</div>
</li><li>
<div>
From Ubuntu terminal ---> sudo apt-get install nut<br></div>
</li><li>
<div>
Openups from mini-box.com (http://www.mini-box.com/OpenUPS)<br></div><ul><li><span class="smalltext">- Intelligent UPS, USB interface<br>- SMBUS slave and I2C master<br>- Input 6-34V<br>- Programable output 6-24V<br>- Default output is 12V<br>- Input/Output current 6A/10A peak<br>- Charge between 6-30V, 3A<br>- Voltage and current limits<br>- Li-Ion, Li-Po, LIFEPO4, Lead Acid<br>- 1, 2S, 3S, 4S, 5S, 6S<br>- Balancing up to 6S<br>- Coulomb counting (fuel gauge)<br>- Motherboard ON/OFF pulse control*<br>- OS detects device “Battery”<br>- manufactured by <a href="http://www.mini-box.com/site/oem.html" target="_blank">mini-box.com</a><br><span class="textboldnolink"><font color="green">- ROHS compliant</font></span></span></li></ul></li></ul><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="text-decoration: underline;">Log excerpts upon
 installation:</span><span><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Reading package lists... Done<br>Building dependency tree       <br>Reading state information... Done<br>The following packages were automatically installed and are no longer required:<br>  linux-headers-3.2.0-29 linux-headers-3.2.0-29-generic<br>Use 'apt-get autoremove' to remove them.<br>The following extra packages will be installed:<br>  nut-client nut-server<br>Suggested packages:<br>  nut-cgi nut-snmp nut-dev nut-xml<br>The following NEW packages will be installed:<br>  nut nut-client nut-server<br>0 upgraded, 3 newly installed, 0 to remove and 20 not upgraded.<br>Need to get 1,473 kB of archives.<br>After this operation, 3,688 kB of additional disk space will be used.<br>Do you want to continue
 [Y/n]? Y <br>Get:1 http://security.ubuntu.com/ubuntu/ precise-security/main nut-client amd64 2.6.3-1ubuntu1.1 [102 kB]<br>Get:2 http://security.ubuntu.com/ubuntu/ precise-security/main nut-server amd64 2.6.3-1ubuntu1.1 [1,261 kB]<br>Get:3 http://security.ubuntu.com/ubuntu/ precise-security/main nut all 2.6.3-1ubuntu1.1 [109 kB]<br>Fetched 1,473 kB in 10s (143 kB/s)                            <br>(Reading database ... 223986 files and directories currently installed.)<br>Unpacking nut-client (from .../nut-client_2.6.3-1ubuntu1.1_amd64.deb) ...<br>dpkg: error processing /var/cache/apt/archives/nut-client_2.6.3-1ubuntu1.1_amd64.deb (--unpack):<br> trying to overwrite '/etc/nut/nut.conf', which is also in package nut-openups 2.6.5+svn20120612<br>Unpacking nut-server (from .../nut-server_2.6.3-1ubuntu1.1_amd64.deb)
 ...<br>dpkg: error processing /var/cache/apt/archives/nut-server_2.6.3-1ubuntu1.1_amd64.deb (--unpack):<br> trying to overwrite '/lib/nut/usbhid-ups', which is also in package nut-openups 2.6.5+svn20120612<br>dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)<br>Selecting previously unselected package nut.<br>Unpacking nut (from .../nut_2.6.3-1ubuntu1.1_all.deb) ...<br>Processing triggers for man-db ...<br><span style="color: rgb(255, 0, 0);">Errors were encountered while processing:<br> /var/cache/apt/archives/nut-client_2.6.3-1ubuntu1.1_amd64.deb<br> /var/cache/apt/archives/nut-server_2.6.3-1ubuntu1.1_amd64.deb<br>E: Sub-process /usr/bin/dpkg returned an error code (1)</span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="font-size: 16px; font-family: times new
 roman,new york,times,serif; background-color: transparent; font-style: normal;"><span><span style="font-style: italic;"><span>Ubuntu Software Center also repeteatedly asks to repair the package catalog. <br></span></span></span></div><div style="font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span style="font-style: italic;"><span>After repairing package catalog, package operation eventually fails all the time.</span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>installArchives() failed: (Reading database ...  (Reading database ... 5% (Reading database ... 10% (Reading database
 ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 224010 files and directories currently installed.) <br>Unpacking nut-client (from .../nut-client_2.6.3-1ubuntu1.1_amd64.deb) ... <br>dpkg: error processing /var/cache/apt/archives/nut-client_2.6.3-1ubuntu1.1_amd64.deb (--unpack): <br> trying to overwrite '/etc/nut/nut.conf', which is also in package nut-openups 2.6.5+svn20120612 <br>No apport report written because MaxReports is reached already<br>Unpacking nut-server (from .../nut-server_2.6.3-1ubuntu1.1_amd64.deb) ... <br>dpkg:
 error processing /var/cache/apt/archives/nut-server_2.6.3-1ubuntu1.1_amd64.deb (--unpack): <br> trying to overwrite '/lib/nut/usbhid-ups', which is also in package nut-openups 2.6.5+svn20120612 <br>dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) <br>No apport report written because MaxReports is reached already<br>Processing triggers for man-db ... <br><span style="color: rgb(192, 0, 0);"><span style="background-color: rgb(255, 255, 255);"><span>Errors were encountered while processing: <br> /var/cache/apt/archives/nut-client_2.6.3-1ubuntu1.1_amd64.deb <br> /var/cache/apt/archives/nut-server_2.6.3-1ubuntu1.1_amd64.deb <br>Error in function:  <br>SystemError: E:Sub-process /usr/bin/dpkg returned an error code (1) <br>dpkg: dependency problems prevent configuration of nut: <br> nut depends on nut-server; however: <br>  Package nut-server is not installed. <br> nut depends on nut-client; however:
<br>  Package nut-client is not installed. <br>dpkg: error processing nut (--configure): <br> dependency problems - leaving unconfigured </span></span></span><br><br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Only when nut is removed via this command - sudo dpkg -r nut - the software center stops enquiring about the repair.<br></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>I followed the information from this link -</span><br>http://blog.mansonthomas.com/2008/10/setting-up-ups-link-with-ubuntu-server.html</div><div
 style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">to establish the ups link with ubuntu server.<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span></span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><span>Upon usb connection with the computer, the ups shows this information:</span></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br><span style="color: #008000;">~$ upsc openups@localhost</span><br clear="none"><span style="color: #ff0000;">Can not connect to localhost in SSL, continue uncrypted</span> <br
 clear="none">battery.capacity: 100<br clear="none">battery.charge: 47<br clear="none">battery.charge.low: 5<br clear="none">battery.charge.warning: 20<br clear="none">battery.current: 0.000<br clear="none">battery.mfr.date: Mini-Box.Com<br clear="none">battery.runtime: 96840<br clear="none">battery.type: PBSO4-LiFePO<br clear="none">battery.voltage: 0.00<br clear="none">device.mfr: Mini-Box.Com<br clear="none">device.model: OPEN-UPS<br clear="none">device.serial: PBSO4-LiFePO<br clear="none">device.type: ups<br clear="none">driver.name: usbhid-ups<br clear="none">driver.parameter.pollfreq: 30<br clear="none">driver.parameter.pollinterval: 2<br clear="none">driver.parameter.port: auto    ---> for USB connection<br clear="none">driver.version: 2.6.5<br clear="none">driver.version.data: openUPS HID 0.1<br clear="none">driver.version.internal: 0.37<br clear="none">ups.mfr: Mini-Box.Com<br clear="none">ups.model: OPEN-UPS<br
 clear="none">ups.productid: d004<br clear="none">ups.serial: PBSO4-LiFePO<br clear="none">ups.status: OB DISCHRG<br clear="none">ups.vendorid: 04d8</div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Why can't I connect to localhost in SSL?<br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">In the Windows driver provided by the ups manufaturer many more information, such as temperature and others, are provided, but not by the Network UPS tools. So, it is clear some of the capabilities of the ups are not portrayed by NUT. Why is this so?<br></div><div style="color: rgb(0, 0, 0);
 font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: times new roman,new york,times,serif; background-color: transparent; font-style: normal;">Any help is appreciated. Thank you very much.<br></div></div></body></html>