Sponsored Content
Full Discussion: GNU TAR vs NATIVE AIX TAR
Operating Systems AIX GNU TAR vs NATIVE AIX TAR Post 302975667 by filosophizer on Thursday 16th of June 2016 07:41:22 PM
Old 06-16-2016
Quote:
Originally Posted by agent.kgb
1. Did you try to test tar file on the same server after you have created it?
GNU Tar works on the same server which I have created on
Source Server has
Code:
root@oraapp:/backup>lslpp -l | grep rpm.rte
  rpm.rte                   3.0.5.36  COMMITTED  RPM Package Manager
  rpm.rte                   3.0.5.36  COMMITTED  RPM Package Manager
root@oraapp:/backup>oslevel -r
5200-05

root@oraapp:/backup>

Doesn't work on Target Server -1
Code:
oraprod@clodb:/backup>lslpp -l | grep rpm.rte
  rpm.rte                   3.0.5.51  COMMITTED  RPM Package Manager
  rpm.rte                   3.0.5.51  COMMITTED  RPM Package Manager
oraprod@clodb:/backup>
oraprod@clodb:/backup>oslevel -s
/usr/bin/oslevel[627]: /tmp/sh18153548.13: 0403-005 Cannot create the specified file.
oraprod@clodb:/backup>oslevel -r
/usr/bin/oslevel[627]: /tmp/sh18153550.13: 0403-005 Cannot create the specified file.
oraprod@clodb:/backup>

Also, doesn't work on Target Server -2
Code:
#lslpp -l | grep rpm.rte
  rpm.rte                   3.0.5.36  COMMITTED  RPM Package Manager
  rpm.rte                   3.0.5.36  COMMITTED  RPM Package Manager
#oslevel -s
5300-01-00-0000
#oslevel -r
5300-01

2. Why do use two commands? GNU tar has an option z - tar [cxt]zf is simpler.[/QUOTE]

I will try this and will update you.
 

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

gnu tar on Solaris 8

Here is how I got where I am: I tried untarring tomcat and at the end of the untar I get the following: So I downloaded GNU tar and did a pkgadd -d, which installed the package. But when I run /usr/local/bin/tar, I get this message: (1 Reply)
Discussion started by: dangral
1 Replies

2. Solaris

GNU tar on SUN 9

I downloaded GNUtar from sunfreeware.con and installed it on a sparc running sun 9. Performed pkgadd -d on the required lib and tar file and everything seemed to be ok. I tried to extract a file from a tar created using the sun version with no success. Tar ran for several hours working on the... (6 Replies)
Discussion started by: thumper
6 Replies

3. UNIX for Dummies Questions & Answers

Problems with GNU tar installation

Hi all, Need some help here. I've been trying to install GNU tar version 1.12 into my Solaris 9 machine. steps that I have done was: -untar the package file -run "./configure" -run "make" command (got stuck at this point) Got the following error messages after hitting the make... (2 Replies)
Discussion started by: suffer0
2 Replies

4. UNIX for Dummies Questions & Answers

tar -cvf test.tar `find . -mtime -1 -type f` only tar 1 file

Hi all, 4 files are returned when i issue 'find . -mtime -1 -type f -ls'. ./ora_475244.aud ./ora_671958.aud ./ora_934052.aud ./ora_934050.aud However, when I issued the below command: tar -cvf test.tar `find . -mtime -1 -type f`, the tar file only contains the 1st file -... (2 Replies)
Discussion started by: ahSher
2 Replies

5. AIX

GNU Tar with compression for AIX 4.2 already compiled ?

Is there a GNU Tar available with compression option available for AIX 4.2 that I can directly use (not having to compile anything, simple installation) ? (1 Reply)
Discussion started by: Browser_ice
1 Replies

6. Shell Programming and Scripting

tar command to explore multiple layers of tar and tar.gz files

Hi all, I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
rpm2cpio(1)							   User Commands						       rpm2cpio(1)

NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive SYNOPSIS
rpm2cpio [file.rpm] DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu- ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out- put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility. EXAMPLES
Example 1: Converting an rpm file example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks Example 2: Converting from standard input example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv CPIO archive found! -rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif -rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz -rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec 31 blocks ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrpm | +-----------------------------+-----------------------------+ SEE ALSO
cpio(1), attributes(5) NOTES
rpm2cpio handles versions 3 and 4 RPMs. SunOS 5.10 20 Aug 2001 rpm2cpio(1)
All times are GMT -4. The time now is 03:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy