Skip to content

Instantly share code, notes, and snippets.

@rprichard
Created April 6, 2016 20:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rprichard/2ac4d8406b637480d4a638a2a2ce15f9 to your computer and use it in GitHub Desktop.
Save rprichard/2ac4d8406b637480d4a638a2a2ce15f9 to your computer and use it in GitHub Desktop.
Cygwin installer doesn't complain if -P package is missing
I opened an elevated command prompt, then started mintty with Cygwin bash inside it:
C:\>c:\cygwin64\bin\mintty c:\cygwin64\bin\bash -l
In the elevated mintty terminal, I ran setup-x86_64.exe:
rprichard@VBWIN7 ~
$ cd c:/Users/rprichard/Downloads
rprichard@VBWIN7 /cygdrive/c/Users/rprichard/Downloads
$ ./setup-x86_64.exe --quiet-mode --verbose -P no-such-package-sekfhse38fk
Starting cygwin install, version 2.873
User has backup/restore rights
Current Directory: C:\Users\rprichard\Downloads
Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
root: C:\cygwin64 system
Selected local directory: C:\Users\rprichard\Downloads
net: Direct
Loaded cached mirror list
get_url_to_membuf http://cygwin.com/mirrors.lst
getUrlToStream http://cygwin.com/mirrors.lst
site: http://mirrors.kernel.org/sourceware/cygwin/
get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz.sig
get_url_to_membuf http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
getUrlToStream http://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.xz
compress_xz::bid_xz: success: 48
compress_xz::bid_xz: success: 48
.ini setup_version is 2.873, our setup_version is 2.873
Changing gid back to original
Visited: 272 nodes out of 8264 while creating dependency order.
Dependency order of packages: base-cygwin cygwin dash _autorebase hicolor-icon-theme adwaita-icon-theme libiconv2 libintl8 libffi6 libpcre1 liblzma5 libgcc1 libstdc++6 terminfo libncursesw10 libreadline7 zlib0 libxml2 libattr1 libgmp10 coreutils bash tzcode shared-mime-info gamin libfam0 gsettings-desktop-schemas desktop-file-utils libglib2.0_0 libjpeg8 libjasper1 libpng16 libjbig2 libtiff6 libgdk_pixbuf2.0_0 libexpat1 libglapi0 libedit0 libllvm3.7 dri-drivers libX11-xcb1 libXau6 libXdmcp6 libxcb1 libEGL1 libX11_6 libXext6 libxcb-glx0 libGL1 libXrender1 dejavu-fonts libfontconfig-common libbz2_1 libfreetype6 libfontconfig1 liblzo2_2 libpixman1_0 libxcb-render0 libxcb-shm0 libcairo2 libcroco0.6_3 libXft2 libgraphite2_3 libharfbuzz0 libdatrie1 libthai0 libpango1.0_0 librsvg2_2 gdk-pixbuf2.0-svg gtk-update-icon-cache libXcomposite1 libXfixes3 libXcursor1 libXdamage1 libXi6 libXinerama1 libXrandr2 libatk1.0_0 libgtk2.0_0 gtk2.0-engines-pixmap adwaita-themes alternatives findutils sed base-files bc binutils bitstream-vera-fonts bzip2 libp11-kit0 libtasn1_6 p11-kit p11-kit-trust ca-certificates libnettle4 libarchive13 libcom_err2 libkrb5support0 libk5crypto3 libkrb5_3 libgssapi_krb5_2 libidn11 libnghttp2_14 libopenssl100 libcrypt0 libdb5.3 libsasl2_3 libopenldap2_4_2 libunistring2 libpsl5 libssh2_1 libcurl4 cmake libsigsegv2 diffutils editrights libmpfr4 gawk grep csih cygrunsrv popt libpopt0 cygutils cygwin-devel cygwin32 cygwin32-binutils cygwin32-default-manifest cygwin32-w32api-headers cygwin32-w32api-runtime libisl13 libmpc3 cygwin32-gcc-core cygwin32-gcc-g++ libdbus1_3 dbus dbus-x11 dos2unix file libgdbm4 libsqlite3_0 libuuid1 libuuid-devel python fish fontconfig libatomic1 libisl10 libcloog-isl4 libgomp1 libquadmath0 libssp0 libvtv0 w32api-headers w32api-runtime windows-default-manifest gcc-core gcc-g++ libargp getent less openssh perl_autorebase perl_base perl perl-Carp perl-Error perl-TermReadKey rsync git libXss1 tcl tcl-tk xorg-x11-fonts-dpi75 gitk git-gui gnome-menus gnu-free-fonts groff gzip hostname inconsolata-fonts info ipc-utils keychain libICE6 libSM6 libXt6 libXmu6 libXpm4 libXaw7 libfontenc1 libXfont1 libXmuu1 libblkid1 liberation-fonts libgnome-menu3_0 libltdl7 libguile17 libiconv libmcpp0 libpipeline1 libsmartcols1 libxcb-composite0 libxcb-ewmh2 libxcb-icccm4 libxcb-util1 libxcb-image0 libxkbfile1 libyaml0_2 login luit lynx make util-linux man-db mcpp mingw64-i686-binutils mingw64-i686-winpthreads mingw64-i686-headers mingw64-i686-windows-default-manifest mingw64-i686-runtime mingw64-i686-gcc-core mingw64-i686-gcc-g++ mingw64-x86_64-binutils mingw64-x86_64-winpthreads mingw64-x86_64-headers mingw64-x86_64-windows-default-manifest mingw64-x86_64-runtime mingw64-x86_64-gcc-core mingw64-x86_64-gcc-g++ mintty nano ncurses openssl patch python-yaml rebase ruby-minitest4 ruby-json ruby-rdoc ruby-rake rubygems ruby run setxkbmap xz tar terminus-fonts unzip xxd vim-common vim vim-minimal which xauth xcursor-themes xdg-user-dirs xkbcomp xkeyboard-config xorg-server-common xf86-video-nested xorg-server xf86-video-dummy xmodmap xrdb xorg-x11-fonts-misc xterm xwin-xdg-menu xinit xlaunch zip
running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
Updating package information in /var/cache/rebase/rebase_pkg.
Updating rebase information for installed dynamic objects in /var/cache/rebase/rebase_lst.
Updating rebase information for installed executables in /var/cache/rebase/rebase_exe.
removing /var/cache/rebase/rebase_dyn
creating empty /var/cache/rebase/rebase_dyn
Looking for dynamic language modules/libraries in:
/usr/lib/python2.7/site-packages
Updating rebase information for dynamic language modules/libraries /var/cache/rebase/rebase_dyn.
Updating rebase information for user-defined dynamic objects /var/cache/rebase/rebase_user.
Updating rebase information for user-defined executables /var/cache/rebase/rebase_user_exe.
Rebasing with list /var/cache/rebase/rebase_all, built from /var/cache/rebase/rebase_lst /var/cache/rebase/rebase_dyn /var/cache/rebase/rebase_user.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygatomic-1.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cyggcc_s-1.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cyggomp-1.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cyggomp-plugin-host_nonshm-1.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygquadmath-0.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygssp-0.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygstdc++-6.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygvtv-0.dll: skipped because wrong machine type.
/usr/i686-pc-cygwin/sys-root/usr/bin/cygvtv_stubs-0.dll: skipped because wrong machine type.
The following DLLs couldn't be rebased because they were in use:
/usr/lib/gio/modules/cyggiofam.dll
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/cygpixbufloader-xpm.dll
/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/cygpixbufloader-svg.dll
/usr/lib/dri/swrast_dri.so
/usr/bin/cygz.dll
/usr/bin/cygxml2-2.dll
/usr/bin/cygxcb-util-1.dll
/usr/bin/cygxcb-shm-0.dll
/usr/bin/cygxcb-render-0.dll
/usr/bin/cygxcb-image-0.dll
/usr/bin/cygxcb-icccm-4.dll
/usr/bin/cygxcb-glx-0.dll
/usr/bin/cygxcb-ewmh-2.dll
/usr/bin/cygxcb-composite-0.dll
/usr/bin/cygxcb-1.dll
/usr/bin/cygthai-0.dll
/usr/bin/cygstdc++-6.dll
/usr/bin/cygrsvg-2-2.dll
/usr/bin/cygreadline7.dll
/usr/bin/cygpng16-16.dll
/usr/bin/cygpixman-1-0.dll
/usr/bin/cygpcre-1.dll
/usr/bin/cygpangoft2-1.0-0.dll
/usr/bin/cygpangocairo-1.0-0.dll
/usr/bin/cygpango-1.0-0.dll
/usr/bin/cygncursesw-10.dll
/usr/bin/cygnativeGLthunk.dll
/usr/bin/cyglzma-5.dll
/usr/bin/cygintl-8.dll
/usr/bin/cygiconv-2.dll
/usr/bin/cygharfbuzz-0.dll
/usr/bin/cyggtk-x11-2.0-0.dll
/usr/bin/cyggraphite2-3.dll
/usr/bin/cyggobject-2.0-0.dll
/usr/bin/cyggnome-menu-3-0.dll
/usr/bin/cyggmodule-2.0-0.dll
/usr/bin/cygglib-2.0-0.dll
/usr/bin/cygglapi-0.dll
/usr/bin/cyggio-2.0-0.dll
/usr/bin/cyggdk_pixbuf-2.0-0.dll
/usr/bin/cyggdk-x11-2.0-0.dll
/usr/bin/cyggcc_s-seh-1.dll
/usr/bin/cygfreetype-6.dll
/usr/bin/cygfontenc-1.dll
/usr/bin/cygfontconfig-1.dll
/usr/bin/cygffi-6.dll
/usr/bin/cygfam-0.dll
/usr/bin/cygexpat-1.dll
/usr/bin/cygdatrie-1.dll
/usr/bin/cygcroco-0.6-3.dll
/usr/bin/cygcairo-2.dll
/usr/bin/cygbz2-1.dll
/usr/bin/cygatk-1.0-0.dll
/usr/bin/cygXrender-1.dll
/usr/bin/cygXrandr-2.dll
/usr/bin/cygXinerama-1.dll
/usr/bin/cygXi-6.dll
/usr/bin/cygXfont-1.dll
/usr/bin/cygXfixes-3.dll
/usr/bin/cygXext-6.dll
/usr/bin/cygXdmcp-6.dll
/usr/bin/cygXdamage-1.dll
/usr/bin/cygXcursor-1.dll
/usr/bin/cygXcomposite-1.dll
/usr/bin/cygXau-6.dll
/usr/bin/cygX11-xcb-1.dll
/usr/bin/cygX11-6.dll
/usr/bin/cygLLVMipa-3.7.dll
/usr/bin/cygLLVMX86Utils-3.7.dll
/usr/bin/cygLLVMX86Info-3.7.dll
/usr/bin/cygLLVMX86Disassembler-3.7.dll
/usr/bin/cygLLVMX86Desc-3.7.dll
/usr/bin/cygLLVMX86CodeGen-3.7.dll
/usr/bin/cygLLVMX86AsmPrinter-3.7.dll
/usr/bin/cygLLVMTransformUtils-3.7.dll
/usr/bin/cygLLVMTarget-3.7.dll
/usr/bin/cygLLVMSupport-3.7.dll
/usr/bin/cygLLVMSelectionDAG-3.7.dll
/usr/bin/cygLLVMScalarOpts-3.7.dll
/usr/bin/cygLLVMRuntimeDyld-3.7.dll
/usr/bin/cygLLVMProfileData-3.7.dll
/usr/bin/cygLLVMObject-3.7.dll
/usr/bin/cygLLVMMCParser-3.7.dll
/usr/bin/cygLLVMMCJIT-3.7.dll
/usr/bin/cygLLVMMCDisassembler-3.7.dll
/usr/bin/cygLLVMMC-3.7.dll
/usr/bin/cygLLVMInstrumentation-3.7.dll
/usr/bin/cygLLVMInstCombine-3.7.dll
/usr/bin/cygLLVMExecutionEngine-3.7.dll
/usr/bin/cygLLVMCore-3.7.dll
/usr/bin/cygLLVMCodeGen-3.7.dll
/usr/bin/cygLLVMBitReader-3.7.dll
/usr/bin/cygLLVMAsmPrinter-3.7.dll
/usr/bin/cygLLVMAnalysis-3.7.dll
/usr/bin/cygGL-1.dll
/usr/bin/cygEGL-1.dll
running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_desktop-file-utils.sh"
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_fontconfig_cache_1.sh"
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_glib2.0.sh"
running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/zp_shared-mime-info.sh"
Changing gid to Administrators
Program directory for program link: C:\ProgramData\Microsoft\Windows\Start Menu\Programs
Desktop directory for desktop link: C:\Users\Public\Desktop
Ending cygwin install
rprichard@VBWIN7 /cygdrive/c/Users/rprichard/Downloads
$ echo $?
0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment