Hi,
I downloaded a zip file from one of our vendor portal and tried to unzip the file with Archive Manager and Xarchiver. However, I am getting the message "Skipping 1.txt. 'bzip2' method not supported'.
Can some one help? I have bzip2 installed already.
Thanks,
Balaji.
bzip2 uncompress issue
Re: bzip2 uncompress issue
I think you are confused, or what you write is confusing. You're talking about a zip file and then you're talking about bzip2 compression. These are not the same thing. Not the same filetypes, not the same compression method either.
Re: bzip2 uncompress issue
Hi,
Thanks for the response.
I know I mentioned about the zip because the file name is "INV_01XX.zip". However, when I try to extract the file Archive Manager complains that bzip2 is not supported. I am assuming that the vendor portal uses the bzip2 compression method to create the zip file instead of .bz2 file.
Let me know if it still confuses you.
Thanks,
Balaji.
Thanks for the response.
I know I mentioned about the zip because the file name is "INV_01XX.zip". However, when I try to extract the file Archive Manager complains that bzip2 is not supported. I am assuming that the vendor portal uses the bzip2 compression method to create the zip file instead of .bz2 file.
Let me know if it still confuses you.
Thanks,
Balaji.
Re: bzip2 uncompress issue
Yes, it does. If it says ".zip", it's not a bzip2 compressed file, it is a zip compressed file.
And certainly engrampa, the archive manager we have as default in salix, can decompress both zip and bzip2 compressed files.
And certainly engrampa, the archive manager we have as default in salix, can decompress both zip and bzip2 compressed files.
Re: bzip2 uncompress issue
In a terminal try
This should list the files (rather than actually extracting anything) and also give verbose output.
If it isn't actually a zip archive, it will say so. If you think it's bzip2, tar should do the job (I don't know if it cares whether the file you give it has the correct termination). Try:
which I think will unpack almost anything, and give verbose output. If it really is bzip2, the right switch is j I think:
though again, it may want the filename to end in .bz2
This is largely from memory so if in doubt, please check the relevant man pages.
EDIT
Also, check the download isn't corrupted.
Code: Select all
unzip -lv (whatever the file is called)
If it isn't actually a zip archive, it will say so. If you think it's bzip2, tar should do the job (I don't know if it cares whether the file you give it has the correct termination). Try:
Code: Select all
tar -xvf (filename)
Code: Select all
tar -xjvf (filename)
This is largely from memory so if in doubt, please check the relevant man pages.
EDIT
Also, check the download isn't corrupted.
Re: bzip2 uncompress issue
Hi,
Below are the outputs that I am getting.

I will try to re-download the file and see how it works.
Thanks,
Balaji.
Below are the outputs that I am getting.
I tried to uncompress one file from the zip using xarchiver and this is what I am seeing.[bneelka@darkstar~/corp/salesforce]unzip -lv INV_20130502121041.zip
Archive: INV_20130502121041.zip
Length Method Size Cmpr Date Time CRC-32 Name
-------- ------ ------- ---- ---------- ----- -------- ----
613 BZip2 403 34% 03-20-2012 00:00 3fe5bb5b 11265422.txt
1626 BZip2 553 66% 03-20-2012 00:00 4a704afb 11265424.txt
721 BZip2 465 36% 03-20-2012 00:00 7154f15f 11265425.txt
1375 BZip2 683 50% 08-07-2012 00:00 efcddb9f 11730586.txt
1378 BZip2 724 48% 08-07-2012 00:00 ba703b71 11730587.txt
1753 BZip2 790 55% 08-07-2012 00:00 98eaff02 11730588.txt
1207 BZip2 657 46% 08-07-2012 00:00 1e925e6f 11730591.txt
473 BZip2 350 26% 08-07-2012 00:00 8f3b006d 11732995.txt
:
:
:
474 BZip2 303 36% 03-27-2012 00:00 f37d621e 11311609.txt
-------- ------- --- -------
159062 98587 38% 235 files
[bneelka@darkstar~/corp/salesforce]
[bneelka@darkstar~/corp/salesforce]tar -xvf INV_20130502121041.zip
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors
[bneelka@darkstar~/corp/salesforce]tar -xjvf INV_20130502121041.zip
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I will try to re-download the file and see how it works.
Thanks,
Balaji.
Re: bzip2 uncompress issue
What happens if you "extract" the file and then try and read it in a text editor? The .txt file may already be in an unzipped state.
Re: bzip2 uncompress issue
I am getting the above error messages even when I try to extract one single file from the archive.
Thanks,
Balaji.
Thanks,
Balaji.
Re: bzip2 uncompress issue
This is what I am getting.
[bneelka@darkstar~/corp/salesforce]unzip INV_20130502121041.zip
Archive: INV_20130502121041.zip
skipping: 11265422.txt `bzip2' method not supported
skipping: 11265424.txt `bzip2' method not supported
skipping: 11265425.txt `bzip2' method not supported
skipping: 11730586.txt `bzip2' method not supported
I re-downloaded the file several times and I am getting the same error message every time. It doesn't work in windows also. So, at this point, I am assuming that this is a problem with the vendor portal and I sent an email to them just now. Thanks for every one who were trying to help.
I will keep you posted once I get response from the vendor.
Thanks,
Balaji.
[bneelka@darkstar~/corp/salesforce]unzip INV_20130502121041.zip
Archive: INV_20130502121041.zip
skipping: 11265422.txt `bzip2' method not supported
skipping: 11265424.txt `bzip2' method not supported
skipping: 11265425.txt `bzip2' method not supported
skipping: 11730586.txt `bzip2' method not supported
I re-downloaded the file several times and I am getting the same error message every time. It doesn't work in windows also. So, at this point, I am assuming that this is a problem with the vendor portal and I sent an email to them just now. Thanks for every one who were trying to help.
I will keep you posted once I get response from the vendor.
Thanks,
Balaji.