Ticket #2000 (closed defect: fixed)
"x Extract the contents of a compressed tar file" fails
Reported by: | Graham | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 4.7 |
Component: | mc-core | Version: | 4.7.0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Branch state: | Votes for changeset: |
Description
In mc 4.7.0.2, select a tar.gz or tar.bz2 archive, then hit F2, then x (Extract the contents of a compressed tar file), nothing will appear to happen. Now do ctrl-o and look at the shell, you'll find something like below:
$ /bin/sh /tmp/mc-xxxx/mcusrw6aEHd
/tmp/mc-xxxx/mcusrw6aEHd: line 26: gzip -dc blah.tar.gz: command not found
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
or for tar.bz2:
$ /bin/sh /tmp/mc-xxxx/mcusrYR4l7b
/tmp/mc-xxxx/mcusrYR4l7b: line 26: bunzip2 -c blah.tar.bz2: command not found
tar: This does not look like a tar archive
tar: Error exit delayed from previous errors
The z option (Extract compressed tar file to subdirectory) in F2 works as expected. You can also enter the archive and copy the contents elsewhere fine.
Also, maybe this is related in some way to the fix in ticket #1967, where I mentioned a similar issue with the x option in F2, but which dealt with an archive with a space within its name. The error was a little different, but thought I'd mention it.
I'm running Debian Lenny on an Intel P4 machine and compiled mc 4.7.0.2 with the following options: ./configure --with-glib2 --without-ext2undel --enable-charset --without-samba --with-screen=slang
Oh, just in case, I do have bunzip2 and gzip installed.
Change History
comment:1 in reply to: ↑ description Changed 15 years ago by andrew_b
- Blocked By 1967 added
comment:2 Changed 15 years ago by andrew_b
- Blocked By 1967 removed
(In #1967) Merged to master.
changeset:7da1d41508190c661516a46a0712d7b3458ac9e7
Cherry-picked to 4.7.0-stable
changeset:3f0477d01142d4fc115c361bdd135ba0345b5426
changeset:2a6255a7a4800f598c8bc0df5ce10cfe08e82156
Replying to Graham:
Yes. There are some overquoting in user menu were maken. Mea culpa. :-(