[SOLVED] NUT 2.0.5_1 package on pfsense 1.2-RC2 not installing

  • I am having the same problem as thread "Nut package gone?" (http://forum.pfsense.org/index.php/topic,4019.0.html), but now it's with the NUT 2.0.5_1 package. I can install other packages, but nut fails with the message "Checking for successful package installation… failed!" The system log only states that it is beginning installation but no error message appears. Just like in the previous thread I found a 0 byte file in /tmp called 'apkg_nut-2.0.5_1.tbz'. I'm not sure pfSense is looking in the right place to download this file. Yesterday I upgraded to 1.2-RC2 and today I did a fresh LiveCD install but this issue still exists. Anyone else having this issue? Thanks in advance for the help!


  • Installed pfSense 1.2-RC3 and still the same result.

    I noticed that pkg_config.xml from http://www.pfsense.com/packages/ is trying to download the url ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All/nut-2.0.5_1.tbz, but that file doesn't exist (although I do see nut-2.2.0.tbz).

  • Yep…

    Update to the nut 2.2.0 version (current FreeBSD 6 stable version) :

    Change the pkg_config.xml to use the nut 2.2.0 version

      <descr>Network UPS Tools</descr>
      <category>Network Management</category>

    Change http://www.pfsense.com/packages/config/nut/nut.xml

    <description>Describe your package here</description>
        <requirements>Describe your package requirements here</requirements>
        <faq>Currently there are no FAQ items provided.</faq>
    <title>Services: NUT</title>

    <fielddescr><strong>Local UPS Model</strong></fielddescr>
    <description>If generic or cable specified in parenthesis you need
    to select the appropriate option below.</description>
    <options><option><name>APC Back-UPS (Generic)</name>
    <option><name>APC Back-UPS RS (Generic)</name>
    <option><name>APC Back-UPS Pro (Cable)</name>
    <option><name>APC Smart-UPS (Cable)</name>
    <option><name>APC Matrix-UPS</name>
    <option><name>APC Masterswitch (Generic)</name>
    <option><name>APC Back-UPS USB</name>
    <option><name>APC Back-UPS LS USB</name>

    etc, etc... (replace all "newhidups" by the new driver "usbhid-ups")

    or still use the old stable one :

    Put the files nut-2.0.5_1.tbz and nut-usb-2.0.5_1.tbz on the http://www.pfsense.com/packages/All/ directory

    Change the pkg_config.xml to use the old version

      <descr>Network UPS Tools</descr>
      <category>Network Management</category>

    My opinion :

    As the version 2.2.0 is used as common one for the FreeBSD 6, it will be fine to use it.
    The old 2.0.5 version is a little bit hard to find now.

    Expecting it help.


  • @Surf@ceS:

    Reported Ticket :


    I didn't see this post until now. I will bump the version to 2.2.0 in a few minutes. I assuming you will test this out and report back any issues.

  • Perfect! The new package showed up in the list, downloaded, installed, and I have it up and running without any problems. Thank you! :)


Log in to reply