pkgsrc-Users archive

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

Re: +CONTENTS issue with lang/perl5 update



Jonathan Perkin <jperkin%mnx.io@localhost> wrote:

> There are two likely causes of this:
> 
>   * You're running an older version of pkg_install prior to 20200701.

I'm running a build of NetBSD from October 2023. So unless NetBSD
doesn't ship with that then I don't believe that is the issue.

>   * 'make replace' doesn't call pkg_admin rebuild-tree.
> 
> For the 20200701 pkg_install release I made a number of changes to fix 
> +REQUIRED_BY generation, and in pkgin I ensured that rebuild-tree is 
> called after any pkgdb changes:
> 
>    https://github.com/NetBSD/pkgsrc/commit/185902296ec91fc88287c8c47d47a56304e9dc2d
>    https://github.com/NetBSDfr/pkgin/commit/7b8477561e49a2f174f6f4b37928b4e5d1da2f14
> 
> You should be able to fix it by manually running "pkg_admin 
> rebuild-tree", but it would be good if someone can ensure that the 
> replace target does this automatically (I never use it, sorry).

Okay, I will try this and see what happens!

Thanks, Jonathan.


Home | Main Index | Thread Index | Old Index