From owner-freebsd-ports@freebsd.org Wed Dec 27 16:15:07 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 767E6E9ED79 for ; Wed, 27 Dec 2017 16:15:07 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (quechua.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 424D56BA80 for ; Wed, 27 Dec 2017 16:15:07 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1eUEMD-0001tD-R2; Wed, 27 Dec 2017 17:15:05 +0100 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.15.2/8.15.2) with ESMTP id vBRGCjqR059087; Wed, 27 Dec 2017 17:12:45 +0100 (CET) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.15.2/8.15.2/Submit) id vBRGCji0059086; Wed, 27 Dec 2017 17:12:45 +0100 (CET) (envelope-from naddy) Date: Wed, 27 Dec 2017 17:12:45 +0100 From: Christian Weisgerber To: Kurt Jaeger Cc: freebsd-ports@freebsd.org Subject: Re: How to reinstall pkg(8) itself? Message-ID: <20171227161245.GA42272@lorvorc.mips.inka.de> References: <20171227155358.GI2827@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171227155358.GI2827@home.opsec.eu> User-Agent: Mutt/1.9.2 (2017-12-15) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 16:15:07 -0000 Kurt Jaeger: > > You have pkg(8) installed, but want to recompile and reinstall it. > > How do you do this? > > cd /usr/ports/ports-mgmt/pkg > make install ===> Installing for pkg-1.10.3_1 ===> Checking if pkg already installed ===> pkg-1.10.3_1 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of pkg without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop. -- Christian "naddy" Weisgerber naddy@mips.inka.de