public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: marco atzeri <marco.atzeri@gmail.com>
To: cygwin@cygwin.com
Subject: Re: saving list of packages
Date: Mon, 19 Dec 2011 10:11:00 -0000	[thread overview]
Message-ID: <4EEF0DC1.8080202@gmail.com> (raw)
In-Reply-To: <10535930.4729331324287925011.JavaMail.defaultUser@defaultHost>

On 12/19/2011 10:45 AM, efa wrote:
> hi,
> I need to save the list of installed packages, to:
> 1) reinstall Cygwin on the same system
> or
> 2) made the same custom Cygwin installation on another system
>
> Is there an easy method equivalent to the Debian distribution:
>
> To save:
> $ dpkg --get-selections>  installedPackagesDate.txt
>
> To recover:
> # dpkg --set-selections<  installedPackagesDate.txt&&  apt-get dselect-upgrade
>
> thanks,
> Valerio
>

1)
cygcheck -c -d|sed -e "1,2d" -e 's/ .*$//' > installedPackagesDate.txt

2)
see "./setup --help"
at
setup -P

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

  reply	other threads:[~2011-12-19 10:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-19  9:45 efa
2011-12-19 10:11 ` marco atzeri [this message]
2011-12-19 16:34 efa
2011-12-19 17:08 ` Jeremy Bopp
2011-12-19 17:11 efa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EEF0DC1.8080202@gmail.com \
    --to=marco.atzeri@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).