<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>39720</bug_id>
          
          <creation_ts>2021-02-24 11:40:45 +0300</creation_ts>
          <short_desc>при установке пакета Nut не ставится (отсутствует) графическая утилита управления ИБП</short_desc>
          <delta_ts>2021-02-25 14:01:18 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>nut</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Белаш Константин">bk</reporter>
          <assigned_to name="Aleksei Nikiforov">darktemplaralt</assigned_to>
          <cc>darktemplaralt</cc>
    
    <cc>ded</cc>
    
    <cc>mike</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>196452</commentid>
    <comment_count>0</comment_count>
    <who name="Белаш Константин">bk</who>
    <bug_when>2021-02-24 11:40:45 +0300</bug_when>
    <thetext>При установке пакетов nut nut-cgi nut-driver-ipmi nut-driver-snmp nut-server nut-driver nut-driver-usb утилита &quot;NUT Monitor&quot; в пунктах меню Mate не появляется (как например в Астре https://parus-electro.ru/all-publications/upravlenie-elektropitaniem-v-astra-linux.html )
По ссылке https://parus-electro.ru/all-publications/upravlenie-elektropitaniem-v-astra-linux.html на скриншоте консоли видно, что при установке nut-monitor у Астры ставится также пакет python-nut с зависимостями, который по всей видимости является графической утилитой управления.

В одном из дебиановских репозиториев получил список файлов пакета python-nut (https://packages.debian.org/stretch/all/python-nut/filelist):

/usr/lib/python2.7/dist-packages/PyNUT.py
/usr/share/doc/python-nut/AUTHORS.gz
/usr/share/doc/python-nut/NEWS.Debian.gz
/usr/share/doc/python-nut/NEWS.gz
/usr/share/doc/python-nut/README.gz
/usr/share/doc/python-nut/TODO.gz
/usr/share/doc/python-nut/changelog.Debian.gz
/usr/share/doc/python-nut/changelog.gz
/usr/share/doc/python-nut/copyright
/usr/share/pyshared/PyNUT.py

Что касается страницы для РЕД ОС (https://parus-electro.ru/all-publications/upravlenie-elektropitaniem-v-red-os.html), то там нет упоминания названия пакета для графической утилиты. Но упоминается утилита nut-client.
Если посмотреть содержание пакета nut-client в редхатовском nut-client-2.7.2-4.el7.x86_64.rpm (например, здесь https://centos.pkgs.org/7/epel-x86_64/nut-client-2.7.2-4.el7.x86_64.rpm.html), то там можно найти среди файлов и PyNUT.py , как и в пакете nut-monitor для дебиан.

Стал искать в ОС Альт (p9) пакеты в которых присутствует PyNUT.py и ничего не нашел:
host-191 ~ # epm -sf PyNUT
Locate contents index file(s) ...
 # apt-repo list
 # eget -O /tmp/eepm/altlinux/p9/branch/x86_64/contents_index http://mirror.yandex.ru/altlinux/p9/branch/x86_64/base/contents_index
--2021-02-19 14:18:29--  http://mirror.yandex.ru/altlinux/p9/branch/x86_64/base/contents_index
Распознаётся mirror.yandex.ru (mirror.yandex.ru)… 2a02:6b8::183, 213.180.204.183
Подключение к mirror.yandex.ru (mirror.yandex.ru)|2a02:6b8::183|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 OK
Длина: 145353867 (139M) [application/octet-stream]
Сохранение в: «/tmp/eepm/altlinux/p9/branch/x86_64/contents_index»

/tmp/eepm/altlinux/p9/branch/x8 100%[=====================================================&gt;] 138,62M  27,9MB/s    за 5,3s    

2021-02-19 14:18:35 (26,3 MB/s) - «/tmp/eepm/altlinux/p9/branch/x86_64/contents_index» сохранён [145353867/145353867]

 # lz4 -f /tmp/eepm/altlinux/p9/branch/x86_64/contents_index /tmp/eepm/altlinux/p9/branch/x86_64/contents_index.lz4
Compressed 145353867 bytes into 18180289 bytes ==&gt; 12.51%                      
удалён &apos;/tmp/eepm/altlinux/p9/branch/x86_64/contents_index&apos;
 # eget -O /tmp/eepm/altlinux/p9/branch/x86_64-i586/contents_index http://mirror.yandex.ru/altlinux/p9/branch/x86_64-i586/base/contents_index
--2021-02-19 14:18:35--  http://mirror.yandex.ru/altlinux/p9/branch/x86_64-i586/base/contents_index
Распознаётся mirror.yandex.ru (mirror.yandex.ru)… 2a02:6b8::183, 213.180.204.183
Подключение к mirror.yandex.ru (mirror.yandex.ru)|2a02:6b8::183|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 404 Not Found
2021-02-19 14:18:35 ОШИБКА 404: Not Found.

удалён &apos;/tmp/eepm/altlinux/p9/branch/x86_64-i586/contents_index&apos;
 # eget -O /tmp/eepm/altlinux/p9/branch/noarch/contents_index http://mirror.yandex.ru/altlinux/p9/branch/noarch/base/contents_index
--2021-02-19 14:18:36--  http://mirror.yandex.ru/altlinux/p9/branch/noarch/base/contents_index
Распознаётся mirror.yandex.ru (mirror.yandex.ru)… 2a02:6b8::183, 213.180.204.183
Подключение к mirror.yandex.ru (mirror.yandex.ru)|2a02:6b8::183|:80... соединение установлено.
HTTP-запрос отправлен. Ожидание ответа… 200 OK
Длина: 492123093 (469M) [application/octet-stream]
Сохранение в: «/tmp/eepm/altlinux/p9/branch/noarch/contents_index»

/tmp/eepm/altlinux/p9/branch/no 100%[=====================================================&gt;] 469,32M  26,7MB/s    за 18s     

2021-02-19 14:18:53 (26,7 MB/s) - «/tmp/eepm/altlinux/p9/branch/noarch/contents_index» сохранён [492123093/492123093]

 # lz4 -f /tmp/eepm/altlinux/p9/branch/noarch/contents_index /tmp/eepm/altlinux/p9/branch/noarch/contents_index.lz4
Compressed 492123093 bytes into 45230941 bytes ==&gt; 9.19%                       
удалён &apos;/tmp/eepm/altlinux/p9/branch/noarch/contents_index&apos;
Searching in
/tmp/eepm/altlinux/p9/branch/x86_64/contents_index*
/tmp/eepm/altlinux/p9/branch/noarch/contents_index*
for PyNUT... 
 # $ cat contents_index  | egrep -i --color -- &quot;(PyNUT)&quot; 
host-191 ~ #

Также пробовал найти файл gui-1.3.glade, который также есть в nut-client-2.7.2-4.el7.x86_64.rpm (https://centos.pkgs.org/7/epel-x86_64/nut-client-2.7.2-4.el7.x86_64.rpm.html). И тоже ничего:

host-191 ~ # epm -sf gui-1.3.glade
Locate contents index file(s) ...
 # apt-repo list
Searching in
/tmp/eepm/altlinux/p9/branch/x86_64/contents_index*
/tmp/eepm/altlinux/p9/branch/x86_64-i586/contents_index*
/tmp/eepm/altlinux/p9/branch/noarch/contents_index*
for gui-1.3.glade... 
 # $ cat contents_index  | egrep -i --color -- &quot;(gui-1.3.glade)&quot; 
host-191 ~ #</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196461</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2021-02-24 13:45:12 +0300</bug_when>
    <thetext>https://www.lestat.st/en/informatique/projets/nut-monitor  - такая утилита вас интересует ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196463</commentid>
    <comment_count>2</comment_count>
    <who name="Белаш Константин">bk</who>
    <bug_when>2021-02-24 13:58:58 +0300</bug_when>
    <thetext>(Ответ для Anton Farygin на комментарий #1)
&gt; https://www.lestat.st/en/informatique/projets/nut-monitor  - такая утилита
&gt; вас интересует ?

Да.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>196478</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-02-24 21:22:58 +0300</bug_when>
    <thetext>nut-2.7.4-alt4 -&gt; sisyphus:

 Wed Feb 24 2021 Aleksei Nikiforov &lt;darktemplar@altlinux&gt; 2.7.4-alt4
 - Packaged PyNUT GUI into nut-client package (Closes: #39720).
 - Disabled stripping debuginfo.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>