Cygwin command line download issue

Jim Rather
Tue Oct 22 19:42:00 GMT 2019

I only get two lines in setup.log.full with regards to crypto-policies

Found category Base in package crypto-policies
Added manual package crypto-policies

I am confused, this script has worked faithfully for at least a year. I just emptied by %cyg_dir% and re-ran it. Afterwards, I am missing many basic packages like alternatives, bash, etc. so I am not sure what has changed and welcome any suggestions.

Here is my .bat script, I use the powershell command to grab the latest setup-x86_64.exe

@echo off

set url=
set cyg_dir=t:\cygwin64
set cyg_setup=%cyg_dir%\setup-x86_64.exe

powershell -command "invoke-webrequest -uri %url% -outfile %cyg_setup%"

%cyg_setup% ^
 --arch x86_64 ^
 --categories Admin,Archive,Base,Database,Editors,GNOME,Graphics,Interpreters,KDE,Libs,^
Security,Shells,Sugar,System,Tcl,Text,Utils,Web,X11,Xfce ^
 --delete-orphans ^
 --disable-buggy-antivirus ^
 --download ^
 --force-current ^
 --local-package-dir %cyg_dir% ^
 --no-admin ^
 --no-desktop ^
 --no-shortcuts ^
 --no-startmenu ^
 --no-version-check ^
 --only-site ^
 --prune-install ^
 --quiet-mode ^
 --remove-categories Accessibility,Audio,Debug,Devel,Doc,Games,Video ^
 --site ^


From: <> on behalf of Ken Brown <>
Sent: Tuesday, October 22, 2019 2:52 PM
To: <>
Subject: Re: Cygwin command line download issue

On 10/21/2019 1:12 PM, Jim Rather wrote:
> I use a script to download cygwin so I can install the utilities on disconnected systems. I have an issue. The package crypto-policies does not download even though I have chosen the Base category. I noticed when I manually download this package that it shows up in the noarch directory so I am not sure if this is why? I do choose --arch x86_64 in my script. I am assuming that I do not enter noarch there since I do get a lot of noarch packages just not sure why crypto-policies is not one of them. I noticed this issue when trying to update openssh to version 8 and the message I was receiving was that crypto-policies was missing. I can share my script, just not sure how much information you want me to post. Please let me know what else you need.

I think you need to say exactly what you did, with all details.  Everything in
the Base category should be downloaded/installed by default.

You might also look at /var/log/setup.log and /var/log/setup.log.full for clues
as to what went wrong.


Problem reports:
Unsubscribe info:

Problem reports:
Unsubscribe info:

More information about the Cygwin mailing list