Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cygwin Installation Hangs - man-db

Tags:

cygwin

I am trying to Install Cygwin 64 bit on a Windows 2012R2 (64 bit). Downloading and initial setup went through but when it reached man-db (/etc/postinstall/man-db) the setup hangs and remains so forever. I waited more than 1.5 Hours but still no progress. I checked log file in /var/log/setup.log which has following contents.

Updating index cache for path `/usr/share/man/man1'. Wait...
Processing manual pages under /usr/share/man...
/usr/bin/mandb: warning: /usr/share/man/man1/col.1.gz: whatis parse for col(1) failed
/usr/bin/mandb: warning: /usr/share/man/man1/imv.1 is a dangling symlink
/usr/bin/mandb: iconv_open ("UTF-8//IGNORE", "utf8"): Invalid argument
/usr/bin/mandb: warning: /usr/share/man/man1/mc.1.gz: whatis parse for mc(1) failed

I am not sure if I should cancel and start again. Will this setup come out of this stage with at least some error? Did anyone install 64 bit Cygwin and got this error ? Please help

like image 351
user2627240 Avatar asked Jun 27 '14 10:06

user2627240


People also ask

How do I install a Cygwin package?

If you really must do this, clicking on the "Default" label next to the "All" category to change it to "Install" will mark every Cygwin package for installation. Be advised that this will download and install tens of gigabytes of files to your computer.

How much space does Cygwin take up?

Only the minimal base packages from the Cygwin distribution are installed by default, which takes up about 100 MB. Clicking on categories and packages in the setup program package installation screen allows you to select what is installed or updated.

Why can’t I install a new version of Cygwin DLL?

Additionally, Windows does not easily allow overwriting of in-use executables so installing a new version of the Cygwin DLL while a package manager is using the DLL is problematic. Q: How do I install everything? A: You do not want to do this!

How do I update Cygwin to 64 bit?

Installing and Updating Cygwin for 64-bit versions of Windows. Run setup-x86_64.exe any time you want to update or install a Cygwin package for 64-bit windows. The signature for setup-x86_64.exe can be used to verify the validity of this binary using this public key.


2 Answers

Happens to me often. I was setting up 8 servers this week and it happened to 3 of them. Waited many hours and it is still would not finish. Sometimes the re-installation works, some it does not. So I have resorted to kill the mandb.exe process and that allows the installer to finish normally. So far I have found no side effects of doing so.

like image 167
turbofan Avatar answered Nov 05 '22 06:11

turbofan


After waiting for more than 3 hours, I decided to cancel the setup. Then I tried a reinstall, following the steps exactly as in the first install. I did not add or remove any packages. The already selected packages in the first attempt were recognized as installed. This time, the setup stopped at the above step (man-db) briefly and then completed the installation. No errors. So, re-installation solved my problem.

like image 39
user2627240 Avatar answered Nov 05 '22 07:11

user2627240