From owner-freebsd-ports@FreeBSD.ORG Sat Apr 26 16:37:41 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AC3E921 for ; Sat, 26 Apr 2014 16:37:41 +0000 (UTC) Received: from fire.magemana.nl (magemana.nl [IPv6:2a01:7c8:aaae:25e::1]) by mx1.freebsd.org (Postfix) with ESMTP id D30711BB3 for ; Sat, 26 Apr 2014 16:37:40 +0000 (UTC) Received: by fire.magemana.nl (Postfix, from userid 1003) id EEF0B4AB4D5; Sat, 26 Apr 2014 18:37:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by fire.magemana.nl (Postfix) with ESMTP id E94274AB4CB; Sat, 26 Apr 2014 18:37:38 +0200 (CEST) Date: Sat, 26 Apr 2014 18:37:38 +0200 (CEST) From: Melvyn Sopacua To: Beeblebrox Subject: pkgng doesn't upgrade if old package exists (Was: Re: libfreetype.so.9 errors) In-Reply-To: <1398014301417-5905087.post@n5.nabble.com> Message-ID: References: <1398014301417-5905087.post@n5.nabble.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Apr 2014 16:37:41 -0000 Hi, On Sun, 20 Apr 2014, Beeblebrox wrote: > I have read UPDATING, and it does not apply to my situation since I do a > full poudriere run of all ports on the system before each "# pkg upgrade -r > myrepo". Recent freetype update (20140416) should therefore not cause any > issue for me. I may have stumbled upon the root cause. pkg does not consider a package upgradeable if the old version of the package still exists in the remote repository. To reproduce: - Bump a portrevision for a port - Build it on your repository - Run pkg repo on the repository - Run pkg upgrade on the client machine You will see "1 package updated", but pkg will not proceed to update it. I don't know if poudriere cleans out stale versions, so it may not apply to this after all. -- Melvyn