On Mi, 08 ian 20, 18:19:11, Daniel Shahaf wrote:
> Package: release-notes
> Severity: normal
> Tags: patch
>
> Dear Maintainer,
>
> §4.2 of the release notes¹ recommends to run «aptitude search '~i(!~ODebian)'».
>
> I suggest to change the search pattern to «'?narrow(~i, (!~ODebian))'».
>
> That will also catch packages that were backported directly from sid, or
> packages that had been compiled with local patches (I have a few of
> those), etc..
Indeed.
The pattern should probably not mix long form with short form.
Additionally, I don't know why the brackets were used, as far as I
understand from the docs they are not needed here / do nothing.
Based on this the shortest form would be:
aptitude search '~S~i~ODebian'
or long form:
aptitude search '?narrow(?installed, ?not(?origin(Debian)))'
(tested on a system with locally compiled packages, but no non-Debian
packages and on a system with non-Debian packages and no locally
compiled packages).
The long form is quite self-explanatory, the short form is easier to
type.
Maybe both should be mentioned?
Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Attachment:
signature.asc
Description: PGP signature