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

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

    <bug>
          <bug_id>45102</bug_id>
          
          <creation_ts>2023-02-02 13:20:30 +0300</creation_ts>
          <short_desc>Не блокирует установку пакета с приоритетом &lt; 0</short_desc>
          <delta_ts>2023-06-29 12:07:15 +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>apt</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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="Andrey Cherepanov">cas</reporter>
          <assigned_to name="Ivan Zakharyaschev">imz</assigned_to>
          <cc>boyarsh</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>iv</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>221067</commentid>
    <comment_count>0</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2023-02-02 13:20:30 +0300</bug_when>
    <thetext># apt-cache policy htop
htop:
  Установлен: (нет)
  Кандидат: 3.0.5-alt1:sisyphus+279027.100.1.2@1626370953
  Предпочтение: 3.0.5-alt1:sisyphus+279027.100.1.2@1626370953
  Таблица версий:
     3.0.5-alt1:sisyphus+279027.100.1.2@1626370953 -1
        500 http://mirror.yandex.ru p10/branch/x86_64/classic pkglist
# cat /etc/apt/preferences
Package: htop
Pin: release c=classic
Pin-Priority: -1

При этом пакет устанавливается, хотя в документации:
# man apt_preferences | grep &apos;P &lt; 0&apos;
       P &lt; 0  prevents the version from being installed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>