LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-24-2007, 01:57 AM   #1
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Rep: Reputation: 217Reputation: 217Reputation: 217
Archive manager not recognising ZIP files - suggests it's a text file.


Ubuntu 7.04.

I recently installed this on an ACER laptop (4710Z). When I open a ZIP file (*.ZIP) it suggests that it's a *.TXT file. <Quote>The contents of the file indicate that the file is of type "plain text document" ....<UnQuote> and there's only a CANCEL button. SO I CANCEL.

Next, when I "open with" and choose archive manager, the message is different. <Quote>An error occured while loading the archive<UnQuote> with a COMMAND LINE OUTPUT button, which when clicked says <Quoet>End of central directory signature not found. Either this or it constitutes one disk of a multi part archive ...<UnQuote>

Next I went to the folder via the command line to check the file. All OK.

Anybody else encountered this? Do I have to go back to an earlier version of Archive Manager. Couldn't find any references to this after a brief search. So here I am.

End
 
Old 12-24-2007, 02:51 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Have you tried unzipping it from the CLI using unzip? If you keep getting the same errors it could be that your file is corrupt.
 
Old 12-24-2007, 07:37 PM   #3
fragos
Senior Member
 
Registered: May 2004
Location: Fresno CA USA
Distribution: Ubuntu 10.10
Posts: 1,466

Rep: Reputation: 51
I've never had any troubles with zip files. My guess the file is corrupt or improperly labeled with the zip extension.
 
Old 12-25-2007, 06:34 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
By the way, you can check if its truly a zip file by entering
Code:
$file somefile.zip
If its not found to be a zip file, then the file could be corrupt or as suggested above incorrectly labelled as a zip file.
 
Old 12-27-2007, 07:10 AM   #5
AnanthaP
Member
 
Registered: Jul 2004
Location: Chennai, India
Posts: 952

Original Poster
Rep: Reputation: 217Reputation: 217Reputation: 217
Matter solved. No problem really.

When I closely examined the file I realised that the file size wasn't matching with what it should be. (Actually, I was transferring this ZIP file from my older box via a USB stick. While populating the USB with my ZIP files, I remembered that the stick had got full and so apparently the archive wasn't complete).

By the way, when the USB became full, the USB rights got changed to read-only and had to be reset.

End
 
  


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
Script to Add files to a Zip archive with out unzipping it !! prashix Programming 12 10-23-2007 09:19 AM
open office writer text document zip files maricar Linux - Newbie 1 04-03-2006 10:32 PM
how to view a html file with pictures from within a zip archive? Blaumieser Linux - Newbie 0 02-12-2004 11:05 AM
Making Ark and KDE file manager read ZIP files. xode Linux - Software 3 10-13-2003 03:12 PM
What Are archive.zip files? kajensen Linux - General 1 09-21-2003 04:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 03:01 PM.

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