Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 May 2022 00:20:27 -0600
From:      Gary Aitken <freebsd@dreamchaser.org>
To:        questions@freebsd.org
Subject:   Re: bash error in newly installed 12.3-RELEASE
Message-ID:  <f0557877-d13a-1bcd-7b63-93628d8fac6c@dreamchaser.org>
In-Reply-To: <ede96d4a-a284-94e5-ccc5-c440d33de141@dreamchaser.org>
References:  <ede96d4a-a284-94e5-ccc5-c440d33de141@dreamchaser.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/21/22 3:15 PM, Gary Aitken wrote:
> In the process of upgrading from 11.4-RELEASE to 12.3-RELEASE
> 
> After upgrading the os, attempting to update packages
> 
> pkg-static upgrade -f managed to upgrade pkg ok, but on the next
> package, whose name is not displayed, I got something like <null>
> ..... (Y/n)?
> 
> So I did: portsnap fetch portsnap update pkg update bash This removed
> 32 pkgs, installed 5, upgraded 28, and reinstalled 6.
> 
> The reinstall appeared to work; I got a few messages about maybe
> wanting to manually remove some files (unrelated, e.g. apache configs
> and python27) but nothing else.
> 
> However, if I try to run bash, I get:
> 
> bash --version ld-elf.so.1 Undefined symbol
> "rl_filename_rewrite_hook" referenced from COPY relocation in
> /usr/local/bin/bash
...

Turns out I only *thought* I did the mandatory freebsd-update install after
rebooting.  Apparently.  I would swear otherwise, but when I did a
   freebsd-update fetch
it claimed I had a partially completed os install

A reboot followed by
   freebsd-update install
   pkg-static upgrade -f

fixed it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0557877-d13a-1bcd-7b63-93628d8fac6c>