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

Re: apt debug



On 10/13/25 10:07, fxkl47BF@protonmail.com wrote:
On Mon, 13 Oct 2025, Greg Wooledge wrote:

On Mon, Oct 13, 2025 at 12:43:13 +0000, fxkl47BF@protonmail.com wrote:
apt list ~e^science

how can i see the details of what is being searched and how

man apt-patterns

       ?source-package(REGEX), ~eREGEX
           Selects versions where the source package name matches the specified
           regular expression.

man 7 regex

       '^'  (matching the null string at the beginning of a line)



i've read that several times
i don't see anything that tells me the details of how apt is performing the search

I guess you'll need to look at the source code for the exact answer.

But I'd guess it tries to matches the supplied regexp to the source package name field (one of the fields of each package, though for some reason not reported by apt show <package>), and reports the ones that match.


--
Eduardo M KALINOWSKI
eduardo@kalinowski.com.br


Reply to: