From owner-freebsd-questions@freebsd.org Fri May 20 13:58:14 2016 Return-Path: Delivered-To: freebsd-questions@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 0D61AB43F0F for ; Fri, 20 May 2016 13:58:14 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oceanview.tundraware.com", Issuer "oceanview.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C65B81D44 for ; Fri, 20 May 2016 13:58:13 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id u4KDvicH023732 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Fri, 20 May 2016 08:57:44 -0500 (CDT) (envelope-from tundra@tundraware.com) Subject: Re: pkgdb And pkgng? To: Polytropon References: <573E4312.5090505@tundraware.com> <8f43564f-db32-aa2d-d524-49309f22e366@infracaninophile.co.uk> <20160520124143.49283528@gumby.homeunix.com> <154ce5ce4b8.279f.0b331fcf0b21179f1640bd439e3f4a1e@tundraware.com> <20160520154642.fa93d2d6.freebsd@edvax.de> Cc: freebsd-questions@freebsd.org From: Tim Daneliuk Message-ID: <573F17D3.3040007@tundraware.com> Date: Fri, 20 May 2016 08:57:39 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160520154642.fa93d2d6.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (oceanview.tundraware.com [45.55.60.57]); Fri, 20 May 2016 08:57:45 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: u4KDvicH023732 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2016 13:58:14 -0000 On 05/20/2016 08:46 AM, Polytropon wrote: > On Fri, 20 May 2016 08:31:15 -0500, Tim Daneliuk wrote: >> I install from ports not packages and occasionally have to do a forced >> removal to get an upgrade to work. > > If I understand the pkg mechanism correctly, this doesn't make any > difference. Issuing "make install" creates a pkg-style package which > then gets installed, and "make deinstall" lets pkg remove installed > software. Both tasks involve dealing with the package database. > > Except that recently, port upgrades have been failing and - in one case - a manual make reinstall didn't do the trick. I had to do a pkg remove -fx and then reinstall. In that case, I wonder if the things dependent on the package I removed are noted by the package management system. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/