delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/07/11/15:35:19

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=sMAxpl6j/JFWf7lixUrAtGDt9oZT8k
vMDRrf8VnbegHrgurrbyLoJoGa9QQAwLzkqJT2AsztCXkUTPjgUevylYk7xXZ5A+
fexBmCXfN1HkPsiLTXYStKYHRxKId3Vp30CnibVyGovAqTPSuVz6CfTgMzcICCwV
b+JqOBfIDn1rI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=HDKS8dnW65ke2+kcRMGuQOSKP0I=; b=SC6R
OgqNFwRONUhdBMj7h/VB7l3xpyVoVcfE3YXgOwnyNpBg6gzOL7qyrSSTPgKmZ+OI
P7r5NQGIfqvpk6pkajBGAopclI9Dqfr/jhfM3JPX0hdUAujGYJrGv1x4uD8wZG9a
GCWth6CHxcDTVWzVlX/argIapdkrH/WwplJAxzk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=Heavenly, avenger, Avenger, heavenly
X-HELO: blaine.gmane.org
To: cygwin AT cygwin DOT com
From: Mark Hansen <meh AT winfirst DOT com>
Subject: Re: After installing nc (netcat), nc.exe is not found
Date: Wed, 11 Jul 2018 12:34:37 -0700
Lines: 75
Message-ID: <990023c0-3b3f-abff-26d3-f255c5f328a2@winfirst.com>
References: <pi5dhj$8ap$1 AT blaine DOT gmane DOT org> <7aa60e78-2d1a-88f6-273a-0294c3e71b12 AT avenger DOT ws>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
In-Reply-To: <7aa60e78-2d1a-88f6-273a-0294c3e71b12@avenger.ws>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

On 7/11/2018 10:34 AM, Heavenly Avenger wrote:
> I have these versions, and nc is here happy and playful.
> 
> It is possible you attempted an upgrade while cygwin programs were
> running? Cygwin services also count. This is due a limitation on windows
> which locks files when they are in use, so cygwin updates can't replace
> the files and end up failing.
> 
> You may ensure everything is closed and services stopped, re-run
> setup-x86_64.exe, selecting the 'nc' package and switching it to
> "Reinstall". Then let the setup do its things.
> 
> If the setup is hanging, or have hung up and you had to force-close it
> the last install attempt you did, this is a strong sign that not just
> nc, but several other packages that have been attempted to upgrade may
> be compromised. To ensure that is not the case, a good
> 
> cygcheck -c
> 
> should help.
> 
> The package nc-1.10-4.tar.bz2 has 'usr/bin/nc.exe', which is the file
> you claim missing.
> 
> Hope this helps! :)
> 

Thanks for your help. I have notes that show what all I need to shut down when doing the
install. I caught all them (Cygwin SSHD, Cygwin cygserver, the X Server, and anything running
cygwin shells, etc.) - I think that's everything.

When I run cygcheck -c, it shows Incomplete on the two packages (nc and nc6) so they definitely
had problems, and appear to be the only ones which did.

I see that the .bz2 file is in my downloads area (I download to local without install, and then
install from local).

I tried running bunzip2 on that file and then extracting it using tar. The bunzip2 completed
quickly but the tar command took a long time (I'm not sure what it was doing during this time).

I'll try shutting everything down and doing a reinstall on the netcat stuff.

Thanks,

> 
> On 7/11/2018 2:10 PM, Mark Hansen wrote:
>> I've just updated to the latest Cygwin 64-bit installation on my 
>> Windows 7 PC. Included
>> in this update was the package for nc (nc: A simple but powerful 
>> network tool) version 1.107-4
>>
>> After downloading and installing, which all seemed to go fine, the man 
>> page for nc is there,
>> but nc.exe is not.
>>
>> I included the following (netcat-related) packages:
>> - nc, 1.107-4
>> - nc6, 1.0-1
>> - nc6-debuginfo, 1.0-1
>>
>> Is there something special I need to do to get nc.exe installed?
>>
>> Thanks,
>>
>>
>> -- 
>> Problem reports:       http://cygwin.com/problems.html
>> FAQ:                   http://cygwin.com/faq/
>> Documentation:         http://cygwin.com/docs.html
>> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>
>>
> 
> 



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019