How do I find which package has nut-monitor?
Well, it’s actually the nut-monitor package.
$ sudo apt-cache search nut-
nut - network UPS tools - metapackage
nut-cgi - network UPS tools - web interface
nut-client - network UPS tools - clients
nut-doc - network UPS tools - documentation
nut-server - network UPS tools - core system
nut-snmp - network UPS tools - SNMP driver
libups-nut-perl - network UPS tools - Perl bindings for NUT server
nut-ipmi - network UPS tools - IPMI driver
nut-powerman-pdu - network UPS tools - PowerMan PDU driver
nut-xml - network UPS tools - XML/HTTP driver
$ sudo apt install nut-monitor
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nut-monitor is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'nut-monitor' has no installation candidate
First, you don’t need to use sudo
with apt-cache
. I would in general recommend against privilege escalation except where needed.
Secondly, though what I said is true, you didn’t mention which version of Lubuntu you’re using. Assuming you’re using something later than 18.04, it doesn’t exist at all. Which is interesting because in 20.04, nut-client (which does exist) depends on it (but it doesn’t exist).
I would file a bug against the nut metapackage and/or contact the maintainers.
Or just download the software yourself which is actually the recommended solution.
As an aside, should be trying to figure out which package contains a particular file, the solution is apt-file search <file>
but you’ll need to install the apt-file package and keep its index updated.
I am using lubuntu 20.04.
Then you have your answer: it doesn’t, which seems like a bug.
It uses gtk2 and python2 which is unmaintained I guess.
I will look at porting it to python3 and qt.
No one should hold their breath.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.