← Back to team overview

desktop-packages team mailing list archive

[Bug 730386] Re: File Roller reports error on tar.gz extraction of known good archive

 

The problem seems to be that the tar file in question includes duplicate
entries (note the -d below):

> tar -tf ~/ideaIU-110.291.tar.gz |sort |uniq -d
idea-IU-110.291/bin/
idea-IU-110.291/help/
idea-IU-110.291/plugins/

With debug turned on, file-roller executes the following when extracting
this archive through the GUI:

	tar --force-local --no-wildcards -v -p -xf /home/mkennedy/Downloads/test.tar -C /tmp -T /home/mkennedy/.cache/.fr-bkTWzC/file-list -- 
[Thread 0x7fffdee20700 (LWP 31423) exited]
** ERROR **
tar: Exiting with failure status due to previous errors
tar: idea-IU-110.291/plugins: Not found in archive
tar: idea-IU-110.291/help: Not found in archive
tar: idea-IU-110.291/bin: Not found in archive
[FR] fr-process.c:671 (start_current_command):
	1/1) 

> cat /home/mkennedy/.cache/.fr-bkTWzC/file-list
idea-IU-110.291/Install-Linux-tar.txt
idea-IU-110.291/bin/
idea-IU-110.291/bin/
idea-IU-110.291/build.txt
idea-IU-110.291/help/
idea-IU-110.291/help/
idea-IU-110.291/lib/
idea-IU-110.291/license/
idea-IU-110.291/plugins/
idea-IU-110.291/plugins/
idea-IU-110.291/redist/

I would suggest that this is just a broken .tar file and move on,
however file-roller calls tar to do the work, and tar standalone can
extract this archive without problems. Also, invoking file-roller from
command line also works fine for this archive:

> src/file-roller --extract-to=/tmp ~/Downloads/ideaIU-110.291.tar.gz
> echo $?
0

It succeeds because file-roller from command line executes this instead:

[FR] fr-process.c:671 (start_current_command):
	0/0) 
	tar --force-local --no-wildcards -v -p -xf /home/mkennedy/Downloads/ideaIU-110.291.tar.gz -z -C /tmp -- 
[FR] fr-archive.c:944 (action_performed):
	EXTRACTING_FILES [DONE] (FR::Archive)


So I think this really is a bug in file-roller and that it should be robust enough to handle such an archive from the GUI.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/730386

Title:
  File Roller reports error on tar.gz extraction of known good archive

Status in “file-roller” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: file-roller

  File Roller reports an error when attempting to extract IntelliJ Idea
  10 tar.gz archive (available from jetbrains.com). However this archive
  extracts fine from the command line using tar xvzf with no errors, so
  the archive is presumably a valid tar.gz archive that is not corrupt.
  No details are given on the nature of the error. Just a generic error
  message that says "An error occurred while extracting files".

  Ubuntu version: 10.10
  File Roller version: 2.32.0

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: file-roller 2.32.0-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-27.48-generic 2.6.35.11
  Uname: Linux 2.6.35-27-generic i686
  NonfreeKernelModules: nvidia wl
  Architecture: i386
  Date: Sun Mar  6 20:04:08 2011
  ExecutablePath: /usr/bin/file-roller
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate i386 (20100928)
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_CA.utf8
   SHELL=/bin/bash
  SourcePackage: file-roller

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/730386/+subscriptions