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

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

    <bug>
          <bug_id>59796</bug_id>
          
          <creation_ts>2026-07-10 16:02:04 +0300</creation_ts>
          <short_desc>Виджет репозиториев всегда «No repository is enabled» — рассинхрон handle&apos;ов с pve-rs</short_desc>
          <delta_ts>2026-07-16 00:18:12 +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>proxmox-widget-toolkit</component>
          <version>unstable</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</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="Yuriy Khachaturyan">yukh975</reporter>
          <assigned_to name="darisishe@altlinux.org">darisishe</assigned_to>
          <cc>andy</cc>
    
    <cc>darisishe</cc>
    
    <cc>maksimenkovda</cc>
    
    <cc>shaba</cc>
    
    <cc>shrek</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>290997</commentid>
    <comment_count>0</comment_count>
    <who name="Yuriy Khachaturyan">yukh975</who>
    <bug_when>2026-07-10 16:02:04 +0300</bug_when>
    <thetext>Версии: p11/branch; proxmox-widget-toolkit-5.2.3-alt1, libpve-rs-perl-0.15.3-alt4, pve-manager-9.2.3-alt1.

После обновления PVE 9.1 → 9.2 страница Node → Updates → Repositories на всех узлах показывает критическую ошибку «No repository is enabled, you do not get any updates!», хотя classic-репозитории p11/branch (x86_64 + noarch) включены и apt-get update отрабатывает без ошибок.

Причина — рассинхрон идентификаторов standard-repos между бэкендом и фронтендом:

pve-rs (libpve-rs-perl-0.15.3-alt4): GET /nodes/&lt;node&gt;/apt/repositories отдаёт handle&apos;ы через дефис: &quot;classic-arch-specific&quot;, &quot;classic-noarch&quot;, &quot;gostcrypto&quot;;
proxmox-widget-toolkit-5.2.3-alt1: в updateStandardRepos() сравнение с подчёркиванием: handle === &apos;classic_arch_specific&apos; / &apos;classic_noarch&apos; (proxmoxlib.js, ~строки 8984 и 21077).
Сравнение никогда не истинно → флаги classicArchSpecificRepo/classicNoarchRepo остаются пустыми → updateState() всегда уходит в ветку addCritical(&apos;No repository is enabled…&apos;). На 9.1 написания совпадали, статус был корректный.

Воспроизведение: установить pve-manager 9.2.3-alt1 из p11/branch с включёнными classic x86_64+noarch → открыть Node → Updates → Repositories.
Ожидается: «You get supported updates for PVE».
Фактически: критический статус «No repository is enabled, you do not get any updates!».

Затронут также proxmox-backup-server 4.2.0.1-alt1 (виджет общий).

Фикс: привести написание к одному виду с любой стороны. Если правкой JS — только строковые литералы: в файле есть одноимённые голые переменные (let classic_arch_specific и т.д.), глобальная замена ломает парсинг всего proxmoxlib.js.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291131</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry Maksimenkov">maksimenkovda</who>
    <bug_when>2026-07-15 12:11:42 +0300</bug_when>
    <thetext>Проверялось в Sisyphus, ошибка воспроизводится.

Версии:
proxmox-widget-toolkit-5.2.3-alt1
libpve-rs-perl-0.15.3-alt4
pve-manager-9.2.3-alt1

Система:
ALT Server 11.1 (обновлено до Sisyphus)

Дополнительно:
* Воспроизводится в p11 на версиях
proxmox-widget-toolkit-5.2.3-alt1
libpve-rs-perl-0.15.3-alt4
pve-manager-9.2.3-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>291174</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2026-07-16 00:18:12 +0300</bug_when>
    <thetext>proxmox-widget-toolkit-5.2.3-alt2 -&gt; sisyphus:

Thu Jul 16 2026 Sergey Konev &lt;darisishe@altlinux&gt; 5.2.3-alt2
- apt: match ALT standard repository handles with dashes (Closes: 59796)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>