Solved pkg upgrade fails

Try pkg check -dan to find missing dependencies.
If you find the output reasonable, run pkg check -da to let pkg actually installing missing pkgs.

Another possibility would be official repo is still on building for upgraded ports that includes shlib version bumps and everything depending upon it (directly or indirectly). in this case, wait for a day (or at worst, several months) for maintainers of affected ports to fixup with backward-incompatible changes.

To be honest, when ports having a plenty of dependants (anything depending upon it) are to be upgraded, usually exp-run (build all ports on outside of official repo with patch for upgrading applied) are done and commit after all fallouts are addressed. But for ports having a small number of dependans, exp-run are NOT done as it's too resource consuming. So fallouts after commit could happen.
 
Not really sure what I did apart from running pkg upgrade -f many times, but the previous errors disappeared and I am none the wiser.
 
Not really sure what I did apart from running pkg upgrade -f many times, but the previous errors disappeared and I am none the wiser.
TBH, most of the time that's fine, where T-Aoki 's advice is helpful is that it's good to know what is missing as sometimes it's indicative of software that you don't need or want anymore still being installed. I can personally see that py311-acme is missing, but I'm fairly sure that I gave up on needing it months ago.
 
Back
Top