Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

windows

cygwin

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.

like image 232
Austin A Avatar asked Jan 04 '14 05:01

Austin A


People also ask

How long does Cygwin take to install?

Every source I found online says a full installation of Cygwin takes over 1 GB, but mine is only 100 MB. I was pretty sure I downloaded everything from the mirror servers, but the install took less than 5 minutes to complete instead of hours, as I'd expect if it were installing gigabytes of software.

Where is Cygwin setup EXE?

Once you have an existing Cygwin installation, the setup.exe chooser is also used to manage your Cygwin installation. Information on installed packages is kept in the /etc/setup/ directory of your Cygwin installation; if setup.exe cannot find this directory it will act as if you have no Cygwin installation.


1 Answers

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.

like image 161
formixian Avatar answered Oct 21 '22 21:10

formixian