This is the mail archive of the
cygwin
mailing list for the Cygwin project.
cygcheck -p indicate obsoleteness?
- From: Vince Rice <vr8ce at yahoo dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Thu, 25 Sep 2014 10:07:59 -0700
- Subject: cygcheck -p indicate obsoleteness?
- Authentication-results: sourceware.org; auth=none
- Reply-to: Vince Rice <vr8ce at yahoo dot com>
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