/usr/sbin/pkg broken after 10.1 to 10.2 upgrade

Niklaas Baudet von Gersdorff niklaas at kulturflatrate.net
Tue Nov 3 11:24:27 UTC 2015


On 03/11/15 12:20, Niklaas Baudet von Gersdorff wrote:
> On 03/11/15 08:16, Patrick Gibson wrote:
>> After doing what I believed to be a problem free update from 10.1 to
>> 10.2, I get the following error when running pkg:
>>
>> $ pkg
>> Shared object "libucl.so.1" not found, required by "pkg"
> 
> # pkg-static upgrade -f [pkg]
> 
> See:
> https://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html,
> 23.2.3.2. Upgrading Packages After a Major Version Upgrade
> 

If that does not solve your problem, reinstall from ports with

cd /usr/ports/ports-mgmt
make deinstall
make install

I hope this helps,

-- 
Niklaas

niklaas at kulturflatrate.net
1576 C217 C075 608F 8466  ED7D AE53 35B4 1C62 D5F3


More information about the freebsd-questions mailing list