* On 2023-10-14 at 13:01 BST, Benny Siegert wrote:
I am in the process of upgrading my PineBook Pro, running 10_BETA, from the 2023Q2 to 2023Q3 binary package set with pkgin. However, somehow pkgin stops in the middle of the upgrade, leaving plenty of packages somehow uninstalled, with lots of warnings about missing dependencies. Here is a bit of logs from the pkg_install-error.log (the bottommost entries): ---Oct 14 10:25:09: refreshing SDL_image-1.2.12nb10... ---Oct 14 10:25:09: refreshing SDL2_ttf-2.20.2nb1... pkg_add: no pkg found for 'libxkbcommon>=1.5.0nb2', sorry. pkg_add: Can't install dependency libxkbcommon>=1.5.0nb2 pkg_add: Expected dependency libxkbcommon>=1.5.0nb2 still missing pkg_add: Can't install dependency SDL2>=2.26.5nb1 pkg_add: Expected dependency SDL2>=2.26.5nb1 still missing pkg_add: 1 package addition failed
Was this using the pkgin from 2023Q2 or 2023Q3? Q3's pkgin has a large number of fixes that cover pretty much all of the upgrade bugs I'm aware of, and so I'd always recommend installing pkgin first (e.g. pkg_add -U pkgin pkg_install) before performing a full upgrade.
That said are you sure the 2023Q3 binary package set is complete and consistent? I don't think I've seen this failure before, and I know some of the NetBSD package set uploads are not as atomic as I would like them to be.
If this can be reproduced with pkgin 23.8.1 and against a consistent package repository then I'd certainly be interested in a bug report for it.
And yeh, the pkg_install errors are just cascading failures because we don't handle these situations very well at all.
-- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com