From owner-freebsd-questions@FreeBSD.ORG Mon Apr 23 09:24:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ECA93106566C for ; Mon, 23 Apr 2012 09:24:31 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail05.adl6.internode.on.net (unknown [IPv6:2001:44b8:8060:ff02:300:1:6:5]) by mx1.freebsd.org (Postfix) with ESMTP id 430AB8FC15 for ; Mon, 23 Apr 2012 09:24:31 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EANselU/LevdH/2dsb2JhbABEskuCCQEBBAE4QRALGAkTAw8JAwIBAgFFBg0BBwEBBYgBBLlvkTMEiGGYWYR+gnmBTA Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail05.adl6.internode.on.net with ESMTP; 23 Apr 2012 18:54:29 +0930 Message-ID: <4F951F1D.3030604@ShaneWare.Biz> Date: Mon, 23 Apr 2012 18:51:33 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.3) Gecko/20120322 Thunderbird/10.0.3 MIME-Version: 1.0 To: n dhert References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: upgrade of portupgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2012 09:24:32 -0000 On 23/04/2012 17:13, n dhert wrote: > Today, my nightly run of portsnap informed me there is un update > for: # pkg_version -vIL= portupgrade-2.4.9.3.2< needs updating > (index has 2.4.9.3_1,2) > => SHA256 Checksum mismatch for pkgtools-2.4.9.3.tar.bz2.^M ===> > Giving up on fetching files: pkgtools-2.4.9.3.tar.bz2 ^M Make sure > the Makefile and distinfo file > (/usr/ports/ports-mgmt/portupgrade/dist info)^M are up to date. If > you are absolutely sure you want to override this^M check, type "make > NO_CHECKSUM=yes [other args]".^M *** Error code 1^M > > What's this problem with pkgtools ??? I have a $ ls -la > /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 -rw-r--r-- 1 root > wheel 79394 Aug 23 2011 > /usr/ports/distfiles/pkgtools-2.4.9.3.tar.bz2 but no 2.4.9.3_1,2 > version > > And, strange: if I try http://www.freebsd.org/ports, Search for > pkgtools in All it finds nothing ??? Isn't that package described > ?? > > What's going on here and how to solve it ?? The issue would appear to be the recent update was messed up. You are getting an error as the distfile you have has a different md5sum than what was saved to the port files. pkgtools is the name of the project, even though the sourceforge project name and the port name is portupgrade. On github it is pkgtools. I would guess the port name was chosen to prevent conflicts with pkg_* named tools in the base system. I would wait for the maintainer to sort things out. Currently you can download a tar.gz from github or a tar.bz from sourceforge both identified as 2.4.9.3 but there is some file differences between them. As this is a new maintainer just taken over the port about a week ago you may want to email them or submit a pr.