View Full Version : [ubuntu] bzip2recover repository?

April 21st, 2009, 07:48 AM
Hi there,

I created an archive through file-roller, but found it got corrupted. This is my error message:

An error occurred while loading the archive.


> Command line output

bzip2: Compressed file ends unexpectedly;
perhaps it is corrupted? *Possible* reason follows.
bzip2: Inappropriate ioctl for device
Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

This does not seem to be in main, proposed, multiverse or anything.

I tried to sudo apt-get install bzip2recover, gnome-app-install, synaptic, ...

I also just f*****g googled it already.

Any tips?



April 21st, 2009, 09:37 AM
Are you sure this is a bzip file? Try
file filename
I thought the file-roller would create zip files not bzip2 files.

April 21st, 2009, 10:07 PM
No, file-roller is just the frontend for Archive Manager, so it does not default to zip files. I think 7zip and rar need to be installed seperately. bzip2 and .tar.bz2 formats are standard, with .tar.bz2 being the default. Thanks for the effort though, no ideas where to find bzip2recover? Thanks again,


April 21st, 2009, 10:49 PM
bzip2recover is part of the bzip2 package on my 8.10 system:
dpkg -S $(which bzip2recover)
generates a output
bzip2: /bin/bzip2recover

April 26th, 2009, 01:43 PM
Thanks a lot for that Anton,

bzip2recover was indeed installed on my system.

I did not find an entry for:

$ bzip2recover --help
$ man bzip2recover

This had me confused.

Thanks again,