delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/25/13:11:04

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:message-id:date:from:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=A8G4q2rErHtODtAGH1ya3Pk7Fdew8kFFzG8W0n87eqgKX66pQ3A84
slTVKcRsh57c/54k3vVIDCYdQVSaeYZ61a2HDUp2CZK5lK0omgy9KuyE2UGhNDBV
7WOLs/e6FiKObAxpl6Lhf4lG7FDYtuEfCvUjoJjoPrIheWhVCNlj9o=
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:message-id:date:from:reply-to:subject:to
:mime-version:content-type:content-transfer-encoding; s=default;
bh=FIdLb906BOUKMdEdQoqDnP4zk2c=; b=GX6T81m3WnrlD6ufLEzOAevcoTOW
uqie2ukYJZuXXi/moB2miUSrGHtBCegQ+EIr+6aljT593yhwTQZ+g6qZrnS2Wrk7
JNGs3wFCH6F59rh5gTSAdHHki9BCBKAyUpeaj0+fOPiwJ1cf0SofdmHvOMnIASSY
eFl37LcVVT0mX4A=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nm46.bullet.mail.ne1.yahoo.com
Message-ID: <1411664879.92703.YahooMailNeo@web120005.mail.ne1.yahoo.com>
Date: Thu, 25 Sep 2014 10:07:59 -0700
From: Vince Rice <vr8ce AT yahoo DOT com>
Reply-To: Vince Rice <vr8ce AT yahoo DOT com>
Subject: cygcheck -p indicate obsoleteness?
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id s8PHAvYq000838

tl;dr version: can cygcheck possibly be improved (I know, PTC :) ) to show that a package is obsolete, instead of just showing the “current” version? 

Longer explanation of where the request came from:
I’ve had an alias for c=clearw.exe for quite some time. I did an update today to get the bash exploit fix, and while I was at it updated the other packages that needed to be updated. Whereupon my alias didn't work, which was because clearw.exe was no longer present in /bin.

Hmmm. I was pretty sure I knew what provided clearw, but to confirm...

$ cygcheck -p .*clearw.*
Found 1 matches for .*clearw.*
ncursesw-5.7-18 - Utilities for terminal handling

Ah, something must have happened to my ncursesw, I just need to reinstall it. So I fired up setup to install ncursesw-5.7-18. Except that I couldn’t find it.

After looking around for a while, I then did a cygcheck -c. Which showed that ncursesw had the same version as ncurses. Interesting.

I then did a cygcheck -p “.*ncursesw.*” I got a long list, among them
...
ncursesw-5.7-18 - Utilities for terminal handling
ncursesw-5.7-18-src - Source code for Utilities for terminal handling
ncursesw-5.9-20140524-1 - Utilities for terminal handling
...

Hmmm. I then went back to setup and thought to uncheck “Hide obsolete” packages. And lo and behold, there was ncursesw, with a name of “ncursesw - obsoleted by ncurses”.

So, ncursesw was obsoleted, and thus I should use clear.exe instead of clearw.exe. However, it took me a while to figure that out because cygcheck -p didn't indicate that the ncursesw package was obsoleted.  Thus, the request.

Thanks, and thanks very much for cygwin in general.

--
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