LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2006, 04:26 AM   #1
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Rep: Reputation: 153Reputation: 153
tar package 1.16


Has anybody had problems with using the latest tar (1.16) package in 10.2.

At the weekend whilst verifying a backup using tar -dvvf backup.tar.gz . the comparison failed consistently in comparing a large db2 backup file. I repeated the backup several times with the same result the error was skipping to next header.

Reverted back to tar 1.15 repeated the backup and compared successfully.

Reinstalled tar 1.16 and the comparision failed again on the same file.

Alex
 
Old 12-11-2006, 04:34 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
It might be a problem with the new tar, if the older version works ok, so...why did you update? "Don't fix a working thing" is a good thing to keep in mind. If the new tar doesn't provide you with something you really need (i.e. are ready to die for), don't update if your older version works. Especially if it's about backup. Use software you can trust, not software that shines.

Another opinion, though only personal, is that don't use tar for big backups, with long filenames or if you can, at all. It's nice, fancy, good etc. but compared to some others (like cpio) it's not error-free. I'd rather use cpio or something else if you've got big backups to do.
 
Old 12-11-2006, 07:43 AM   #3
simcox1
Member
 
Registered: Mar 2005
Location: UK
Distribution: Slackware
Posts: 794
Blog Entries: 2

Rep: Reputation: 30
The new tar was a security release so it's a good idea to install it. Unless it doesn't work of course.
 
Old 12-23-2006, 05:51 PM   #4
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
I've downloaded 1.16.1, 1.15.91 and 1.15.90 from -

http://www.gnu.org/software/tar/

All exhibit this problem -

First check version -
Code:
279 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar --version
tar (GNU tar) 1.15.90
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
tar directory -
Code:
280 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -cvpz -f /tmp/db2bkup.tar.gz .
the results are -
Code:
./
./S150000.0.db2inst1.NODE0000.CATN0000.20051005113914.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051005133735.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051006071126.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051010154146.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051019181945.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051021094155.001
./primed/
./primed/S150000.0.db2inst1.NODE0000.CATN0000.20051102205000.001
./iefFinal/
./iefFinal/primed/
./iefFinal/primed/S150000.0.db2inst1.NODE0000.CATN0000.20051109132736.001
./iefFinal/1stMonth/
./iefFinal/1stMonth/S150000.0.db2inst1.NODE0000.CATN0000.20051109190609.001
./iefFinal/1stWeek/
./iefFinal/5thWeek/
./iefFinal/5thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111134148.001
./iefFinal/9thWeek/
./iefFinal/9thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111152701.001
./iefFinal/10thWeek/
./iefFinal/10thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111165346.001
compare -
Code:
281 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz .
results from compare are not successful -
Code:
./
./S150000.0.db2inst1.NODE0000.CATN0000.20051005113914.001
/home/alex/Downloads/tar/usr/local/bin/tar: Skipping to next header
/home/alex/Downloads/tar/usr/local/bin/tar: Error exit delayed from previous errors

Version 1.15.1 and previous versions don't exhibit this problem.


check version
Code:
283 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar --version
tar (GNU tar) 1.15.1
perform tar on directory
Code:
285 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -cvpz -f /tmp/db2bkup.tar.gz .
results of creating tar
Code:
./
./S150000.0.db2inst1.NODE0000.CATN0000.20051005113914.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051005133735.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051006071126.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051010154146.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051019181945.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051021094155.001
./primed/
./primed/S150000.0.db2inst1.NODE0000.CATN0000.20051102205000.001
./iefFinal/
./iefFinal/primed/
./iefFinal/primed/S150000.0.db2inst1.NODE0000.CATN0000.20051109132736.001
./iefFinal/1stMonth/
./iefFinal/1stMonth/S150000.0.db2inst1.NODE0000.CATN0000.20051109190609.001
./iefFinal/1stWeek/
./iefFinal/5thWeek/
./iefFinal/5thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111134148.001
./iefFinal/9thWeek/
./iefFinal/9thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111152701.001
./iefFinal/10thWeek/
./iefFinal/10thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111165346.001
compare tar
Code:
286 /home/db2inst1/db2_backups$ /home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz .
results - successful!
Code:
./
./S150000.0.db2inst1.NODE0000.CATN0000.20051005113914.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051005133735.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051006071126.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051010154146.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051019181945.001
./S150000.0.db2inst1.NODE0000.CATN0000.20051021094155.001
./primed/
./primed/S150000.0.db2inst1.NODE0000.CATN0000.20051102205000.001
./iefFinal/
./iefFinal/primed/
./iefFinal/primed/S150000.0.db2inst1.NODE0000.CATN0000.20051109132736.001
./iefFinal/1stMonth/
./iefFinal/1stMonth/S150000.0.db2inst1.NODE0000.CATN0000.20051109190609.001
./iefFinal/1stWeek/
./iefFinal/5thWeek/
./iefFinal/5thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111134148.001
./iefFinal/9thWeek/
./iefFinal/9thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111152701.001
./iefFinal/10thWeek/
./iefFinal/10thWeek/S150000.0.db2inst1.NODE0000.CATN0000.20051111165346.001
Still investigating as to what it can be. Any suggestions greatfully received.

Alex
 
Old 12-27-2006, 04:22 AM   #5
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
Have found that even though

Code:
/home/alex/Downloads/tar/usr/local/bin/tar -dvpz -f /tmp/db2bkup.tar.gz .
exhibits the "Skipping to next header" problem

Code:
/home/alex/Downloads/tar/usr/local/bin/tar -xvpz -f /tmp/db2bkup.tar.gz
extracts all the files successfully!
 
Old 12-30-2006, 04:37 PM   #6
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 900

Original Poster
Rep: Reputation: 153Reputation: 153
There is now a patch on bug-tar.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install tar package jojojo Linux - Newbie 3 05-25-2006 02:15 AM
Installing a *.pkg.tar Package CrackerStealth Slackware 3 12-27-2005 03:47 PM
install srgp.tar.z package csst0136 Linux - Software 6 10-22-2005 06:25 PM
package installation from tar.gz fnoyan Linux - Software 3 03-04-2005 02:46 PM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration