Re: Cannot pkg upgrade from local repo

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Sun, 08 Jun 2025 03:06:37 UTC
On Sat, 7 Jun 2025 16:23:37 -0400
George Mitchell <george+freebsd@m5p.com> wrote:

> On 6/3/25 20:32, George Mitchell wrote:
> > I have a build machine where I do all my source builds.$B".(B [... etc. etc. ...]
> So I deleted them all and then reinstalled them.  It worked, though it
> seems that it could have been unnecessary.  What exactly is the SAT
> solver?  On my build machine, I upgraded a whole pile of packages
> depending on libxml2 and libxslt in place using portmaster, and I didn't
> have to do a wholesale deletion of packages first.  So it seems likely
> to me that there must exist a sequence of package deletions and
> upgrades that could have worked on my client machines without deleting
> everything first.                                            -- George

Are you specifying local repo by something like `pkg upgrade -r custom`?
(here, "custom" should be replaced with your actual local repo name.)

Prioritizing repo sometime works but sometime doesn't for me,
thus, forcibly specifying my local repo.

And don't forget to try dry-run (option -n) first.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>