Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-06-16 Thread Vincent Lefevre
On 2023-01-25 12:52:45 +0100, Julian Andres Klode wrote: > Documentation for apt patterns only lives in apt-patterns(7) and > not referenced elsewhere. Patterns work in apt-cache show, apt show, > apt list, and apt install-like commands (including in apt-get). On this point, I was not aware of

Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-06-14 Thread Ingo Brückl
On Wed, 25 Jan 2023 10:45:53 +0100, Julian wrote: > The --installed flag here behaves exactly as it is documented. It > filters the output list by packages that are installed; it doesn't > say anything about restricting matching to installed versions only > - matching always happens on all

Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-01-25 Thread Julian Andres Klode
On Wed, Jan 25, 2023 at 12:05:06PM +0100, Vincent Lefevre wrote: > On 2023-01-25 10:45:53 +0100, Julian Andres Klode wrote: > > You want to use `apt list > > '?any-version(?installed?depends(?exact-name(libpcre3)))'` > > instead (with apt >= 2.5.4). In earlier versions you may use: > > apt list

Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-01-25 Thread Vincent Lefevre
On 2023-01-25 10:45:53 +0100, Julian Andres Klode wrote: > You want to use `apt list > '?any-version(?installed?depends(?exact-name(libpcre3)))'` > instead (with apt >= 2.5.4). In earlier versions you may use: > apt list '?any-version(?archive(now)?depends(?exact-name(libpcre3)))' Note that this

Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-01-25 Thread Julian Andres Klode
Control: tag -1 wontfix On Wed, Jan 25, 2023 at 03:06:03AM +0100, Vincent Lefevre wrote: > Package: apt > Version: 2.5.5 > Severity: normal > > "apt-cache rdepends --installed" outputs false positives. > For instance: > > zira:~> apt-cache rdepends --installed libpcre3:amd64 > libpcre3 >

Bug#1029586: apt: "apt-cache rdepends --installed" false positives

2023-01-24 Thread Vincent Lefevre
Package: apt Version: 2.5.5 Severity: normal "apt-cache rdepends --installed" outputs false positives. For instance: zira:~> apt-cache rdepends --installed libpcre3:amd64 libpcre3 Reverse Depends: [...] grep [...] But according to "dpkg -s grep": Depends: dpkg (>= 1.15.4) | install-info