Thursday, April 03, 2025

Re: How does pkg_info get the dependencies of a package?

On 2025-04-03, Neel Chakraborty <neelroboinfo365@gmail.com> wrote:
> Hello everyone, hope you're having a good day.
>
> I am trying to understand how does pkg_info -f
> show the dependencies of a certain package?

It just looks at the +CONTENTS file, either in a package from a mirror,
or from /var/db/pkg/(pkgname)/+CONTENTS

Any dependencies in there are recorded when the package was built


--
Please keep replies on the mailing list.

No comments:

Post a Comment