Bug 9773 - не работает ключ --querybynumber
Summary: не работает ключ --querybynumber
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: rpm (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 12:48 MSD by Alexey Gladkov
Modified: 2006-09-17 03:32 MSD (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Gladkov 2006-07-12 12:48:44 MSD
При использовании ключа --querybynumber rpm попадает в бесконечный цыкл.

$ rpmquery --qf='%{NAME}-%{VERSION}-%{RELEASE}\n' --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='%{NAME}-%{VERSION}-%{RELEASE}\n' --querybynumber 10 |head -960
|wc -l
960
Comment 1 Dmitry V. Levin 2006-09-17 02:24:55 MSD
Оно было исправлено в 4.2.3 -> 4.3
Comment 2 Dmitry V. Levin 2006-09-17 03:32:58 MSD
Fixed in rpm-4.0.4-alt66-g7be2f91.