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

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

    <bug>
          <bug_id>56550</bug_id>
          
          <creation_ts>2025-10-22 10:04:56 +0300</creation_ts>
          <short_desc>Не хватает зависимости на perl-Term-ANSIColor</short_desc>
          <delta_ts>2025-10-25 18:26:14 +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>dpkg</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Лавренко Егор Сергеевич">lavrenkoes</reporter>
          <assigned_to name="Vitaly Lipatov">lav</assigned_to>
          <cc>aris</cc>
    
    <cc>george</cc>
    
    <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>sychkinsv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>275217</commentid>
    <comment_count>0</comment_count>
    <who name="Лавренко Егор Сергеевич">lavrenkoes</who>
    <bug_when>2025-10-22 10:04:56 +0300</bug_when>
    <thetext>Система (обновленная до Sisyphus): 
Alt Server 10 x86-64

Версия пакета:
dpkg-1.21.22-alt3

Шаги воспроизведения:
1) Установить dpkg:
   # apt-get install dpkg
2) Вывести список переменных в зависимости от архитектуры:
   # dpkg-architecture --host-arch amd64

Ожидаемый результат:
Выводится список переменных, примерно:
DEB_BUILD_ARCH=amd64
DEB_BUILD_ARCH_ABI=base
DEB_BUILD_ARCH_BITS=64
DEB_BUILD_ARCH_CPU=amd64
...

Реальный результат:
Can&apos;t locate Term/ANSIColor.pm in @INC (you may need to install the Term::ANSIColor module) (@INC contains: /usr/local/lib64/perl/5.34 /usr/local/share/perl/5.34 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/share/perl5/Dpkg/ErrorHandling.pm line 71.

Дополнительная информация:
1. Аналогичное сообщение об ошибке возникает при использовании: dpkg-scanpackages
# dpkg-scanpackages 
Can&apos;t locate Term/ANSIColor.pm in @INC (you may need to install the Term::ANSIColor module) (@INC contains: /usr/local/lib64/perl/5.34 /usr/local/share/perl/5.34 /usr/lib64/perl5 /usr/share/perl5 /usr/lib64/perl5 /usr/share/perl5 /etc/perl5 /usr/lib/perl5/vendor_perl) at /usr/share/perl5/Dpkg/ErrorHandling.pm line 71.
2. Для решения достаточно установить perl-Term-ANSIColor:
# apt-get install perl-Term-ANSIColor
3. Ошибка воспроизводится в P10, P11</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275355</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2025-10-23 08:57:09 +0300</bug_when>
    <thetext>&gt; Can&apos;t locate Term/ANSIColor.pm in @INC (you may need to install the Term::ANSIColor module) 
Да, такой пакет всегда присутствует в системе с графикой, поэтому долго не замечали ошибку.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275356</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2025-10-23 09:23:17 +0300</bug_when>
    <thetext>dpkg-1.21.22-alt4 -&gt; sisyphus:

Thu Oct 23 2025 Vitaly Lipatov &lt;lav@altlinux.ru&gt; 1.21.22-alt4
- add Requires: perl-Term-ANSIColor (ALT bug 56550)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>275490</commentid>
    <comment_count>3</comment_count>
    <who name="Сычкин Сергей Витальевич">sychkinsv</who>
    <bug_when>2025-10-25 18:26:14 +0300</bug_when>
    <thetext>Стенд: ALT Server x86-64:
p10, dpkg-1.21.22-alt2 - Не воспроизводится.
p11, dpkg-1.21.22-alt2 - Не воспроизводится,
p11 + task, dpkg-1.21.22-alt4 - Не воспроизводится,
Sisyphus, dpkg-1.21.22-alt4 - Не воспроизводится.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>