From owner-freebsd-ports@freebsd.org Fri Mar 10 13:27:38 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 92002D0690F for ; Fri, 10 Mar 2017 13:27:38 +0000 (UTC) (envelope-from hansdehartog@xs4all.nl) Received: from lb1-smtp-cloud6.xs4all.net (lb1-smtp-cloud6.xs4all.net [194.109.24.24]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 377151614 for ; Fri, 10 Mar 2017 13:27:37 +0000 (UTC) (envelope-from hansdehartog@xs4all.nl) Received: from [IPv6:2001:985:5a75:1:223:24ff:fe18:4697] ([IPv6:2001:985:5a75:1:223:24ff:fe18:4697]) by smtp-cloud6.xs4all.net with ESMTP id uDSK1u0063NjpSx01DSLz2; Fri, 10 Mar 2017 14:26:21 +0100 To: freebsd-ports@freebsd.org From: Hans de Hartog Subject: Chicken/egg problem with pkg Message-ID: Date: Fri, 10 Mar 2017 14:26:19 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 13:27:38 -0000 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