From owner-freebsd-questions@freebsd.org Wed Sep 29 00:25:18 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 142A86AE9BE for ; Wed, 29 Sep 2021 00:25:18 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 4HJxwX6wqZz3Pmr for ; Wed, 29 Sep 2021 00:25:16 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: by segfault.tristatelogic.com (Postfix, from userid 1237) id A57A34E6AB; Tue, 28 Sep 2021 17:25:10 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org Subject: Upgrading packages (fail) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4156.1632875110.1@segfault.tristatelogic.com> Content-Transfer-Encoding: quoted-printable Date: Tue, 28 Sep 2021 17:25:10 -0700 Message-ID: <4157.1632875110@segfault.tristatelogic.com> X-Rspamd-Queue-Id: 4HJxwX6wqZz3Pmr X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of rfg@tristatelogic.com designates 69.62.255.118 as permitted sender) smtp.mailfrom=rfg@tristatelogic.com X-Spamd-Result: default: False [-1.41 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.901]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[tristatelogic.com]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROMTLD(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; NEURAL_SPAM_LONG(0.79)[0.787]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14051, ipnet:69.62.128.0/17, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2021 00:25:18 -0000 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