{"id":9556,"date":"2018-04-12T10:59:39","date_gmt":"2018-04-12T08:59:39","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/hayek\/jochen\/wp\/blog-en\/?p=9556"},"modified":"2018-04-12T10:59:39","modified_gmt":"2018-04-12T08:59:39","slug":"some-of-my-cygwin-utilities-started-yielding-exit-code-127-resolved-by-a-proper-reinstallation-of-cygwin-base","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2018\/04\/12\/some-of-my-cygwin-utilities-started-yielding-exit-code-127-resolved-by-a-proper-reinstallation-of-cygwin-base\/","title":{"rendered":"some of my cygwin utilities started yielding exit code 127 &#8212; resolved by a proper reinstallation of cygwin base"},"content":{"rendered":"<ul>\n<li><a href=\"https:\/\/superuser.com\/a\/987617\/894039\">https:\/\/superuser.com\/a\/987617\/894039<\/a><\/li>\n<\/ul>\n<p>CAVEAT: <span style=\"text-decoration: underline\">Always<\/span> do a cygwin update <span style=\"text-decoration: underline\">outside<\/span> cygwin:<\/p>\n<p><code>c:...\\Downloads&gt; .\\setup-x86_64.exe --no-admin<\/code><\/p>\n<p>I do my cygwin set-up with command line option <code>--no-admin<\/code>, as I do not have admin rights on that Windows box, so that&#8217;s the only way to achieve my personal cygwin installation.<\/p>\n<p>I download the file <code>setup-x86_64.exe<\/code>\u00a0to the above directory from <a href=\"https:\/\/cygwin.com\">https:\/\/cygwin.com<\/a> using my browser. That way I can call it in a <code>cmd.exe<\/code> window <span style=\"text-decoration: underline\">with<\/span> command line options.<\/p>\n<p>CAVEAT: Whenever the cygwin set-up complains about files it failed to install, do not ignore the complaint! You can find the full complaints in <code>\/var\/log\/setup.log.full<\/code> within your cygwin installation &#8212; but only after the creator of the file closed its write access.<\/p>\n<p>My cygwin64 cache is located here:<\/p>\n<p><code>...\\Downloads\\cygwin64<\/code><\/p>\n<p>Every cygwin mirror has its own subdirectory tree there.<\/p>\n<p>I tried downloading the missing files into the right location of my preferred mirror myself. Looked alright. But when the cygwin set-up tried to make use of the files, it found they were corrupt.<\/p>\n<p>Then I downloaded the missing files &#8220;somewhere else&#8221; and copied them over to the cygwin cache.\u00a0The cygwin set-up ran all through without any complaints, now I have a clean and working installation. Happy &#8230; finally.<\/p>\n<p>Update 2018-07-04 : I improved my approach of how to find out which URLs \/ files failed and automated their download elsewhere. I extracted the details from setup.log.full. Actually not that difficult. <strong>TBD<\/strong>: Provide the script and the description on github!\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/superuser.com\/a\/987617\/894039 CAVEAT: Always do a cygwin update outside cygwin: c:&#8230;\\Downloads&gt; .\\setup-x86_64.exe &#8211;no-admin I do my cygwin set-up with command line option &#8211;no-admin, as I do not have admin rights on that Windows box, so that&#8217;s the only way to achieve my personal cygwin installation. I download the file setup-x86_64.exe\u00a0to the above directory from https:\/\/cygwin.com using [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_share_on_mastodon":"0"},"categories":[82],"tags":[],"class_list":["post-9556","post","type-post","status-publish","format-standard","hentry","category-cygwin"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-2u8","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/9556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=9556"}],"version-history":[{"count":0,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/9556\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=9556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=9556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=9556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}