Active Topics

 



Notices


Reply
Thread Tools
Capn_Fish's Avatar
Posts: 140 | Thanked: 13 times | Joined on Mar 2008
#11
Hmm... I did a:

sudo gainroot
cd /
tar -xf /path/to/package.tar.bz2

and it worked for me. Are you running as root?
__________________
Nokia N810 (Some mutation of Mer)
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#12
Originally Posted by iliaden View Post
thanks...

but I am unable to extract them within the device. On my desktop (cygwin) tar -xvjf works, and from X terminal on my n800, it doesn't! any clue(s) why?

thank you
Get gnutar from Xarchiver repo. busybox tar was made by knobs and it doesn't support bzip (at least on my N800. Unless I replaced the stuff with coreutils... which I really hated).

If it's a bzip file, just do:
gnutar jxvf /path/to/file.tar.bz2
 

The Following User Says Thank You to qwerty12 For This Useful Post:
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#13
nope:
$ sudo gainroot
# tar -xf /media/mmc1/My\ downloads/freeciv.tar.bz2
tar: invalid tar magic

the same result if for all the other files.

as user, it's not better:
$ tar -xf /media/mmc1/My\ downloads/freeciv.tar.bz2
tar: invalid tar magic


even better:
tar -xvjf /media/mmc1/My\ downloads/freeciv.tar.bz2
tar: invalid option -- j

I always thought that the -j means a bzip2 archive!!!

help please!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#14
I did say to get gnutar and use that instead. You also need bzip2 (available from the same repo)
 
Capn_Fish's Avatar
Posts: 140 | Thanked: 13 times | Joined on Mar 2008
#15
I apologize. I didn't use that method of installation. I just did a "make DESTDIR=...," then copied that directory to / on my N810.
__________________
Nokia N810 (Some mutation of Mer)
 
iliaden's Avatar
Posts: 267 | Thanked: 50 times | Joined on Feb 2008 @ Montreal, Canada
#16
thanks to all.
gnutar worked.
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:35.