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

Bug#1035412: does not grok search expression from release notes



Control: retitle -1 apt: support patterns in search

On Wed, May 03, 2023 at 06:14:27AM +0200, Marc Haber wrote:
> Package: apt
> Version: 2.6.0
> Severity: minor
> 
> Hi
> 
> the release notes suggest using the command line
> 
> aptitude search '?narrow(?installed, ?not(?origin(Debian)))'
> 
> to display alist of packages that is obsolete or from a third-party
> repo.
> 
> apt doesn't grok that search:
> 
> $ apt search '?narrow(?installed, ?not(?origin(Debian)))'
> E: Regex compilation error
> 
> Is this expected and intended behavior? Isn't apt supposed to be
> aptitude compatible regarding searches? Wouldn't it be nice to have this
> supported by apt as well?

Patterns are not supported in the search command, you want to use the
list command, or show, or other commands where it works (install and
friends).

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


Reply to: