Date: Mon, 10 Oct 2016 15:47:24 -0400 From: Tom Limoncelli <tal@whatexit.org> To: freebsd-questions@freebsd.org Subject: Forgot to rebuild third-party software. Now what? Message-ID: <CAHVFxgnTLs-joUqo5Q=WEF=%2B8toQN0UVZicZMYQ=Bhfj7bzbAg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
I've upgraded my system from 10.3 to 11.0-RELEASE and I forgot to rebuild third-party software. Now various shared libraries don't exist. Longer version... I was following the usual steps: # : > /usr/bin/bspatch # freebsd-update upgrade -r 11.0-RELEASE # freebsd-update install <reboot the system> # freebsd-update install <rebuild third-party software> <<<< Didn't do this part. # freebsd-update install The steps looked like this: root@exit148:~ # /usr/sbin/freebsd-update install src component not installed, skipped Installing updates... Completing this upgrade requires removing old shared object files. Please rebuild all installed 3rd party software (e.g., programs installed from the ports tree) and then run "/usr/sbin/freebsd-update install" again to finish installing updates. root@exit148:~ # /usr/sbin/freebsd-update install src component not installed, skipped Installing updates... done. root@exit148:~ # /usr/sbin/freebsd-update install src component not installed, skipped No updates are available to install. Run '/usr/sbin/freebsd-update fetch' first. Now I can't run pkg: $ sudo pkg upgrade sudo: error in /usr/local/etc/sudo.conf, line 0 while loading plugin `sudoers_policy' sudo: unable to load /usr/local/libexec/sudo/sudoers.so: Shared object "libpam.so.5" not found, required by "sudoers.so" sudo: fatal error, unable to load plugins Oops! I just realized that sudo is a third-party software package. If I become root some other way: # pkg upgrade Shared object "libssl.so.7" not found, required by "pkg" Interestingly enough, Apache HTTPd is running and my website is up. Suggestions on how to get out of this corner? I'm pretty stuck. I'm not even sure if I should reboot. (I do have backups... but given the state of the system, I'd probably have to restore to a new machine). Thanks! Tom -- Email: tal@whatexit.org Work: tlimoncelli@StackOverflow.com Blog: http://EverythingSysadmin.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHVFxgnTLs-joUqo5Q=WEF=%2B8toQN0UVZicZMYQ=Bhfj7bzbAg>