Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-Id: <5.1.1.6.0.20021022114029.03cdfe90@pop.nycap.rr.com> X-Sender: billlist AT pop DOT nycap DOT rr DOT com Date: Tue, 22 Oct 2002 11:49:16 -0400 To: John Marrett , cygwin AT cygwin DOT com From: "William A. Hoffman" Subject: Re: Invalid arugment and IO Error with bunzip2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Note-from-DJ: This may be spam My guess is this problem is related to the ntsec stuff as are many recent posts. Someone correct me if I am wrong, but to get cygwin to work properly these days I had to do two things: 1. manually modify the /etc/passwd file mkpasswd -du mywindowslogin >> /etc/passwd Where mywindowslogin is the name of the account that you log into windows with. 2. set CYGWIN=nontsec There are many posts of gcc does not work, patch does not work, bz2 does not work, XXX does not work.... I suspect many of these problems are related to not being able to read/write files. Is there some way that this can be fixed? If you run setup on a new computer right now (or at least two days ago), gcc will not work and all files you create will be owned by a non-existent user. Perhaps there should be a warning or a FAQ entry, but I would think that the default running of setup should create a cygwin that works. -Bill At 11:35 AM 10/22/2002 -0400, John Marrett wrote: >Yesterday I installed the most recent version of cygwin. When I attempt >to uncompress bz2 files I get a Invalid Parameter / I/O Error. Tar works >with the j option however. I re-installed the bunzip2 packages from the >server but it didn't resolve the problem. > >Here are a few commands demonstrating the problem: > >$ bunzip2 xwinclip-Test06.exe.bz2 > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Invalid argument > Input file = xwinclip-Test06.exe.bz2, output file = >xwinclip-Test06.exe >bunzip2: Deleting output file xwinclip-Test06.exe, if it exists. $ tar >cjf test.tar.bz2 GNUstep $ tar tvjf test.tar.bz2 | more >drwxrwxrwx 1344/None 0 2002-10-21 13:43:04 GNUstep/ >drwxrwxrwx 1344/None 0 2002-10-21 13:43:04 GNUstep/.AppInfo/ >drwxrwxrwx 1344/None 0 2002-10-21 13:43:11 GNUstep/Defaults/ >-rw------- 1344/None 4023 2002-10-21 13:43:09 >GNUstep/Defaults/WindowMaker >-rw------- 1344/None 267 2002-10-21 13:43:09 >GNUstep/Defaults/WMGLOBAL >[...] >JohnF AT DEV029 ~ >$ bunzip2 test.tar.bz2 > >bunzip2: I/O or other error, bailing out. Possible reason follows. >bunzip2: Invalid argument > Input file = test.tar.bz2, output file = test.tar >bunzip2: Deleting output file test.tar, if it exists. > >Thanks in advance, > >-JohnF > > >-- >Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple >Bug reporting: http://cygwin.com/bugs.html >Documentation: http://cygwin.com/docs.html >FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/