Can't 'Test integrity' of .tar.gz, .tar.bz2 archives

Bug #263020 reported by jpka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
File Roller
Confirmed
Medium
file-roller (Ubuntu)
Triaged
Wishlist
Ubuntu Desktop Bugs

Bug Description

When I open .zip archive, the menu Archive - Test integrity is active & functional. On .tar.bz2, .tar.gz archives, this menu not active, and no way to test such archives.
To reproduce this, create two archives from any file, one .zip and one .tar.bz2, open each and try to test integrity.
I have Ubuntu 8.04 + all updates available on 08/30/2008.

ProblemType: Bug
Architecture: amd64
Date: Sat Aug 30 19:26:20 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/file-roller
NonfreeKernelModules: nvidia
Package: file-roller 2.22.3-0ubuntu1
PackageArchitecture: amd64
ProcEnviron:
 LC_TIME=ru_RU.utf8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: file-roller
Uname: Linux 2.6.24-18-generic x86_64

Tags: apport-bug
Revision history for this message
jpka (jopka) wrote :
Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for reporting this bug. I can confirm this with my hardy system.

Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, the tar command has no option to do that so that's not a bug

Changed in file-roller:
assignee: nobody → desktop-bugs
importance: Undecided → Wishlist
status: Confirmed → Invalid
Revision history for this message
jpka (jopka) wrote :

Sorry I may be wrong, but I do some tests:

(here I create invoice.jpg.tar.bz2 from invoice.jpg via file-roller)

-----
# tar -tvf invoice.jpg.tar.bz2
-rw-r--r-- hrych/root 69081 2008-08-13 13:15 invoice.jpg
-----

(here I edit .tar.bz2 in middle of file, via hex editor)

-----
# tar -tvf invoice.jpg.tar.bz2
tar: This does not look like a tar archive
tar: Skipping to next header

bzip2: Data integrity error when decompressing.
 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: Child returned status 2
tar: Error exit delayed from previous errors
#
-----

Here i noticed about -tvv option... maybe is suit our needs?
Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

that's not an option to test the integrety but right it could rely on parsing text printed there which would be hackish though, the request is rather an upstream one, could you open the bug on bugzilla.gnome.org where people writting the software will read it?

Revision history for this message
jpka (jopka) wrote :

I submit bug #550264 at bugzilla.Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your sending the request to GNOME

Changed in file-roller:
status: Invalid → Triaged
Changed in fileroller:
status: Unknown → New
Changed in file-roller:
importance: Unknown → Medium
Changed in file-roller:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.