<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.rosa.ru/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://bugzilla.rosa.ru/"
          
          maintainer="d.postnikov@rosa.ru"
>

    <bug>
          <bug_id>20058</bug_id>
          
          <creation_ts>2026-03-13 13:10:18 +0300</creation_ts>
          <short_desc>[fix 13] rpm: avoid broken lua</short_desc>
          <delta_ts>2026-03-25 13:49:44 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>ROSA-based products</classification>
          <product>ROSA Fresh</product>
          <component>Packages from Main</component>
          <version>All</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Normal</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mikhail Novosyolov">m.novosyolov</reporter>
          <assigned_to name="ROSA Linux Bugs">bugs</assigned_to>
          <cc>a.proklov</cc>
    
    <cc>m.novosyolov</cc>
    
    <cc>v.potapov</cc>
          
          <cf_platform>ROSA13</cf_platform>
          <cf_security_code></cf_security_code>
          <cf_package></cf_package>
          

      

      

      <flag name="qa_verified"
          id="22494"
          type_id="1"
          status="+"
          setter="v.potapov"
    />
    <flag name="published"
          id="22560"
          type_id="3"
          status="+"
          setter="a.proklov"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>85923</commentid>
    <comment_count>0</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2026-03-13 13:10:18 +0300</bug_when>
    <thetext>Систему можно умудриться частично обновить так, что ни rpm, ни dnf больше не запускаются:

ilya13 ~ # dnf up
PANIC: unprotected error in call to Lua API (version mismatch: app. needs 503.0, Lua core provides 504.0)
Aborted (core dumped)

И прямой запуск rpm выдает то же самое.

Чтобы минимизировать проблему, добавил в пакет rpm зависимость от точной минорной версии lua. Теперь зависит не просто от lua 5.4, а от lua 5.4.

rpm 	4.17.0-21
https://abf.io/build_lists/5557097
https://abf.io/build_lists/5557098
https://abf.io/build_lists/5557099
https://abf.io/build_lists/5557100

ВНИМАНИЕ!!! rpm 4.17.0-20 в баге https://bugzilla.rosa.ru/show_bug.cgi?id=20016</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85925</commentid>
    <comment_count>1</comment_count>
    <who name="Mikhail Novosyolov">m.novosyolov</who>
    <bug_when>2026-03-13 13:12:00 +0300</bug_when>
    <thetext>&gt; Теперь зависит не просто от lua 5.4, а от lua 5.4.

Теперь зависит не просто от lua 5.4, а от lua 5.4.7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>85984</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry Postnikov">pastordidi</who>
    <bug_when>2026-03-16 21:26:08 +0300</bug_when>
    <thetext>*******************************
Обновление отослано в Тестинг</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86158</commentid>
    <comment_count>3</comment_count>
    <who name="Vladimir Potapov">v.potapov</who>
    <bug_when>2026-03-25 08:56:22 +0300</bug_when>
    <thetext>rpm-4.17.0-21
https://abf.io/build_lists/5557097
https://abf.io/build_lists/5557098
https://abf.io/build_lists/5557099
https://abf.io/build_lists/5557100
************************** Advisory **********************
Avoid broken lua 
**********************************************************
QA Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>