tech-pkg archive

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

Re: Python issues, mostly



* On 2024-09-17 at 17:21 BST, John Klos wrote:

I'd suggest pkg_rr do the same, or add your own hook to run "pkg_admin rebuild-tree" after each package is replaced.

That does fix a number of things, and the automated process includes both a pkg_admin rebuild and rebuild-tree, but in the case of vim-share, it doesn't fix anything.

That suggests you have a corrupt pkgdb. rebuild-tree writes the files from scratch, so there should not (in theory!) be the possibility that you end up with references to packages that no longer exist.

I've tried to help avoid these, so if you have a pkg_install that includes this commit:

  https://github.com/NetBSD/pkgsrc/commit/968bd9bb773ddd3d4558d45dbc3c329a98c504a0

that can at least rule that problem out.

There was a recent similar issue with llvm and rust, but that's been fixed.

It's usually caused by specific pkg-<version> DEPENDS matches, which is why I don't like them and would recommend avoiding them at all costs, and why it's usually vim that causes these problems.

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index