[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926476: apt search vs apt-cache search package list / output format



On Sat, Apr 06, 2019 at 11:53:48AM +0200, David Kalnischkies wrote:
> Hi,
> 
> On Fri, Apr 05, 2019 at 09:16:39PM +0200, Darshaka Pathirana wrote:
> > * [1] The list of packages differ (3 vs 59 packages)
> 
> This happens because "x-window-manager" as a string appears only in
> those three package descriptions. The old search finds them because
> these packages have a "Provides: x-window-manager" which the new one
> isn't taking into consideration. I think that can be argued both ways
> and then it might still not be the intended result for this request
> given that with such a 'search' a user is likely looking for packages
> with that provides line only (which is somewhat approximated by -n in
> old search, but that can again be argued both ways). So that request
> might be better served by 'show' – if it would list providers instead of
> being useless at the moment with virtual packages.

That'd get nasty, let's not have more magic in there. We should end up
with apt search/show ?provides(x-window-manager) instead.


-- 
debian developer - deb.li/jak | jak-linux.org - free software dev
ubuntu core developer                              i speak de, en


Reply to: