Bug 753156 - Chapter 3.3.1. Installation contains wrong command in Procedure 3.2
Summary: Chapter 3.3.1. Installation contains wrong command in Procedure 3.2
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Developer_Guide
Version: 6.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jacquelynn East
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-11 13:27 UTC by Petr Muller
Modified: 2016-09-20 02:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-07 02:16:30 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Petr Muller 2011-11-11 13:27:29 UTC
Description of problem:

Second code snippet in procedure 3.2 contains the following statement:

# tar -jxf git-1.7.6.1.tar.gz

This cannot work, because -j option works with tar.bz2 files, while the archive is tar.gz (and git upstream provides tag.gz as well):

# tar -jxf git-1.7.7.3.tar.gz 
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now

the correct command is using -z:

# tar -zxf git-1.7.6.1.tar.gz


Note You need to log in before you can comment on or make changes to this bug.