Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Oct 2018 15:57:53 +0200
From:      Guido Falsi <mad@madpilot.net>
To:        Johan Hendriks <joh.hendriks@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: PKGBase installs openssl with pkg install -g 'FreeBSD-*'
Message-ID:  <5f914ce8-4e78-257b-7946-4d81592faf76@madpilot.net>
In-Reply-To: <dd9659c5-696f-6c72-0b47-a5a7a183674b@gmail.com>
References:  <dd9659c5-696f-6c72-0b47-a5a7a183674b@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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@madpilot.net>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f914ce8-4e78-257b-7946-4d81592faf76>