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

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

    <bug>
          <bug_id>9773</bug_id>
          
          <creation_ts>2006-07-12 12:48:42 +0400</creation_ts>
          <short_desc>не работает ключ --querybynumber</short_desc>
          <delta_ts>2006-09-17 03:32:59 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm</component>
          <version>unstable</version>
          <rep_platform>all</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>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Gladkov">legion</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>at</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</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>39126</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2006-07-12 12:48:44 +0400</bug_when>
    <thetext>При использовании ключа --querybynumber rpm попадает в бесконечный цыкл.

$ rpmquery --qf=&apos;%{NAME}-%{VERSION}-%{RELEASE}\n&apos; --querybynumber 10 |head -5
libxkbfile-1.0.3-alt1
libxkbfile-1.0.3-alt1
libxkbfile-1.0.3-alt1
libxkbfile-1.0.3-alt1
libxkbfile-1.0.3-alt1

$ rpmquery -a |wc -l
952
$ rpmquery --qf=&apos;%{NAME}-%{VERSION}-%{RELEASE}\n&apos; --querybynumber 10 |head -960
|wc -l
960</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40363</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-09-17 02:24:55 +0400</bug_when>
    <thetext>Оно было исправлено в 4.2.3 -&gt; 4.3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40371</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2006-09-17 03:32:58 +0400</bug_when>
    <thetext>Fixed in rpm-4.0.4-alt66-g7be2f91.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>