From owner-freebsd-questions@freebsd.org Tue Jul 17 10:14:42 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7FDEE1035872 for ; Tue, 17 Jul 2018 10:14:42 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C875813F9 for ; Tue, 17 Jul 2018 10:14:42 +0000 (UTC) (envelope-from 4250.10.freebsd-questions=freebsd.org@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1531822482; x=1534414482; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=HxoLI8si9y3Kzg1wS8DPsRCjhxB+CJaGQgKn4bsGDsU=; b=mETeIMomLC394T4vvmba8LfAUEdnz6dVBOxk+GiLq5WuJp/tMRv/rM2ylQcKGZAJXkBBgFE+iNvt2jYEVVHtIyV17jV+U2c9pQu6cNyj86+Xyi5HidB9vkcRDEGIbBQXWOU0ZhBpgquDerorNnJQUlGfFJHEPI5XZmrPGxLX6X4= X-Thread-Info: NDI1MC4xMi4xOTMwMDAwMDA2NzhhZjQuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r4.h.in.socketlabs.com (s1-b40f.socketlabs.email-od.com [142.0.180.15]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 17 Jul 2018 06:14:34 -0400 Received: from smtp.lan.sohara.org (EMTPY [89.127.62.20]) by r4.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 17 Jul 2018 06:14:34 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.91 (FreeBSD)) (envelope-from ) id 1ffN03-000Gf9-VA; Tue, 17 Jul 2018 10:14:32 +0000 Date: Tue, 17 Jul 2018 11:14:32 +0100 From: Steve O'Hara-Smith To: khoogc@singnet.com.sg Cc: freebsd-questions@freebsd.org Subject: Re: pkg version libpkg_1.4 Message-Id: <20180717111432.e5042f3ffca5ddcf605afb1a@sohara.org> In-Reply-To: <708732397.7203.1531819532698.JavaMail.defaultUser@defaultHost> References: <708732397.7203.1531819532698.JavaMail.defaultUser@defaultHost> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2018 10:14:42 -0000 On Tue, 17 Jul 2018 17:25:32 +0800 (SGT) khoogc wrote: > Hi, > > I have upgraded to 11.2 from 11.1 and now find I cannot use pkg. When I > call pkg as root, I get "/usr/local/lib/libpkg.so.4: version LIBPKG_1.4 > required by /usr/local/sbin/pkg not defined" > > Help. How do I rectify this? Thanks Try this: pkg-static upgrade -f -- Steve O'Hara-Smith