So, there are two bugs here:

  (1) aptitude crashes if you input a ?term pattern and
      apt-xapian-index isn't installed.

  (2) aptitude treats the string "~" as ?term(~), even though all other
      bare strings are treated as ?name patterns.

  The first one is a little subtle to fix, because I need to decide what
the right behavior is.  Should ?term degenerate to ?name+?description
without Xapian installed?  Should it match nothing?  Should it throw a
search error?  If I try (again) to make bare strings equivalent to
?term, how does that impact this decision?

  The second issue, on the other hand, is not subtle at all to fix, and
will solve the major problem.  A patch will be in git shortly.

  Furthermore, this implies a very simple workaround: when typing search
queries in aptitude, use the long form of patterns (~n => ?name, etc).

  Daniel



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to