Re: how to check what cygwin packages are installed on the system ?
Christopher Faylor wrote: How dare you? I "dare" a lot of things. It's fun! This is unacceptable. Bummer. As you know, the Cygwin project is basically a front for a super-secret government shadow organization. Expect a visit from a Cygwin Reeducation Team (CRT) soon. I heard of CRTs but I thought that was all old school! Don't bother trying to hide. We're tracking your dermal implant. You probably thought that sting on your neck was a mosquito, eh? Actually I thought it might be West Niles! :-) -- I had a dream that all the victims of The Pill came back...boy, were they mad!! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 07:19:09PM -0700, Andrew DeFaria wrote: >Christopher Faylor wrote: >>On Tue, Aug 03, 2004 at 08:19:41AM -0700, Andrew DeFaria wrote: >>>To answer the question: "Which package brought in this file?" as in: >>> >>>$ cd /etc/setup >>>$ str=gcc.exe >>>$ for pkg in *.gz; do >>> zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in $pkg fi done >>> >>% cygcheck -f /bin/gcc.exe >>gcc-3.3.1-3 > >(Insert your best Johnny Carson voice here) "I did not know that!". > >And I looked but I just missed it I guess... How dare you? This is unacceptable. As you know, the Cygwin project is basically a front for a super-secret government shadow organization. Expect a visit from a Cygwin Reeducation Team (CRT) soon. Don't bother trying to hide. We're tracking your dermal implant. You probably thought that sting on your neck was a mosquito, eh? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
Christopher Faylor wrote: On Tue, Aug 03, 2004 at 08:19:41AM -0700, Andrew DeFaria wrote: To answer the question: "Which package brought in this file?" as in: $ cd /etc/setup $ str=gcc.exe $ for pkg in *.gz; do zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in $pkg fi done % cygcheck -f /bin/gcc.exe gcc-3.3.1-3 (Insert your best Johnny Carson voice here) "I did not know that!". And I looked but I just missed it I guess... -- What has four legs and an arm? A happy pit bull. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 11:42:49AM -0500, "DePriest, Jason R." wrote: > On Tuesday, August 03, 2004 11:39 AM, Christopher Faylor wrote > >>> On Tue, August 3, 2004 16:19, Andrew DeFaria said: > >> cygcheck -f works for some files apparently, but not all. > > > > Yeah, that's clearly a good reason *not* to use cygcheck at all and to > > just write your own shell script instead. > > > > In fact, the next time someone finds a bug in the cygwin DLL, I'd > > suggest just writing all of cygwin's functionality as a shell script, > > Consider it a "request for enhancement" without the requisite patch to > be thoughtfully considered. Specially formatted file list in postinstall files? cygcheck -f search *.done after failing to find a file? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 12:38:41PM -0400, Christopher Faylor wrote: >On Tue, Aug 03, 2004 at 10:58:48AM -0500, DePriest, Jason R. wrote: >>On Tuesday, August 03, 2004 10:45 AM, Robin Bowes wrote >> >>> On Tue, August 3, 2004 16:19, Andrew DeFaria said: Christopher Faylor wrote: > > And you would do that rather than use the tool designed for > providing > the information, because...? To answer the question: "Which package brought in this file?" as in: $ cd /etc/setup $ str=gcc.exe $ for pkg in *.gz; do > zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in > $pkg fi done >>> >>> Or: >>> >>> $ cygcheck -f /usr/bin/gcc.exe >>> gcc-3.3.1-3 >>> >>> R. >>> -- >>> http://robinbowes.com >> >>$ cygcheck -f /etc/inetd.conf >> >> >>$ for pkg in *.gz; do zcat $pkg | grep -q "inetd.conf"; if [ $? -eq 0 ]; >>then echo $str appears in $pkg; fi; done >>appears in xinetd.lst.gz >> >>cygcheck -f works for some files apparently, but not all. > >Yeah, that's clearly a good reason *not* to use cygcheck at all and to >just write your own shell script instead. > >In fact, the next time someone finds a bug in the cygwin DLL, I'd suggest >just writing all of cygwin's functionality as a shell script, just to >be safe. Btw, /etc/inetd.conf doesn't actually come from xinetd and the string /etc/inetd.conf doesn't actually occur in xinetd.lst.gz so this is a very good example of why it is dangerous to roll your own tools if you don't know what is going on. From the above, a novice user would assume that xinetd contained /etc/inetd.conf. /etc/inetd.conf is a generated file so it is not listed in the package lists of any package. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: how to check what cygwin packages are installed on the system ?
On Tuesday, August 03, 2004 11:39 AM, Christopher Faylor wrote > On Tue, Aug 03, 2004 at 10:58:48AM -0500, DePriest, Jason R. wrote: >> On Tuesday, August 03, 2004 10:45 AM, Robin Bowes wrote >> >>> On Tue, August 3, 2004 16:19, Andrew DeFaria said: Christopher Faylor wrote: > > And you would do that rather than use the tool designed for > providing the information, because...? To answer the question: "Which package brought in this file?" as in: $ cd /etc/setup $ str=gcc.exe $ for pkg in *.gz; do > zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears > in $pkg fi done >>> >>> Or: >>> >>> $ cygcheck -f /usr/bin/gcc.exe >>> gcc-3.3.1-3 >>> >>> R. >>> -- >>> http://robinbowes.com >> >> $ cygcheck -f /etc/inetd.conf >> >> >> $ for pkg in *.gz; do zcat $pkg | grep -q "inetd.conf"; if [ $? -eq >> 0 ]; then echo $str appears in $pkg; fi; done >> appears in xinetd.lst.gz >> >> cygcheck -f works for some files apparently, but not all. > > Yeah, that's clearly a good reason *not* to use cygcheck at all and to > just write your own shell script instead. > > In fact, the next time someone finds a bug in the cygwin DLL, I'd > suggest just writing all of cygwin's functionality as a shell script, > just to > be safe. > > cgf Consider it a "request for enhancement" without the requisite patch to be thoughtfully considered. -Jason PS - I apologize in advance for the legal disclaimer at the bottom of my email message. This is tacked on by our SMTP gateway and I have no control over it. -- -- Confidentiality notice: This e-mail message, including any attachments, may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. == -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 10:58:48AM -0500, DePriest, Jason R. wrote: >On Tuesday, August 03, 2004 10:45 AM, Robin Bowes wrote > >> On Tue, August 3, 2004 16:19, Andrew DeFaria said: >>> Christopher Faylor wrote: And you would do that rather than use the tool designed for providing the information, because...? >>> >>> To answer the question: "Which package brought in this file?" as in: >>> >>> >>> $ cd /etc/setup >>> $ str=gcc.exe >>> $ for pkg in *.gz; do >>> zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in $pkg fi done >> >> Or: >> >> $ cygcheck -f /usr/bin/gcc.exe >> gcc-3.3.1-3 >> >> R. >> -- >> http://robinbowes.com > >$ cygcheck -f /etc/inetd.conf > > >$ for pkg in *.gz; do zcat $pkg | grep -q "inetd.conf"; if [ $? -eq 0 ]; >then echo $str appears in $pkg; fi; done >appears in xinetd.lst.gz > >cygcheck -f works for some files apparently, but not all. Yeah, that's clearly a good reason *not* to use cygcheck at all and to just write your own shell script instead. In fact, the next time someone finds a bug in the cygwin DLL, I'd suggest just writing all of cygwin's functionality as a shell script, just to be safe. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
RE: how to check what cygwin packages are installed on the system ?
On Tuesday, August 03, 2004 10:45 AM, Robin Bowes wrote > On Tue, August 3, 2004 16:19, Andrew DeFaria said: >> Christopher Faylor wrote: >>> >>> And you would do that rather than use the tool designed for >>> providing >>> the information, because...? >> >> To answer the question: "Which package brought in this file?" as in: >> >> >> $ cd /etc/setup >> $ str=gcc.exe >> $ for pkg in *.gz; do >> >>> zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in >>> $pkg fi done > > Or: > > $ cygcheck -f /usr/bin/gcc.exe > gcc-3.3.1-3 > > R. > -- > http://robinbowes.com $ cygcheck -f /etc/inetd.conf $ for pkg in *.gz; do zcat $pkg | grep -q "inetd.conf"; if [ $? -eq 0 ]; then echo $str appears in $pkg; fi; done appears in xinetd.lst.gz cygcheck -f works for some files apparently, but not all. -Jason PS - I apologize in advance for the legal disclaimer at the bottom of my email message. This is tacked on by our SMTP gateway and I have no control over it. -- -- Confidentiality notice: This e-mail message, including any attachments, may contain legally privileged and/or confidential information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution, or copying of this e-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this e-mail message from your computer. == -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, August 3, 2004 16:19, Andrew DeFaria said: > Christopher Faylor wrote: >> >> And you would do that rather than use the tool designed for providing >> the information, because...? > > To answer the question: "Which package brought in this file?" as in: > > > $ cd /etc/setup > $ str=gcc.exe > $ for pkg in *.gz; do > >> zcat $pkg | grep -q $str if [ $? -eq 0 ]; then echo $str appears in $pkg fi done Or: $ cygcheck -f /usr/bin/gcc.exe gcc-3.3.1-3 R. -- http://robinbowes.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Aug 3 08:19, Andrew DeFaria wrote: > Christopher Faylor wrote: > >And you would do that rather than use the tool designed for providing > >the information, because...? > > To answer the question: "Which package brought in this file?" as in: > > $ cd /etc/setup > $ str=gcc.exe > $ for pkg in *.gz; do > > zcat $pkg | grep -q $str > > if [ $? -eq 0 ]; then > > echo $str appears in $pkg > > fi > > done What about cygcheck -f ? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 08:19:41AM -0700, Andrew DeFaria wrote: >To answer the question: "Which package brought in this file?" as in: > >$ cd /etc/setup >$ str=gcc.exe >$ for pkg in *.gz; do >> zcat $pkg | grep -q $str >> if [ $? -eq 0 ]; then >> echo $str appears in $pkg >> fi >> done % cygcheck -f /bin/gcc.exe gcc-3.3.1-3 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
Christopher Faylor wrote: On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote: Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen: On Aug 3 04:57, Povolotsky, Alexander wrote: How to check what Cygwin packages are installed on the system ? cygcheck -c You can also have a look in /etc/setup. And you would do that rather than use the tool designed for providing the information, because...? To answer the question: "Which package brought in this file?" as in: $ cd /etc/setup $ str=gcc.exe $ for pkg in *.gz; do > zcat $pkg | grep -q $str > if [ $? -eq 0 ]; then > echo $str appears in $pkg > fi > done -- Disinformation is not as good as datinformation. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what Cygwin packages are installed on the system ?
At 04:57 AM 8/3/2004, you wrote: >Hello, > >How to check what Cygwin packages are installed on the system ? 'cygcheck -cd' -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
[OT] Re: how to check what cygwin packages are installed on the system ?
Hi! Christopher Faylor wrote: > On Tue, Aug 03, 2004 at 04:27:13PM +0200, Gernot Hillier wrote: > In general, there is no reason to confuse people who are asking about > the proper way to do something by telling them about the low-level nuts > and bolts no matter how much the nuts and bolts may fascinate you > personally. Ok, so I'm saying sorry to all people who were confused by the extra information I gave and hope this didn't cause any trouble for anyone. I'm trying to not doing it on this list anymore. And I hope we can now really close this OT-thread as it confuses people who dig into the archives possibly more than my answer before. -- Bye, Gernot Hillier CT SE 2 Siemens AG, Mch P -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 04:27:13PM +0200, Gernot Hillier wrote: >Hi! > >Am Dienstag, 3. August 2004 15:46 schrieb Christopher Faylor: >> On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote: >> >Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen: >> >>On Aug 3 04:57, Povolotsky, Alexander wrote: >> >>>How to check what Cygwin packages are installed on the system ? >> >> >> >>cygcheck -c >> > >> >You can also have a look in /etc/setup. >> >> And you would do that rather than use the tool designed for providing >> the information, because...? > >... I like to understand roughly how things work (w/o always having to read >the sources). > >... I possibly want to remove the tool. > >... I want to double-check the output of the tool when it produces >inconsistent output or crashes. > >(... I didn't read the documentation about that) ;-) You didn't need to read the documentation. Corinna mentioned the correct command. In general, there is no reason to confuse people who are asking about the proper way to do something by telling them about the low-level nuts and bolts no matter how much the nuts and bolts may fascinate you personally. You might note that Corinna didn't point the OP to the cygcheck or setup sources, although she is familiar with each. >--> This was just thought as some sort of background information hint about >where this information is actually stored. Especially because it's stored >human-readable. Again, there was really no clue that the OP needed or wanted anything other than a pointer to the correct tool. You can be assured that cygcheck will always be able to display the current packages but the location of /etc/setup and other details like that are subject to change. There's no reason to potentially confuse the OP or future archive divers who are looking for information like this since we make no guarantees that /etc/setup will always be there. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
Hi! Am Dienstag, 3. August 2004 15:46 schrieb Christopher Faylor: > On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote: > >Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen: > >>On Aug 3 04:57, Povolotsky, Alexander wrote: > >>>How to check what Cygwin packages are installed on the system ? > >> > >>cygcheck -c > > > >You can also have a look in /etc/setup. > > And you would do that rather than use the tool designed for providing > the information, because...? ... I like to understand roughly how things work (w/o always having to read the sources). ... I possibly want to remove the tool. ... I want to double-check the output of the tool when it produces inconsistent output or crashes. (... I didn't read the documentation about that) ;-) --> This was just thought as some sort of background information hint about where this information is actually stored. Especially because it's stored human-readable. -- Bye, Gernot Hillier CT SE 2 Siemens AG, Mch P -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what cygwin packages are installed on the system ?
On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote: >Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen: >>On Aug 3 04:57, Povolotsky, Alexander wrote: >>>How to check what Cygwin packages are installed on the system ? >> >>cygcheck -c > >You can also have a look in /etc/setup. And you would do that rather than use the tool designed for providing the information, because...? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what Cygwin packages are installed on the system ?
Hi! Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen: > On Aug 3 04:57, Povolotsky, Alexander wrote: > > How to check what Cygwin packages are installed on the system ? > > cygcheck -c You can also have a look in /etc/setup. -- Bye, Gernot Hillier CT SE 2 Siemens AG, Mch P -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: how to check what Cygwin packages are installed on the system ?
On Aug 3 04:57, Povolotsky, Alexander wrote: > Hello, > > How to check what Cygwin packages are installed on the system ? cygcheck -c Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Co-Project Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/