Skip navigation

Can't unzip .zip files... (ERROR 2)

20263 Views 12 Replies Latest reply: Apr 14, 2014 11:04 AM by Xavierp RSS
cerpha Level 1 Level 1 (0 points)
Currently Being Moderated
Jan 20, 2012 6:13 AM

all the latest zip files I've downloaded can't be unzipped using the standard unzipper tool (Archive Utility). I keep getting error 2: no such file or directory. When I use "the Unzipper" I can unzip the content but the content is instead corrupted.

The same files works fine to download and unzipp for others. But if they are downloaded on their computer and then transferred to min using a usb stick the samething happens.

 

One of the files in question is the latest mercurial version for OSx 10.7 from http://mercurial.selenic.com/downloads/

 

I'm using the latest macbook pro with the i7 processor and osx 10.7.2 and I'm a beginner!

 

I'd appreciate any help!

 

Cheers

André

MacBook Pro (15-inch Late 2011), Mac OS X (10.7.2)
  • Shootist007 Level 6 Level 6 (16,640 points)
    Currently Being Moderated
    Jan 20, 2012 6:28 AM (in response to cerpha)

    Don't know what to say as files that work on other computers and then copied to USB and then to your computer are corrupt. The problem must be on your computer.

     

    Are you using any encryption system for the drive?

  • thomas_r. Level 7 Level 7 (26,960 points)
    Currently Being Moderated
    Jan 21, 2012 5:43 AM (in response to cerpha)

    It's not a virus.  See my Mac Malware Guide regarding that topic:

     

    http://www.reedcorner.net/guides/macvirus

     

    Something is probably causing those zip files to become corrupt, but what that might be is hard to say.  I'd try repairing your hard drive with Disk Utility.  (Hold down command-R at startup to repair the boot drive.)  I'd also do some careful checking of your network connection to make sure that's not introducing errors in downloaded data.

  • bikerL Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 31, 2012 3:22 PM (in response to thomas_r.)

    I believe Thomas is correct. I had the same problem you did, having donwloaded something through a Starbuck's wireless access point. I switched wireless networks and re-downloaded and the file extracted properly. I think the original file was corrupt.

  • FermilabMacUser Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 17, 2012 6:19 PM (in response to cerpha)

    I have just had the same error.  However if I use the "unzip" command downloaded via fink (meaning this is a command line commmand)

     

    > /sw/bin/unzip file.zip

     

    it works just fine.

     

    The native version

     

    > /usr/bin/unzip file.zip

     

    also works (so you don't need fink).

     

    BTW My file was encrypted if that makes any difference. I am running Lion 10.7.4.

  • spjuver555 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 14, 2013 1:26 PM (in response to cerpha)

    Same problem here.

  • spjuver555 Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 24, 2013 8:44 AM (in response to cerpha)

    I solve it by reparing permission.

  • johnmansfield Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jul 30, 2013 4:01 PM (in response to cerpha)

    I was getting "Error 2", but when I switched to using command-line "unzip" command I just got a different error:

     

    >> End-of-central-directory signature not found.  Either this file is not

      a zipfile, or it constitutes one disk of a multi-part archive.  In the

      latter case the central directory and zipfile comment will be found on

      the last disk(s) of this archive.

     

    ... I did find a fix for this, though I don't understand it. I used the "jar xvf" command given as a solution here:

    http://askubuntu.com/questions/54904/unzip-error-end-of-central-directory-signat ure-not-found

  • iHamed\'s iPhone Level 1 Level 1 (0 points)
    Currently Being Moderated
    Sep 17, 2013 9:59 AM (in response to johnmansfield)

    I found out that happen when the zip file was password protected.

     

    the archive utility didn't prompt for a password and just gave out an error message.

     

     

    Unable to expand "??????????????????" into "???????????????". (Error 2 - No such file or directory)"


  • Angel Y. Level 1 Level 1 (0 points)
    Currently Being Moderated
    Jan 17, 2014 9:36 AM (in response to cerpha)

    I verified (to see what was the problem, though I could've just gone straight to repair) and repaired permissions using Disk Utility. Apparently, there was, in my case, some sort of massive permissions problem caused by iBooks, which was impeding other Apps I use for documents to function improperly. Luckily, after repairing permissions, the problem was solved. Hope this helps.

  • EnaeZ Level 1 Level 1 (0 points)
    Currently Being Moderated
    Apr 3, 2014 9:24 PM (in response to cerpha)

    I had the same problem on a company's computer and I found this post which is very useful coz I recognize it's a drive's permission problems that caused this, not that the file was corrupted. Unfortunately I couldn't repair permission due to Company's Mac privileges, therefore I copied the file onto an external harddrive which I thought is a seperate drive and probably won't have those permission problems, and it worked too, unzipped nicely.

     

    Hope it's helpful.

  • Xavierp Level 1 Level 1 (0 points)
    Currently Being Moderated
    Apr 14, 2014 11:04 AM (in response to thomas_r.)

    Amazing. I just came accross this same issue and I did a permissions repair on a recent fresh Mavericks install. Most errors that came up were from ibooks! However, this still didn't fix the issue for me.

     

    I tried unzipping via terminal as suggested by FermilabMacUse and this worked.

     

    Anyone know how to really fix this?

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.