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:00 BST, John Klos wrote:
Also, just so it doesn't get forgotten, vim-share still gets confused
when upgrading, as it has (mostly) for years:
===> replace-destdir [vim-share-9.0.1598nb1] ===> Updating using
binary package of vim-share-9.0.1598nb1
/usr/bin/env /usr/local/sbin/pkg_add -K /usr/local/pkgdb -U -D
/usr/pkgsrc/editors/vim-share/work/.packages/vim-share-9.0.1598nb1.tgz
pkg_add: Can't open +CONTENTS of depending package vim-9.0.0960
pkg_add: 1 package addition failed
*** Error code 1
pkg_delete vim-9.0.0960
pkg_delete: No matching package for basename `vim-9.0.0960' of
`vim-9.0.0960'
soma# pkg_delete vim-share
Package `vim-share-9.0.1598' is still required by other packages:
vim-9.0.0960
vim-9.0.1598
It's not clear to me how pkg_rr works and I've never used it, but I
fixed a lot of issues around this a few years ago in pkg_install, and
nowadays pkgin will call "pkg_admin rebuild-tree" to resolve any
remaining problems after replacing packages:
https://github.com/NetBSD/pkgsrc/commit/185902296ec91fc88287c8c47d47a56304e9dc2d
https://github.com/NetBSD/pkgsrc/commit/278ac9777e03f098228f8dfac27ad8e103d2a76c
https://github.com/NetBSD/pkgsrc/commit/2f10b39a2dae0e5d6a987bc9a7d2a05fe22c588a
https://github.com/NetBSDfr/pkgin/commit/7b8477561e49a2f174f6f4b37928b4e5d1da2f14
I'd suggest pkg_rr do the same, or add your own hook to run "pkg_admin
rebuild-tree" after each package is replaced.
--
Jonathan Perkin - mnx.io - pkgsrc.smartos.org
Open Source Complete Cloud www.tritondatacenter.com
Home |
Main Index |
Thread Index |
Old Index