LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-05-2014, 08:13 AM   #1
jancio
LQ Newbie
 
Registered: Jan 2014
Posts: 3

Rep: Reputation: Disabled
[to DEVs] - Slackware install iso - tar version - tooo old


Hello Guys,

I'd like to request for a new (more recent) version of the TAR on install media (iso). I've checked SL12.0, SL13.0, SL14.1 isos and there is tar (gnu tar) 1.13.

I had interesting problem with using slackware iso as a rescue cd. Let me explain...

I have machine with Slackware 12.0 with tar 1.22 on it. I created tar.gz archive with:
Code:
tar cpsv --numeric-owner $directory | gzip > archive.tar.gz
I have quite long filenames and paths in this directory - over 99 characters. The archive was created without problems, and the content was OK.

Then... I created another virtual machine and booted from install dvd SL12.0 (and checked with SL13.0, SL14.1 accordingly later). I scp'ed my archive to this vm, and decompressed it with:

Code:
tar zxvpf archive.tar.gz
Everything seemed to be FINE... until i saw that my long paths/filenames were truncated to 99 characters! filenames and paths were created but broken :/ shortened.
I verfied that this is a problem with TAR on slackware iso. I decompressed archive on my source machine with 1.22 and it was OK. Then i tried with archlinux-2014.03.01-dual.iso (i686) where I found tar (gnu tar) 1.27.1 and without any surprise I could decompress my archive correctly.

So, I think it is time to refresh software on Slackware isos (even those recent) to new versions, because right now they are quite troublesome

Best regards
Janusz.
 
Old 03-05-2014, 08:40 AM   #2
solarfields
Senior Member
 
Registered: Feb 2006
Location: slackalaxy.com
Distribution: Slackware, CRUX
Posts: 1,449

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
you compressed with 1.22 and it was OK, then on Slack 12.0 in virtual machine you decompressed with 1.22 and it was screwed, then you decompressed on your source (?) machine with 1.22 and it was OK?

I don't get it. If i understood right, isnt the problem somehow in the virtual machine?

May be I am too tired...
 
Old 03-05-2014, 08:47 AM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by solarfields View Post
you compressed with 1.22 and it was OK, then on Slack 12.0 in virtual machine you decompressed with 1.22 and it was screwed, then you decompressed on your source (?) machine with 1.22 and it was OK?

I don't get it. If i understood right, isnt the problem somehow in the virtual machine?

May be I am too tired...
His system runs tar 1.22, all the other VMs runs tar 1.13 (stock slackware version, I guess)
 
1 members found this post helpful.
Old 03-05-2014, 08:53 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748Reputation: 2748
Ah, the happy merry go round! Here we go again. http://www.linuxquestions.org/questi...1-13-a-721813/
 
1 members found this post helpful.
Old 03-05-2014, 09:53 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Quote:
Originally Posted by allend View Post
Ah, the happy merry go round! Here we go again. http://www.linuxquestions.org/questi...1-13-a-721813/
The OP may not be aware that Slackware's pkgtools are tied to tar-1.13, however, he raises an interesting point about the install environment not having the later version of tar.

Many of us rely on the install environment as a recovery tool, and should we ever need to restore from tar, it'd be nice to be able to trust it not to silently corrupt our files during extraction.

Would it be possible to mirror the tar setup of the Slackware release in the corresponding ISO image's initrd.img file? i.e.
/bin/tar
/bin/tar-1.13
/bin/tar-1.26 -> tar

At first glance the tar-1.26 executable along with librt.so and libpthread.so it appears to need don't take up that much space, though it's possible they might need some other files.

If practical, IMO that'd be a good way to go for future releases.

Last edited by GazL; 03-05-2014 at 10:13 AM. Reason: clarity.
 
1 members found this post helpful.
Old 03-05-2014, 11:01 AM   #6
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
I don't know how Slackware boot process is, but you can try adding a new tar
version in the /isolinux/sbootmgr/initrd.img

Or put a new tar version somewhere on the cd/dvd and a script to link it in /bin/tar
after the initrd image is loaded



edit - I did not see the GazL's post before posting, so adding a new tar version
doesn't seem so easy, you must add some libs with it.

Last edited by Paulo2; 03-05-2014 at 11:06 AM.
 
Old 03-05-2014, 11:56 AM   #7
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by GazL View Post

Would it be possible to mirror the tar setup of the Slackware release in the corresponding ISO image's initrd.img file? i.e.
/bin/tar
/bin/tar-1.13
/bin/tar-1.26 -> tar
Yes it's easy enough to add that in to the installer build script. It appears that it was my idea to wipe out the latest version of tar and symlink tar-1.13 to tar anyway (seemed optimal and efficient 6 years ago! ;-) ). I've added it to my installer to do list - Pat will most likely accept this change as it's non intrusive - although you'll only know if it appears ;-)

Last edited by drmozes; 03-05-2014 at 12:02 PM.
 
4 members found this post helpful.
Old 03-05-2014, 12:39 PM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Cheers Stuart.

Quote:
Originally Posted by drmozes View Post
...although you'll only know if it appears ;-)
Fair enough, and as expected.
 
Old 05-16-2014, 09:26 AM   #9
drmozes
Slackware Contributor
 
Registered: Apr 2008
Distribution: Slackware
Posts: 1,539

Rep: Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309Reputation: 1309
Quote:
Originally Posted by GazL View Post
Cheers Stuart.



Fair enough, and as expected.
-current's installer image now has /bin/tar as whatever the latest available version of the tar package is when the installer is created. It's currently v1.26.

Last edited by drmozes; 05-16-2014 at 09:30 AM.
 
1 members found this post helpful.
  


Reply



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
[SOLVED] Can I compile slackware-install-dvd.iso out of slackware-source-code-dvd.iso mshlinux Slackware 11 05-25-2013 01:40 PM
Install trial version of (PageStream5.0.5.8.x86.tar.bz2) in Mint 13 oldschoolguy Linux - Software 0 08-01-2012 06:55 PM
Installing Slackware 12 -or another version- with the ISO images, but without burning them! Janux_NET LinuxAnswers Discussion 2 06-21-2009 10:24 AM
Old Slackware version ISO ? nykey Slackware 15 10-17-2006 03:00 AM
How to INSTALL softwares with *.tar.gz or *.tar.tgz extension On SLACKWARE 10.2 DdOs Linux - Software 4 03-20-2006 01:54 AM

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

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

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