Problem getting remote packages and installing
Buchbinder, Barry (NIH/NIAID) [E]
Sat Oct 27 02:31:00 GMT 2012
Michael Steele wrote on October 26, 2012 12:32 PM
>Below is the code I'm using to perform an unattended install, with extra
>REM -- Automates Cygwin installation and kick start the Barnyard2 compile
>REM -- Change to the directory of the executing batch file
>REM -- Configure our paths
>REM -- These are the packages we will install (in addition to the default
>REM *** INSTALLING DEFAULT PACKAGES
>setup -q -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"
>REM *** INSTALLING CUSTOM PACKAGES
>setup -q -D -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%" -P %PACKAGES%
>REM *** KICKSTART THE BARNYARD2 COMPILING PROCESS
>bash --login -i -c /cygdrive/d/temp/go-compile.sh
>REM RMDIR /S /Q d:\cygwin
>EXIT /B 0
>The problem is that it appears to transfer all the packages, because when I
>go into the downloads folder they are listed in there, but it's not
>An example is zip; It is in the downloads folder, but tying to user zip, it
>states it can't be found.
Can't say for sure, but -D and -L may be mutually exclusive, i.e., interfering
with each other. (Perhaps -D downloads and then blocks -L from happening.)
Try removing both.
setup -q -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"
Or run them one at a time, -D first.
setup -q -D -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"
setup -q -L -X -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"
I'd also remove -X, unless you have a good reason to not verify. That gives
setup -q -s %SITE% -l "%LOCALDIR%" -R "%ROOTDIR%"
=> Google, first hit =>
Disclaimer: Statements made herein are not made on behalf of NIAID.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin