Author Topic: Tarball Hardball  (Read 3203 times)

Zuser264

  • Newbie
  • *
  • Posts: 3
    • View Profile
Tarball Hardball
« on: December 30, 2005, 01:11:09 am »
I am having something of a circular problem here, I have a Zaurus-5500 that works real great, except when I want to unzip the contents of a .tar file on it, the busybox tar utility doesn't work and gives a whole lot of  "bad tar header, skipping" messages.
I have been speculating that the problem is that the busybox tar utility isn't good for unzipping the tar files that were compressed with more advanced versions of tar. This seems reasonable because the compressed tar utility I found at the GNU website is a good 9MB compared to all of busybox being only 228KB. But here is my main difficulty... all of the versions of tar that I have found on the web are... well... tarballed into a .tar file or compressed similarly.
Am I not using the busybox tar utility properly? Is there a gzip or tar archive utility I can use for WindowsXP before I put the tarballed packages onto the Zaurus? Is WindowsXP corrupting these tarballs when I save them for later file transfer to the Zaurus?

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Tarball Hardball
« Reply #1 on: December 30, 2005, 09:28:46 am »
.tar is a tar file .tar.gz is a tarball and .gz is a gnu zip file.

use gunzip to unzip and remove the .gz designations
use tar xvf to remove .tar designations and unpackage the file (x - extract, v - verbose, f - file)
« Last Edit: December 30, 2005, 09:29:22 am by bluedevils »
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

Zuser264

  • Newbie
  • *
  • Posts: 3
    • View Profile
Tarball Hardball
« Reply #2 on: December 30, 2005, 03:29:45 pm »
Quote
.tar is a tar file .tar.gz is a tarball and .gz is a gnu zip file.

use gunzip to unzip and remove the .gz designations
use tar xvf to remove .tar designations and unpackage the file (x - extract, v - verbose, f - file)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=108938\"][{POST_SNAPBACK}][/a][/div]


Thanks, that is more than I knew, but not a single file I have loaded onto my Zaurus has worked properly with the "tar" or "gunzip" utilities that were on the Zaurus 3.1 ROM installed when I got the unit.

I think that I will have to install a heftier version of these utilites.
Does the Open Zaurus ROM that seems to be popular here sync with the Qtopia Desktop program?
« Last Edit: December 30, 2005, 03:31:17 pm by Zuser264 »

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Tarball Hardball
« Reply #3 on: December 30, 2005, 03:42:37 pm »
hmmm...I'm on cacko 1.23 which is based off the sharp rom and I have not had any problems.  Are you sure you downloded the files properly?
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

Zuser264

  • Newbie
  • *
  • Posts: 3
    • View Profile
Tarball Hardball
« Reply #4 on: December 31, 2005, 08:22:39 pm »
Quote
hmmm...I'm on cacko 1.23 which is based off the sharp rom and I have not had any problems.  Are you sure you downloded the files properly?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=108975\"][{POST_SNAPBACK}][/a][/div]

Yes, I save the file to a WindowsXP computer, and then use a Sharp-distributed Trolltech/Qtopia File Manager program to transfer files to the Zaurus 5500. All of the .ipk files that I have downloaded have installed properly, with the exception of a few that claimed reliance on package items not included or installed already, so I think files aren't getting corrupted along the Zaurus loading process.

I think I have just conceived of a solution, uncompress the files on the WinXP computer before transfer to the Zaurus, if I can find a WinXP compatible tar and gunzip utility. I am sort of wary of installing a whole new OS ROM, because the one I have isn't broken and aside from this tarball problem has all of the features of alternative ROMs that I would know how to use.

Say... thanks for your help. I'll post an address to such a utility if I can find it.
« Last Edit: December 31, 2005, 08:23:53 pm by Zuser264 »

bluedevils

  • Hero Member
  • *****
  • Posts: 1284
    • View Profile
    • http://
Tarball Hardball
« Reply #5 on: December 31, 2005, 08:32:08 pm »
I think winrar supports both.
I'm now an iphone user and use my zaurii as serial terminals, perl and shell scripting and when I need 640x480 screens

sl-c3100/pda cacko 1.23 | sl-6000l/needs battery | sl-c760/server pdaxrom rc12 | Former sl-5500/tkcrom owner (sister's birthday gift)

periodontist

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://www.spazpics.com
Tarball Hardball
« Reply #6 on: December 31, 2005, 08:35:02 pm »
I can confirm that winrar supports both on my WinXP machine.  Also, if you go to my favorite Win Freeware site http://www.nonags.com, you are sure to find several free compression utilities that can also handle the task.  Good luck.
SL-6000L, Sharp ROM v1.12

qx773

  • Full Member
  • ***
  • Posts: 219
    • View Profile
Tarball Hardball
« Reply #7 on: December 31, 2005, 08:56:23 pm »
Sometimes when you download *.tar files with Internet Explorer, an extra *.tar gets appended to the file name, like *.tar.tar.  Make sure that the filename is exactly the same on Windows as on the original download site.

Older versions of Netscape tended to treat binary files as text files and replace what Netscape thought were line feed characters with carriage return / line feed pairs, corrupting the binary file.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Tarball Hardball
« Reply #8 on: January 03, 2006, 03:15:58 pm »
you can uncompress and untar files this way:

gzcat xyz.tar.gz | tar xf -

or
cat xyz.tar.gz | gunzip | tar xf -


if gzcat isn't on your system, you can make it thus:
  su -
  cd /usr/bin
   ln -s gzip gzcat

gzip, gunzip and gzcat are all the same program, it works out what to do from the name the program was invoked with
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.