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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/730386

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to