Just get conman not found. Quick google search finds others with same issue. On raspberry pi 3b. ----- The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220810/2b48784f/attachment.htm>
Kevin P. Fleming
2022-Aug-11 00:00 UTC
[Nut-upsuser] Where is nut-scanner on raspberry pi?
The locations of tools are controlled by the Linux distribution you are using and the packages you have installed, not by the hardware platform. Please reply to the list indication which Linux distribution you are using and which NUT-related packages you have installed. On Wed, Aug 10, 2022 at 11:10 AM Kevin Zari via Nut-upsuser <nut-upsuser at alioth-lists.debian.net> wrote:> > Just get conman not found. Quick google search finds others with same issue. On raspberry pi 3b. > > ----- > The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence. > _______________________________________________ > Nut-upsuser mailing list > Nut-upsuser at alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
z.kevino at gmail.com
2022-Aug-11 01:05 UTC
[Nut-upsuser] Where is nut-scanner on raspberry pi?
pi at DMRraspPi:~ $ cat /etc/os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" VERSION_CODENAME=stretch ID=raspbian ID_LIKE=debian HOME_URL="http://www.raspbian.org/" SUPPORT_URL="http://www.raspbian.org/RaspbianForums" BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs" nut is already the newest version (2.7.4-5). nut-client is already the newest version (2.7.4-5+b1). nut-server is already the newest version (2.7.4-5+b1). ----- The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.> On Aug 10, 2022, at 10:46, Kevin Zari <z.kevino at gmail.com> wrote: > > ?Just get conman not found. Quick google search finds others with same issue. On raspberry pi 3b. > > ----- > The problem with the world is that the intelligent people are full of doubts, while the stupid ones are full of confidence.-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220810/d7e77392/attachment.htm>
It turns out that there is a bug in nut about this, in 2.8.0. I checked the pkgsrc package, and it doesn't have nut-scanner. Usually what is packaged is what upstream installs. On digging in, I found that the package did not declare a dependency on libltldl and thus it was not visibile during the build, and nut-scanner was not built. The first bug is that this is not documented in INSTALL.nut. If it were, it would be a package bug not to provide it. It is sort of hinted at that somehwere else there is a list of prereqs, and I eventually found them, but I think "this is what you need installed to build", even if a pointer, should be front and center in a really-hard-to-miss way. And, there is a huge list of per-OS, without first things being described in terms of upstream package names in an OS/distribution-agnostic manner. The second bug is that the nut-scanner man page is installed even if nut-scanner is not built. Probably the fix is to move man pages to be with their programs so docs/code match, but that is surely a can of worms and just conditionalizing it in the Makefile.am the same way that the nut-scanner subdir is conditionalized is reasonable. I changed pkgsrc to depend on libltldl and now I get nut-scanner. I'll likely commit that change. But, the main nut package does not use usb, and I haven't figured out how that works with the usb split package. (I am not meaning to assert that nut-scanner does or does not belong as default or that users should or should not use it.) The nut-scanner I got doesn't seem that useful: OPTIONS: -C, --complete_scan: Scan all available devices except serial ports (default). * Options for USB devices scan not enabled: library not detected. * Options for SNMP devices scan not enabled: library not detected. * Options for XML/HTTP devices scan not enabled: library not detected. -O, --oldnut_scan: Scan NUT devices (old method). * Options for NUT devices (avahi method) scan not enabled: library not detected. * Options for IPMI devices scan not enabled: library not detected. -E, --eaton_serial <serial ports list>: Scan serial Eaton devices (XCP, SHUT and Q1). -T, --thread <max number of threads>: Limit the amount of scanning threads running simultaneously (not implemented in this build: no pthread support) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 194 bytes Desc: not available URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20220811/32ccc363/attachment-0001.sig>