Bug 42904

Summary: apt-cache - broken option --names-only
Product: Sisyphus Reporter: Илья Демьянов <cavetroll>
Component: aptAssignee: Ivan Zakharyaschev <imz>
Status: NEW --- QA Contact: qa-sisyphus
Severity: normal    
Priority: P5 CC: boyarsh, glebfm, imz, ldv, placeholder
Version: unstable   
Hardware: x86_64   
OS: Linux   

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