Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2012 18:51:33 +0930
From:      Shane Ambler <FreeBSD@ShaneWare.Biz>
To:        n dhert <ndhertbsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: upgrade of portupgrade
Message-ID:  <4F951F1D.3030604@ShaneWare.Biz>
In-Reply-To: <CAEFCw4vcGmGj6P7xhT-qQyu8Ohe4%2BKTER58B9=RHbovjvdGCUA@mail.gmail.com>
References:  <CAEFCw4vcGmGj6P7xhT-qQyu8Ohe4%2BKTER58B9=RHbovjvdGCUA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F951F1D.3030604>