Austin A
Austin A

Reputation: 3138

Cygwin setup.exe hangs during install Windows 8? How should I continue?

So I have used Cygwin on and off for the past few years and I've installed it a handful of times. However, I've never experienced the install hanging during the install process. When this happens, the install literally freezes and doesn't budge a "bit." I've read that this is a somewhat common problem but like I said, I've never come across it before.

Here's a play-by-play of what I'm doing and where it hangs on me.

  1. Download the Setup-x86.exe from http://cygwin.com/install.html
  2. Install from Internet
  3. Use "C:\cygwin" as the default root directory for all users.
  4. Use "C:\Users\Austin\Downloads" as the default local package directory
  5. Direct Installation
  6. Use http://mirrors.kernel.org per this question.
  7. I don't specify any additional items for the install (I thought it would best to keep it as simple as possible after running into this problem multiple times.)
  8. I don't change any of the "Resolving Dependencies" (whatever those are)
  9. ...and everything goes great until a certain package get's tripped up and causes the install to hang. This is almost always a different package at a different point in the install. In this instance, it was texinfo-5.2-1.tar.xz and the install was at 94%! So close!!!

So what I'm looking for is how do I help the installer continue from this point? What do I need to do to go in cygwin and give it the extra motivation it needs to finish the job.


Work around to the problem above:

So after fiddling with the install a little more, I discovered that if you close the frozen install, and re-execute the setup file, it forces the install past the point where it got snagged the previous time. For example, after canceling the snagged install at 94% (mentioned above), I ran the setup file again and got to 95% before the install snagged again. I repeated this setup about 5 times before successfully installing cygwin.

Like I said, this is just a work around and may be the best/only solution.

Upvotes: 15

Views: 19227

Answers (7)

user3437245
user3437245

Reputation: 347

Look out for the BLODA (Big List Of Dodgy Apps) in the Cygwin FAQ, and uninstall:

BLODA - A list of applications that interfere with the normal working of Cygwin by intrusively injecting themselves in the system call chain

(Description taken from the Cygwin acronyms list)

Upvotes: 0

nwinder
nwinder

Reputation: 1

I was able to get this to work - mine was just stuck on 0/Perpetual with no progress bar. It was Windows defender, I added my cygwin folder (C:\cygwin64) into the exceptions for windows defender and progress started immediately.

Upvotes: 0

Toribio
Toribio

Reputation: 4078

Something that also worked for me, suggested from the cygwin mailing list, was doing a full rebase as follows:

  1. Run /usr/bin/rebase-trigger full on the cygwin terminal
  2. Reboot and terminate any cygwin-related processes and services
  3. Run the the setup again

Upvotes: 0

Andrew Chong
Andrew Chong

Reputation: 174

I want to share my solution which worked. BTW, I tried all the solutions listed here and could not solve.

  • Open Task Manager
  • Kill any dash.exe or bash.exe
  • Run Cygwin installation.
  • Make sure to use default install path. Somehow changing it did not work for me.
  • Get to the first stuck point
  • When it is stuck at *.dash, kill dash.exe
  • When it is stuck otherwise, kill bash.exe
  • Then it will lead to successful setup.

Upvotes: 8

TaylorGirl
TaylorGirl

Reputation: 11

I fixed the same type of problem installing CYGWIN on Windows 8 by turning off my firewall. The hang up disappeared and I had no problem after that.

Upvotes: 1

Eric
Eric

Reputation: 81

https://cygwin.com/faq.html#faq.setup.hang

I turned off my anti-virus software and the install proceeded through with no problems.

Upvotes: 8

formixian
formixian

Reputation: 1559

I had the exact same problem on my Win7 64 bits with the 64 bits installer. I successfully solved the problem by deleting the content of

c:\[cygwin_install_dir]\var\log

Which contained two files:

  • setup.log
  • setup.log.full

Restarted the installer and everything went well!

Hope this will help.

Upvotes: 16

Related Questions