Looking for advice on how to get setup.exe to complete successfully when I try to add a new package (file 5.00-3) to my existing Cygwin installation.
After upgrading setup.exe to 2.674, and during the setup.exe run, I am getting an error message popup. The text of the popup is: Can't open S:\Information Systems\Software and manuals\Cygwin/ftp%3a%2f%2fmirrors.xmission.com%2fcygwin%2f/release/alternatives/alternatives-1.3.30c-10.tar.bz2.tmp for writing: Permission denied or Can't open S:\Information Systems\Software and manuals\Cygwin/http%3a%2f%2fcygwin.lilengine.com%2f/release/alternatives/alternatives-1.3.30c-10.tar.bz2.tmp for writing: Permission denied (Message text varies according to which mirror I used.) This Cygwin installation has previously been updated or had new packages added several times without incident. I have not encountered this problem before upgrading setup.exe to 2.674. The following steps reliably reproduce the problem on my system: 1. run setup.exe 2. click Next 3. take default Install from Internet, click Next 4. take defaults root directory C:\cygwin and Install For All Users, click Next 5. take default Local Package Directory S:\Information Systems\Software and manuals\Cygwin, click Next 6. take default Direct Connection, click Next 7. select any working download site ex. http://cygwin.lilengine.com, click Next 8. read Setup Alert about first time install of major release Cygwin 1.7.1, click OK 9. select Full view, select package to be added (file 5.00-3), click Next 10. Progress window begins download of alternatives-1.3.30c-10.tar.bz2 from download site 11. Popup window titled Cygwin Setup appears with text of error message. 12. Click OK, setup.exe terminates Result of "$ cygcheck -s -v -r > cygcheck.out" is enclosed as attachment. I looked for reports of a similar problem with Google Search and also in the mailing list search at cygwin.com but learned nothing. I investigated disk free space and permissions issues and found: S: is a network drive of type NTFS. Windows reports free space on drive S: as 19.9 GB. The "ls" command reports that directories for the package server were successfully created immediately previous to the error, with permissions that allow file creation, and that another file (setup.ini) was successfully created immediately previous to the error within the newly created directory structure. drwxr-xr-x 1 Edward None 0 Dec 31 11:25 ftp%3a%2f%2fmirrors.xmission.com%2fcygwin%2f drwxr-xr-x 1 Edward None 0 Dec 31 11:15 http%3a%2f%2fcygwin.lilengine.com%2f -rwxr-xr-x 1 Edward None 624128 Dec 31 11:14 setup.exe ./ftp%3a%2f%2fmirrors.xmission.com%2fcygwin%2f: total 1136 drwxr-xr-x 1 Edward None 0 Dec 31 11:25 release -rw-r--r-- 1 Edward None 1162888 Dec 31 11:24 setup.ini ./ftp%3a%2f%2fmirrors.xmission.com%2fcygwin%2f/release: total 0 drwxr-xr-x 1 Edward None 0 Dec 31 11:25 alternatives ./ftp%3a%2f%2fmirrors.xmission.com%2fcygwin%2f/release/alternatives: total 0 ./http%3a%2f%2fcygwin.lilengine.com%2f: total 1136 -rw-r--r-- 1 Edward None 1162861 Dec 31 11:44 setup.ini drwxr-xr-x 1 Edward None 0 Dec 31 11:15 release ./http%3a%2f%2fcygwin.lilengine.com%2f/release: total 0 drwxr-xr-x 1 Edward None 0 Dec 31 11:15 alternatives ./http%3a%2f%2fcygwin.lilengine.com%2f/release/alternatives: total 0 I cannot write a file into the newly created directories using vi. The vi error message is "foo.bar" E212: Can't open file for writing. Nevertheless, setup.exe was evidently able to create setup.ini, but not the .tar.bz2.tmp file. My cygwin directory structure also contains directories for a different mirror which was created by a previous version of setup.exe. Within these I was able to write a file to directory "alternatives" using vi without any error message. http%3a%2f%2fwww.goh4.com%2fcygwin%2f/release: total 0 [snip] drwxr-xr-x 1 Edward None 0 Dec 31 12:14 alternatives [snip] http%3a%2f%2fwww.goh4.com%2fcygwin%2f/release/alternatives: total 84 -rw-r--r-- 1 Edward None 85006 May 29 2009 alternatives-1.3.30c-2.tar.bz2 To my eyes the permissions of the directories for the older server are identical to those related to the new servers. I would have tried using the mirror at goh4.com but it is no longer on the official list of mirrors (according to setup.exe). Best wishes, Edward
cygcheck.out
Description: Binary data
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple