LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2007, 01:04 AM   #1
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Rep: Reputation: 30
unzip error


I have a zipped file of 3.5 GB

and unable to unzip it

am getting

unzip: cannot find done.zip, done.zip.zip or done.zip.ZIP


using unzip version 5.50

thanks
 
Old 04-10-2007, 01:35 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hmmm ...

and what's the files actual name and location? My suspicion
would be that there's maybe a trailing or leading space in the
name, or maybe some other non-printing character ...

And how is this a programming question? :}


Cheers,
Tink
 
Old 04-10-2007, 01:42 AM   #3
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Original Poster
Rep: Reputation: 30
Thanks for the help!

Am sure about the file name that I had given for the unzip utility and its exactly correct.

For I could confirm this by that I had taken backup of the down.zip file prior to unzipping that.
Had there been any other characters in that, cp would have reported that there is no such file.

Am wondering, why unzip is not even considering the file for the operation !
 
Old 04-10-2007, 01:52 AM   #4
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
In your first post you have a file called done.zip
In the second post it is down.zip

???
 
Old 04-10-2007, 01:56 AM   #5
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Original Poster
Rep: Reputation: 30
sorry for the typo,

it should be done.zip


down.zip is a different file which worked perfectly!

Any help!
 
Old 04-10-2007, 02:16 AM   #6
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
What happens when you test the archive?
unzip -tq done.zip

Also if all else fails... 5.50 has been replaced by 5.52
 
Old 04-10-2007, 02:34 AM   #7
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Original Poster
Rep: Reputation: 30
this is what I get!

unzip -tq done.zip
unzip: cannot find done.zip, done.zip.zip or done.zip.ZIP



Am surprised, why unzip is not even selecting the file for consideration to unzip it.

Thanks again!
 
Old 04-10-2007, 02:52 AM   #8
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
Two other thoughts...

unzip -tq \*.zip

and is it a problem with the size of the archive 3+Gb is quite substantial, have you managed to open another archive of similar size?
 
Old 04-10-2007, 03:22 AM   #9
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Original Poster
Rep: Reputation: 30
Thanks for the continued response

Code:
unzip -tq \*.zip

1 files had no zipfile directory.
No zipfiles found.
And specifically am having this problem only for the zip files which have a size
greater than 2 GB and not for the other files
 
Old 04-10-2007, 06:11 AM   #10
graemef
Senior Member
 
Registered: Nov 2005
Location: Hanoi
Distribution: Fedora 13, Ubuntu 10.04
Posts: 2,379

Rep: Reputation: 148Reputation: 148
2GB rings a bell with regard to a limit on file sizes...
unzip 5.50 was released in 2002, it might be worth upgrading to 2.52 (2005)

However from unzip's faq

compressed size of a single file
4 GB

In practice, the real limit may be 2 GB on many systems, due to UnZip's use of the fseek() function to jump around within an archive. Because's fseek's offset argument is usually a signed long integer, on 32-bit systems UnZip will not find any file that is more than 2 GB from the beginning of the archive. And on 64-bit systems, UnZip won't find any file that's more than 4 GB from the beginning (since the zipfile format can only store offsets that big). So the last file in the archive can potentially be arbitrarily large (in theory, anyway--we haven't tested this), but the combined total of all the rest must be less than 2 GB or 4 GB, respectively.
 
Old 04-10-2007, 06:12 AM   #11
Guttorm
Senior Member
 
Registered: Dec 2003
Location: Trondheim, Norway
Distribution: Debian and Ubuntu
Posts: 1,453

Rep: Reputation: 447Reputation: 447Reputation: 447Reputation: 447Reputation: 447
I think the InfoZip version - the one included in most distros - will not work with files bigger than 2gb.

You could try p7zip - I don't know if Fedora has it, but most likely. After you install it, you get a command "7z". Then try "7z e zipfilename". If it doesn't work, try a newer version of p7zip. You can get source at http://sourceforge.net/projects/p7zip/ and compile it yourself.
 
Old 04-10-2007, 06:19 AM   #12
slzckboy
Member
 
Registered: May 2005
Location: uk - Reading
Distribution: slackware 14.2 kernel 4.19.43
Posts: 462

Rep: Reputation: 30
what happens when you do
Code:
file done.zip
does that command find it?

Your not working as root and thus the file is not in your path??


Sorry just a wild stab in the dark.
 
Old 04-10-2007, 07:54 AM   #13
kshkid
Member
 
Registered: Dec 2005
Distribution: RHEL3, FC3
Posts: 383

Original Poster
Rep: Reputation: 30
Code:
file done.zip
done.zip: Zip archive data, at least v2.0 to extract
Why should I be a root to do this operation?

And it is very much available in the path, and no other hidden charactes as part of filename.

That has been verified.

Thanks for the response !
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to unzip arimus25 Linux - Software 6 11-14-2011 04:46 AM
about unzip to unzip some chinese files' trouble arcow Linux - Software 0 03-24-2006 02:25 AM
Unzip Jmcatch742 Linux - Software 4 08-01-2004 12:52 PM
how do you unzip something slacker2007 Linux - Newbie 2 08-01-2004 11:19 AM
Winzip 7, linux unzip error ~central directory not found lanzdale Linux - Software 1 09-11-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration