Upgrading packages (fail)

Doug McIntyre merlyn at geeks.org
Wed Sep 29 13:43:06 UTC 2021

On Tue, Sep 28, 2021 at 06:31:38PM -0700, Ronald F. Guilmette wrote:
> In message <e829d9fe-5b1c-605b-e617-a026c67b850b at holgerdanske.com>, 
> David Christensen <dpchrist at holgerdanske.com> wrote:
> >> I've just now tried to correct that via the following commands and actions:
> >> 
> >>     freebsd-update fetch
> >>     freebsd-update install
> >
> >I do 'pkg update' here.
> >
> >>     pkg upgrade
> >>     (power cycle / reboot)

There should be another
      	     freebsd-udpate install

here as well to cleanup and remove old shared libs no longer needed after you did
your `pkg upgrade`

> Also however, a bunch of stuff got removed, but with no real explanation
> of why:
>     Installed packages to be REMOVED:
>             abiword: 3.0.4_1

Frequently package dependancies change from time to time, and some
dependancy is no longer required by some base package you have
installed, and the old dependancy goes away.

I see this quite often.
You can also do a `pkg autoremove` to clean up packages that may be
orphaned but not detected by this process as well.

More information about the freebsd-questions mailing list