Curious pkg upgrade behavior

Adam Vande More amvandemore at gmail.com
Sat Sep 16 13:03:45 UTC 2017


On Sat, Sep 16, 2017 at 7:17 AM, Scott Ballantyne <sdb at ssr.com> wrote:

> On a 10.3-RELEASE-p11 system here. I have been moving to pkg for
> upgrades, and today tried a pkg upgrade, which upgraded several of the
> ports. After this, Samba failed with an internal error. I'm running
> Samba4, but this specific error seems to have been reported only with
> versions of Samba36.
>
> After much head scratching, I noticed that pkg had actually not
> upgraded Samba. So I tried running pkg upgrade again, which now
> dutifully upgraded Samba and solved my problem.
>
> I was surprised by this. Not sure if this was my problem, a bug in
> pkg, or just some mysterious phase of the moon situation.
>
> I would have thought pkg could have issued a message if it needed to
> be run again?
>
> Any insight?
>

/var/log/messages will contain a log of what pkg did, but net/samba4x is
not an upgrade to net/samba36 in terms of pkg's.

-- 
Adam


More information about the freebsd-questions mailing list