Chicken/egg problem with pkg

Hans de Hartog hansdehartog at xs4all.nl
Fri Mar 10 13:27:38 UTC 2017


I have an old web server (10.1-RELEASE-p9) which is running for years

without any upgrades. Now I want to install a simple port (trafshow, to

see what's going on).

It first want to upgrade pkg from 1.5.1 to 1.10.0_2 but that doesn't work:

[1/1] Upgrading pkg from 1.5.1 to 1.10.0_2...
[1/1] Extracting pkg-1.10.0_2: 100%
/usr/local/lib/libpkg.so.4: Undefined symbol "openat"

Anything I try to do with pkg now gives me this error-message.

/var/log/messages says: pkg: pkg upgraded: 1.5.1 -> 1.10.0_2

How do I proceed from here (without upgrading everything, please)?

Thanks in advance,

Hans



More information about the freebsd-ports mailing list