[Aptitude-devel] Bug#907922: aptitude search pattern

Shunchao Wu wushunchao00 at gmail.com
Tue Sep 4 08:01:38 BST 2018


Package: aptitude
Version: 0.6.11

Hi,

when I use letter "l" (limit display) to filter packages, the following
search patterns give different results:

  cmd1.  ?for x: ~D(         ~D( ?for z: ?x:depends( ?=z )))    # gives
nothing
  cmd2.  ?for x: ~D( ?for y: ~D( ?for z: ?x:depends( ?=z )))    # gives a
lot
I think these two commands should give the same results. The only
difference is that cmd2 has "?for y:" in it.
why different result?

  cmd1.  ?for x: ~D( ~D( ?for z: ?z:depends( ?=x )))  # result same as:  ?for
x: ~D( ~D( ?=x ))
  cmd2.  ?for x: ~D( ~D( ?for z:   ?depends( ?=x )))  # result not the same
again, why?

I think there are some bugs, so I report them to you. Thanks to you all.

My OS is Debian8.11 x64 in VirtualBox.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/aptitude-devel/attachments/20180904/c7bcb2fc/attachment.html>


More information about the Aptitude-devel mailing list