netcat won't install

myron kowalskM at cs.moravian.edu
Tue Aug 12 13:00:39 PDT 2008


On Aug 12, 2008, at 3:26 PM, Bryan Blackburn wrote:

> On Aug 12, 2008, at 8:20 AM, myron wrote:
>
>> I tried installing netcat and the following problems came up. I
>> couldn't find anything in the macports archvies on this issue.
>> I'm new to macports (and really love it), but it looks like the
>> checksum is wrong in Portfile. Should I just change it to what the
>> target has?
>>
>> myron$ sudo port -dnv install netcat
> ...
>> Error: Checksum (md5) mismatch for nc110.tgz
>> Portfile checksum: nc110.tgz md5 402632f2fe01c169ff19a0ad6e9d608c
>> Distfile checksum: nc110.tgz md5 13826ef466aeb862635f89688b8a74bc
>
> One of two possibilities here, either the download became corrupted
> during transfer, or you happened to grab it from the third mirror
> listed, which returns an HTML page [1].  Try running
>
> sudo port clean --all netcat
>
> Then try your install again.  If it still fails, do the clean again,
> then before you do the install, run
> sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/netcat port -
> v fetch netcat
> This will force port to grab from the MacPorts mirror first [2].
> After that, the install should work.

Repeating the first step didn't work.

However, the second step did work. It download, so then I installed.
myron$ sudo port install netcat
--->  Verifying checksum(s) for netcat
--->  Extracting netcat
--->  Configuring netcat
--->  Building netcat with target generic
--->  Staging netcat into destroot
--->  Installing netcat 1.10_2
--->  Activating netcat 1.10_2
--->  Cleaning netcat

But it doesn't seem to have installed anything in /opt/local/bin
myron$ sudo find / -name netcat -print
/opt/local/share/doc/netcat
/opt/local/var/macports/distfiles/netcat
/opt/local/var/macports/receipts/netcat
/opt/local/var/macports/software/netcat
/opt/local/var/macports/software/netcat/1.10_2/opt/local/share/doc/ 
netcat
/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/ 
netcat

port installed returns that netcat is installed, though
...
netcat @1.10_2 (active)
...

>
>
> Bryan
>
> [1] - <http://trac.macports.org/ticket/16296>
> [2] - <http://trac.macports.org/wiki/ProblemHotlist#Fetchfailures>
>
>
>>
>> Error: Target org.macports.checksum returned: Unable to verify file
>> checksums
>> Warning: the following items did not execute (for netcat):
>> org.macports.activate org.macports.extract org.macports.checksum
>> org.macports.patch org.macports.configure org.macports.build
>> org.macports.destroot org.macports.install
>> Error: Status 1 encountered during processing.
>>
>>
>> --myron
>> =================================
>> Myron Kowalski
>> MoCoSIN Network/Systems Administrator
>> Moravian College
>> myron at cs.moravian.edu
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list