Re: PKGBase installs openssl with pkg install -g 'FreeBSD-*'

From: Guido Falsi <mad_at_madpilot.net>
Date: Fri, 12 Oct 2018 15:57:53 +0200
On 12/10/18 15:45, Johan Hendriks wrote:
> I am testing pkg base on a 12 current system, and all went fine, but
> after the update to ALPHA9 the system keeps installing openssl-1.0.2p_1,1
> 
> I do a make buildworld && make buildkernel Then make packages.
> Then i upgrade the package tree so to say with pkg update -r FreeBSD-base
> 
> And then i do a pkg install -g 'FreeBSD-*'
> 
> root_at_builder:/usr/src # pkg install -g 'FreeBSD-*'
> Updating FreeBSD repository catalogue...
> FreeBSD repository is up to date.
> Updating FreeBSD-base repository catalogue...
> FreeBSD-base repository is up to date.
> All repositories are up to date.
> Checking integrity... done (0 conflicting)
> The following 333 package(s) will be affected (of 0 checked):
> 
> New packages to be INSTALLED:
>     openssl: 1.0.2p_1,1 [FreeBSD]
> 
> Installed packages to be UPGRADED:
>     FreeBSD-acct: 12.0.s20181011130928 -> 12.0.s20181012122202
> [FreeBSD-base]
>     FreeBSD-acct-debug: 12.0.s20181011130928 -> 12.0.s20181012122202
> [FreeBSD-base]
>     FreeBSD-acpi: 12.0.s20181011130928 -> 12.0.s20181012122202
> [FreeBSD-base]
> 
> ....... SNIP .........
> 
>     FreeBSD-vi-debug: 12.0.s20181011130928 -> 12.0.s20181012122202
> [FreeBSD-base]
>     FreeBSD-zfs: 12.0.s20181011130928 -> 12.0.s20181012122202 [FreeBSD-base]
> 
> Installed packages to be REINSTALLED:
>     pkg-1.10.5_3 [FreeBSD] (options changed)
> 
> Number of packages to be installed: 1
> Number of packages to be upgraded: 331
> Number of packages to be reinstalled: 1
> 
> The process will require 11 MiB more space.
> 
> Then the system is installing openssl and reinstalls pkg but after a
> reboot pkg is not working anymore.
> And gives me the following error.
> root_at_builder:/usr/src # pkg
> ld-elf.so.1: Shared object "libssl.so.8" not found, required by "pkg"
> 
> What can i do to get out of this cycle.
> 

Use pkg-static until you have a new pkg package linked to the new libssl
to upgrade pkg to.

Another option is preserving a copy of libssl.so.8 (and the related
libcrypto too most probably) before pkg upgrade

-- 
Guido Falsi <mad_at_madpilot.net>
Received on Fri Oct 12 2018 - 11:58:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC