[Nut-upsuser] RV: About your driver NUTDRV_ATCL_USB(8) for install

pererivers at yahoo.es pererivers at yahoo.es
Thu Jul 24 16:07:21 UTC 2014

Dear Charles,

Thanks for your quick reply, but I can't install nut_2.7.2 in my raspberry.

1) I create a [nut] directory and use wget to download three files:
[nut_2.7.2-1.dsc] [nut_2.7.2.orig.tar.gz] [nut_2.7.2-1.debian.tar.xz] 2)I
dpkg-source -x nut_2.7.2-1.dsc
3) I use command
  root at pi1:/nut/nut-2.7.2# debuild -us -uc .
And I have the following error code:
root at pi1:/nut/nut-2.7.2# debuild -us -uc -d  dpkg-buildpackage -rfakeroot -d
-us -uc
dpkg-buildpackage: aviso: está usando una orden para convertirse en
administrador («gain-root-command»), a pesar de que ya es el administrador
dpkg-buildpackage: paquete fuente nut
dpkg-buildpackage: versión de las fuentes 2.7.2-1
dpkg-buildpackage: fuentes modificadas por Laurent Bigonville
<bigon at debian.org>  dpkg-source --before-build nut-2.7.2
dpkg-buildpackage: arquitectura del sistema armhf  fakeroot debian/rules
debian/rules:3: /usr/share/cdbs/1/rules/debhelper.mk: No existe el fichero o
el directorio
debian/rules:4: /usr/share/cdbs/1/class/autotools.mk: No existe el fichero o
el directorio
debian/rules:5: /usr/share/cdbs/1/class/python-module.mk: No existe el
fichero o el directorio
debian/rules:7: /usr/share/cdbs/1/rules/autoreconf.mk: No existe el fichero
o el directorio
debian/rules:15: /usr/share/cdbs/1/rules/utils.mk: No existe el fichero o el
make: *** No hay ninguna regla para construir el objetivo
`/usr/share/cdbs/1/rules/utils.mk'.  Alto.
dpkg-buildpackage: fallo: fakeroot debian/rules clean devolvió un estado de
salida de error 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -d -us -uc failed root at pi1:/nut/nut-2.7.2#

Any idea? what am I doing wrong.
I don't have installed 'apt-src' command to install dependencies.

Best regards,
Pere Rius

-----Mensaje original-----
De: Charles Lepple [mailto:clepple at gmail.com] Enviado el: jueves, 17 de
julio de 2014 14:41
Para: pere at riusnebot.com
CC: NUT List
Asunto: Re: About your driver NUTDRV_ATCL_USB(8) for install

On Jul 13, 2014, at 9:46 AM, pere at riusnebot.com wrote:

> Dear Charles Lepple,
> Sorry for my email intrusion.

for next time:


> I have an UPS called Ovislink 1000VA and it use a UPSMART2000R (with “ATCL
> I’m a beginner Linux user and I ‘will install your new driver
<nutdrv_atcl_usb > to work with networkupstools.org, but  I can’t.
> We have a raspberry pi with debian, and  I only installed a “nut” with
> ii  nut            2.6.4-2.3+de all          network UPS tools -
> ii  nut-client     2.6.4-2.3+de armhf        network UPS tools - clients
> ii  nut-server     2.6.4-2.3+de armhf        network UPS tools - core
 But it not contain your NUTDRV_ATCL_USB to put in my ups.conf file 
> configuration
> Could you help me how we can use your new driver ATCL FOR UPS? I don’t
know how install unstable 2.7.2-1 version in RaspBerry that I think that
contents this new driver.

There are a few options, depending on whether you prefer packages, or if you
need to install this quickly.

One way might be to request a backport. I have no experience with this
particular group, but you could try requesting here:

Another way is to download the Debian source files for 2.7.2-1 from
https://packages.debian.org/sid/nut (three links under "Download Source
Package" in the right sidebar) and use 'debuild -us -uc' from the devscripts

Since I needed to build from the latest code, I used 'apt-src' to install
the build dependencies. Note that this will require a fair amount of free
space on your SD card (I am using a 4GB card with Raspbian). In
/etc/apt/sources.list, copy the first line, and change 'deb' to 'deb-src'
like so:

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib
non-free rpi deb-src http://mirrordirector.raspbian.org/raspbian/ wheezy
main contrib non-free rpi

Then run 'sudo apt-src install nut'. This downloads the packages needed to
build NUT 2.6.4, but then you would want to grab the newer NUT 2.7.2
package. You may also want to remove the nut* .deb binary packages to avoid

Unpack nut-2.7.2.tar.gz, and follow the installation instructions here:

If you need help, please subscribe to the nut-upsuser list and describe the
problem there.

Charles Lepple
clepple at gmail

Aquest correu electrònic està lliure de virus perquè la protecció de l'avast! Antivirus està habilitada.

More information about the Nut-upsuser mailing list