kokoabim / iOSOpenDev

iOSOpenDev
http://iOSOpenDev.com
Other
901 stars 284 forks source link

tar: Ignoring unknown extended header keyword #111

Closed sddevstudio closed 2 months ago

sddevstudio commented 10 years ago

When installing the deb I was getting a tar error:

tar: Ignoring unknown extended header keyword 'SCHILY.dev'
tar: Ignoring unknown extended header keyword 'SCHILY.ino'
tar: Ignoring unknown extended header keyword 'SCHILY.nlink'
...
dpkg: error processing com.sddev.LogosTest_1.0-1_iphoneos-arm.deb (--install):
 corrupted filesystem tarfile - corrupted package archive

A fresh install of OSX 10.9.2 on a new MacBookPro issued from work. I installed Xcode 5.1 from the app store, installed the latest commandline tools, opened up xcode made sure everything was good. Installed iOSOpenDev with installer 1.6.2 everything went smooth and installed without a hitch. Made a new Logos project configured it and compilied, it compiled just fine but when installing on the device dpkg failed because of the tar issue above.

**Since its a work laptop they might of run some additional config scripts before it was given to me which might be my actual issue that messed up my tar, but this is how I got it work.

I had manually installed gnutar using homebrew and modified the tar line in iosod (line 757) to

gnutar -cpz --exclude ".*" "$@" -f "$outputDir/$tarName.tar.gz" * || \

recompiled and the deb installed as expected.

I wanted to post this just incase anyone else ran into this issue, I had tried all the tar/gnutar fixes people were recommending and couldn't get any of them to work.

kokoabim commented 10 years ago

Thanks. I have not tried a fresh install of 10.9.2. Hopefully tar is no longer packaged with OS X. :/

On Mar 14, 2014, at 8:14 AM, sddevstudio notifications@github.com wrote:

When installing the deb I was getting a tar error:

tar: Ignoring unknown extended header keyword 'SCHILY.dev' tar: Ignoring unknown extended header keyword 'SCHILY.ino' tar: Ignoring unknown extended header keyword 'SCHILY.nlink' ... dpkg: error processing com.sddev.LogosTest_1.0-1_iphoneos-arm.deb (--install): corrupted filesystem tarfile - corrupted package archive A fresh install of OSX 10.9.2 on a new MacBookPro issued from work. I installed Xcode 5.1 from the app store, installed the latest commandline tools, opened up xcode made sure everything was good. Installed iOSOpenDev with installer 1.6.2 everything went smooth and installed without a hitch. Made a new Logos project configured it and compilied, it compiled just fine but when installing on the device dpkg failed because of the tar issue above.

**Since its a work laptop they might of run some additional config scripts before it was given to me which might be my actual issue that messed up my tar, but this is how I got it work.

I had manually installed gnutar using homebrew and modified the tar line in iosod (line 757) to

gnutar -cpz --exclude "." "$@" -f "$outputDir/$tarName.tar.gz" \ || \ recompiled and the deb installed as expected.

I wanted to post this just incase anyone else ran into this issue, I had tried all the tar/gnutar fixes people were recommending and couldn't get any of them to work.

— Reply to this email directly or view it on GitHub.

EliaCereda commented 10 years ago

Thank you very much for sharing this, I've been trying to fix the same problem for two hours! :)