APC UPS
Michael George
yellowdog-general@lists.terrasoftsolutions.com
Tue Sep 17 10:06:01 2002
I've got a couple packages of apcupsd (3.5.8 and 3.8.5) as src.rpms,
but whenever I try to run "rpm --rebuild <package>.src.rpm", I get
"<package>.src.rpm: No such file or directory".
What the heck is that? The file's right there in the CWD!
Anyway, I'll look for nut and nut-cgi and try them...
Thanks!
-Michael
On Tuesday, September 17, 2002, at 09:32 AM, nathan r. hruby wrote:
>
> On Tuesday, September 17, 2002, at 09:01 AM, Michael George wrote:
>
>> Okay, that would be fine... I've been looking for apcupsd (and now
>> upsd) on the Yellowdog site, and I can't find it. I grabbed the SRPM
>> for RHL7.1, but I've never built and RPM from the SRPM and it keeps
>> giving me errors ("cannot find file X" when X is in the same
>> directory from which I run the command).
>>
>
> to rebuild an rpm frpm a source rpm (as root) issue "rpm --rebuild
> foo-version.src.rpm" the binary rpm should be in
> /usr/src/rpm/RPMS/ppc. There's probably a nifty way to do it with apt
> as well.. but I haven't really had the time to learn how to compile
> packages yet
>
>> Do you know where I can find upsd either in ppc.rpm or ppc.src.rpm
>> form?
>
> Nope, but you can try nut (it might even be installed, if not "apt-get
> install nut nut-cgi") which should monitor your ups (and other things)
> just fine.
>