Bug 42904 - apt-cache - broken option --names-only
Summary: apt-cache - broken option --names-only
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: apt (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-01 09:03 MSK by Илья Демьянов
Modified: 2023-06-29 12:07 MSK (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Илья Демьянов 2022-06-01 09:03:36 MSK
$ rpm -q apt
apt-0.5.15lorg2-alt75.x86_64


$ apt-cache search postgres | wc -l
372
$ apt-cache search postgres --names-only | wc -l
219
$ apt-cache search postgres | awk '{print $1}' | grep -i postgres | wc -l
177
$ aptitude  search '!~v~npostgres' | wc -l
177