X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B33F993.20106@tlinx.org> Date: Thu, 24 Dec 2009 15:30:27 -0800 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.8.1.23) Gecko/20090812 Lightning/0.9 Thunderbird/2.0.0.23 ThunderBrowse/3.2.6.8 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: BIG Issue with 1.7 install... inuse files causes random problems References: <96d14cef0912241115i1d2f4333yad3ef06ad8c6e887 AT mail DOT gmail DOT com> <4B33D254 DOT 9030505 AT tlinx DOT org> <20091224221653 DOT GA19351 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20091224221653.GA19351@ednor.casa.cgf.cx> X-Stationery: 0.4.10 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Christopher Faylor wrote: > On Thu, Dec 24, 2009 at 12:43:00PM -0800, Linda Walsh wrote: >> Michael Kwong wrote: >>> I wonder if anyone else has seen this issue, but after installing 1.7 >>> from setup.exe, starting up cygwin causes it to complain about not >>> being able to find /usr/bin/sed, and the shell also doesn't seem to be >>> fully functional either (delete key doesn't work, less is not working >>> properly ... etc). >> I have no mkpasswd or group, no mount. Don't know what else is missing. >> I do have 'sed', but it might have been there from before (I didn't reinstall >> it). > >> I've done a cygcheck -c to see if any packages had missing files. >> >> cygwin-doc and gcc4- -- I reinstalled them but it changed nothing. >> >> I didn't really expect it to, since package 'cygwin' is supposed to contain >> mkpasswd, and it was listed as complete. > > So, you were looking specifically for "mkpasswd" and tried reinstalling > "cygwin-doc" and "gcc4-"? That doesn't make a lot of sense. ---- It doesn't make sense for mkpasswd or mkgroup to be missing from cygwin either. When you encounter something that doesn't make sense, you at least fix what you can and proceed. A basic rule of debugging. Fix what you know is broken then re-examine what is not working. It doesn't matter that A shouldn't cause B or that they are unrelated. You still have to fix "A". It's most likely related to: Andy Koppe wrote: > Did you get a message complaining about a Cygwin process still running > during the install? There does appear to be an issue with setup not > resuming correctly after that. It's pretty screwed up. I reinstalled 1.70-68, and still got a file inuse -- I searched with process explorer for what could have it in use and it returned nothing! (maybe explorer was holding it open, I dunno). But then finished with 1.70-68, and mkpasswd/group came back byt cygcheck -l cygwin was empty. (couldn't find /etc/setup/cygwin.lst.gz). Just now I again made sure nothing was running and reinstalled 1.71-1 (latest), and all expected files were(are) present and the listing is present. So it certainly seems to be some very bizarre behavior caused by the problem Andy mentioned. As for this: >> I have no mkpasswd or group, no mount. Don't know what else is >> missing. I do have 'sed', but it might have been there from before (I >> didn't reinstall it). > Please don't spread misinformation. There is no reason for sed to be a > prerequisite since it is in the Base category and should be installed > unless it is explicitly disabled. Please don't mistakenly believe that your expectations of reality are universally true in call cases. In order for most systems to boot up and install/run scripts, 'sed' is a prerequisite. AFAIK, it's presence is mandated for POSIX compliance. Without it one will experience random failures. Additionally, I've encountered cases where software I've been used to being part of some packages has been plit off and was not installed. In ~25 years of unix experience, the presence of these utilities was considered a given for proper functioning of installed programs. I have noticed, since the move to 1.7 that some of these prerequisite programs are no longer being installed with their main package. Specifically, I remember this being true with 'xhost' and 'xset' and the xserver. I've never encountered a case where the xserver install didn't include those utilities as part of the server package -- until 1.7 in cygwin. It's not so good that one can't control security on on their X server, by default -- one must install extra packages, now -- and neither can one change one's font-path or dpi after one's started 'X' with the provided shortcut. It's further annoying since the Xserver is installed with what is now a non-standard, ~30 year old resolution standard of 72dpi. Very few (if any) monitors use such poor resolution. The defaults should be 100dpi which comes much closer to modern standards (like the 96dpi now being the lowest possible setting in Win7 (a bit annoying with my 94dpi monitor! ;^)). But since when has MS cared about reality? So, programs that have always been included are no longer included, and some users also experienced the missing of the requisite 'sed' program. Thus my statement that prerequisites for some programs seems to be broken doesn't seem so much like misinformation, but an recitation of the obvious. Just because reality doesn't match with what you believe it 'should' be doesn't mean it may not be what some people are observing. It could boil down to you using different terms or definitions or simply not having encountered the same problems. Thanks, Linda -- 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