public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* question on backup
@ 2011-10-27  7:24 Paul Allen Newell
  2011-10-27 11:26 ` Ken Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Allen Newell @ 2011-10-27  7:24 UTC (permalink / raw)
  To: cygwin; +Cc: pnewell

Hello to all:

My question is how do I get an archive of what cygwin packages I have 
installed. I have googled and only find info on how to do a full backup 
of the tree. I did a bit of a hunt through the cygwin email archives but 
only found one tidbit about "something used to work but doesn't now".

I would like to capture the info in a file. Whether it can be used in an 
install on a new machine is academic (though that would be nice). I just 
want a record in case I have to do a new install and want to know what I 
had before.

Thanks in advance,
Paul

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: question on backup
  2011-10-27  7:24 question on backup Paul Allen Newell
@ 2011-10-27 11:26 ` Ken Brown
  2011-10-27 11:30   ` Buchbinder, Barry (NIH/NIAID) [E]
  0 siblings, 1 reply; 6+ messages in thread
From: Ken Brown @ 2011-10-27 11:26 UTC (permalink / raw)
  To: cygwin

On 10/27/2011 3:24 AM, Paul Allen Newell wrote:
> Hello to all:
>
> My question is how do I get an archive of what cygwin packages I have
> installed.

/etc/setup/installed.db

Ken


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: question on backup
  2011-10-27 11:26 ` Ken Brown
@ 2011-10-27 11:30   ` Buchbinder, Barry (NIH/NIAID) [E]
  2011-10-27 14:18     ` Christopher Faylor
  0 siblings, 1 reply; 6+ messages in thread
From: Buchbinder, Barry (NIH/NIAID) [E] @ 2011-10-27 11:30 UTC (permalink / raw)
  To: cygwin

Ken Brown sent the following at Thursday, October 27, 2011 7:26 AM
>On 10/27/2011 3:24 AM, Paul Allen Newell wrote:
>> My question is how do I get an archive of what cygwin packages I have
>> installed.
>
>/etc/setup/installed.db

or

sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db

or to feed into setup.exe -P

sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db | tr '\n' , | sed -e 's/,$/\n/'

  Disclaimer:  Statements made herein are not made on behalf of NIAID.


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: question on backup
  2011-10-27 11:30   ` Buchbinder, Barry (NIH/NIAID) [E]
@ 2011-10-27 14:18     ` Christopher Faylor
  2011-10-27 21:32       ` Paul Allen Newell
  0 siblings, 1 reply; 6+ messages in thread
From: Christopher Faylor @ 2011-10-27 14:18 UTC (permalink / raw)
  To: cygwin

On Thu, Oct 27, 2011 at 07:30:04AM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote:
>Ken Brown sent the following at Thursday, October 27, 2011 7:26 AM
>>On 10/27/2011 3:24 AM, Paul Allen Newell wrote:
>>> My question is how do I get an archive of what cygwin packages I have
>>> installed.
>>
>>/etc/setup/installed.db
>
>or
>
>sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db
>
>or to feed into setup.exe -P
>
>sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db | tr '\n' , | sed -e 's/,$/\n/'

Is there some reason why you wouldn't just use cygcheck for this?

cgf

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: question on backup
  2011-10-27 14:18     ` Christopher Faylor
@ 2011-10-27 21:32       ` Paul Allen Newell
  2011-10-28 20:27         ` Oleksandr Gavenko
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Allen Newell @ 2011-10-27 21:32 UTC (permalink / raw)
  To: cygwin; +Cc: Newell, Paul

On 10/27/2011 7:18 AM, Christopher Faylor wrote:
> On Thu, Oct 27, 2011 at 07:30:04AM -0400, Buchbinder, Barry (NIH/NIAID) [E] wrote:
>> Ken Brown sent the following at Thursday, October 27, 2011 7:26 AM
>>> On 10/27/2011 3:24 AM, Paul Allen Newell wrote:
>>>> My question is how do I get an archive of what cygwin packages I have
>>>> installed.
>>> /etc/setup/installed.db
>> or
>>
>> sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db
>>
>> or to feed into setup.exe -P
>>
>> sed -n -e '2,$s/ .*$//p' /etc/setup/installed.db | tr '\n' , | sed -e 's/,$/\n/'
> Is there some reason why you wouldn't just use cygcheck for this?
>
> cgf
>

Ken: /etc/setup/installed.db is exactly what I was looking for, thanks

Barry: Thanks for sed suggestions, makes for a cleaner list of info 
(which matches my need of "an ascii record" of what I've installed)

Chris: I didn't know about cygcheck and had blinders on during my search 
as I was looking for a data file rather than a utility. Just read the 
docs, test drove it per docs, and its definitely better than what I was 
originally looking for. Thanks!

Paul

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: question on backup
  2011-10-27 21:32       ` Paul Allen Newell
@ 2011-10-28 20:27         ` Oleksandr Gavenko
  0 siblings, 0 replies; 6+ messages in thread
From: Oleksandr Gavenko @ 2011-10-28 20:27 UTC (permalink / raw)
  To: cygwin

28.10.2011 0:32, Paul Allen Newell пишет:
> On 10/27/2011 7:18 AM, Christopher Faylor wrote:
>> Is there some reason why you wouldn't just use cygcheck for this?
>>
> Chris: I didn't know about cygcheck and had blinders on during my search
> as I was looking for a data file rather than a utility. Just read the
> docs, test drove it per docs, and its definitely better than what I was
> originally looking for. Thanks!
>
   $ cygcheck -c
Cygwin Package Information
Package                   Version              Status
_update-info-dir          00989-1              OK
alternatives              1.3.30c-10           OK
aspell                    0.60.5-1             OK
aspell-doc                0.60.5-1             OK
......                   .......        ........


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-10-28 20:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-27  7:24 question on backup Paul Allen Newell
2011-10-27 11:26 ` Ken Brown
2011-10-27 11:30   ` Buchbinder, Barry (NIH/NIAID) [E]
2011-10-27 14:18     ` Christopher Faylor
2011-10-27 21:32       ` Paul Allen Newell
2011-10-28 20:27         ` Oleksandr Gavenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).