saving list of packages

2011-12-19 Thread e...@iol.it
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


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



Re: saving list of packages

2011-12-19 Thread marco atzeri

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



Re: saving list of packages

2011-12-19 Thread e...@iol.it
From: marco.atz...@gmail.com

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

seems that -P accept one package a time.
Example:
 setup -M -P arj ash atk ...
install only arj
This is trange as documentation say packages

Running the setup.exe for each package, download:
- the mirrors.lst
- the setup.bz2
once for each run. Not an optimal solution

More, the -q option open anyway the install windows on top of other windows 
and get focus. This is noisy as busy the PC while the installation finish.
With -q I cannot get to install a single package, as seems it does not select 
the dependancies.

Work with a single package using -M, but this require user interaction, doing 
that for hundreds package is not feasible.

Suggestions?
Valerio


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



Re: saving list of packages

2011-12-19 Thread Jeremy Bopp
On 12/19/2011 10:33 AM, e...@iol.it wrote:
 From: marco.atz...@gmail.com

 2)
 see ./setup --help
 at
 setup -P
 
 seems that -P accept one package a time.
 Example:
 setup -M -P arj ash atk ...

Use commas to separate package names:

setup -M -P arg,ash,atk,...


-Jeremy

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




Re: saving list of packages

2011-12-19 Thread e...@iol.it
Da: jer...@bopp.net
Use commas to separate package names:

setup -M -P arg,ash,atk,...

working, thanks.
This is not documented.

Valerio


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