Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2021 17:25:10 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   Upgrading packages (fail)
Message-ID:  <4157.1632875110@segfault.tristatelogic.com>

next in thread | raw e-mail | index | archive | help
I have been remiss in not keeping my FreeBSD system fully up to date.

I've just now tried to correct that via the following commands and actions=
:

   freebsd-update fetch
   freebsd-update install
   pkg upgrade
   (power cycle / reboot)

All seems to have gone mostly smoothly, however there are two things that
seem to have gone sideways and I'm utterly perplexed by both.

The first is that something in the log file I made while doing the above
steps suggests to me that I should have ended up with 12.2-RELEASE-p10
but uname -a is still telling me that I am running 12.2-RELEASE-p7.

So what did I do wrong?

The second and moere troubling issue is that after the above steps I was
left with at least two packages that simply would not work, apparently
because of some (non-)compatability issue relating to some things having
the following names:

    libicui18n.so.68
    libicuuc.so.68

Firstly, there was Firefox, which complained as follows (and then died):

    Shared object "libicui18n.so.68" not found, required by "libxul.so"

Second there was Postfix which complained (and then died) thusly:

   ld-elf.so.1: Shared object "libicuuc.so.68" not found, required by "sen=
dmail"

I see that, because I did "pkg upgrade", I now have the .69 versions of th=
e
relevant libraries, rather than what I had before, i.e. the .68 versions o=
f
these libraries.  I get that.  What I don't get is why the command
"pkg upgrade" failed to update my firefox and my postfix, as was obviously
required.

Again, my question is simple:  What did I do wrong?

After this I simply did pkg upgrades on firefox and postfix and not everyt=
hing
seems to be running fine again, but I remain mystified.  What oher install=
ed
packages are now also broken that I just haven't found out about yet?  And
more to the point, how can I get all those properly upgraded?

The FreeBSD Handbook, section 24.2.3.2 seems to be telling me that -might-
need to do this?  But do I really?  This seems rather extreme.

    pkg-static upgrade -f

Note that I have upgraded *neither* to a whole new release of FreeBSD itse=
lf,
nor even to a new point release of FreeBSD itself.  If I had done, then it
would make some sense that I would have to update literally EVERY installe=
d
package on my system, but I haven't.

So what command should I use to update just those installed packages, and
*only* and *all* of those packages that need to be updated, no more and no
less?


Regards,
rfg



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4157.1632875110>