11-06-2014, 01:05 PM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2014
Device: none
|
linux "slitaz" caliber install problem
I have attempted to use the install drections on the caliber website, all I keep getting is the error tar: invalid option J.
It strikes me this will be a fairly simple fix, but my knowledge of linux is very limited, though I will keep trying to escape windoze. Thanks Dave. |
11-06-2014, 01:53 PM | #2 |
Addict
Posts: 245
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Cybook Diva
|
Sounds like your version of tar doesn't support the -J option, which is weird. What Linux distribution do you use, and which version?
EDIT: In addition, can you type "tar --version" in a terminal and copy/paste it here? N. |
Advert | |
|
11-06-2014, 04:17 PM | #3 |
Zealot
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
The slitaz version of Linux seems to have been put together so that it would run smoothly on older systems, i486 even, with a minimum of 196M real memory. Often, smaller work-alike programs are used in these distributions to minimize resource use. Your "tar" may be one of those.
If you are indeed using 10-year-old (or older) hardware, you should first find out if it has the "SSE2" instruction (from the command line, run "hwinfo | grep -i sse"). Current versions of Calibre won't run without it, no matter what version of tar you use to install. Otherwise, find another Linux distribution (there are several) for small systems with a "tar" that supports the -J option and install an older version of Calibre (previous to v. 2.0) that doesn't require the SSE2 instruction. I'm sympathetic to your efforts. My home network has a full Linux-Apache-Mysql-Perl (LAMP) headless server running on a 256 MB 1.2 GHz Celeron. Calibre 1.48 is installed on it (which is old enough to not require SSE2) and it runs fine, albeit slowly. Calibre hasn't been updated on the server since Calibre started requiring SSE2. |
11-06-2014, 04:31 PM | #4 |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2014
Device: none
|
Thanks for quick response.
Answers to both the above : Command line: tar --version BusyBox v1.18.4 (2012-03-14 03:32:25 CET) multi-call binary. Usage: tar -[cxtzjaZmvO] [-X FILE] [-f TARFILE] [-C DIR] [FILE]... Create, extract, or list files from a tar file Operation: c Create x Extract t List Options: f Name of TARFILE ('-' for stdin/out) C Change to DIR before operation v Verbose z (De)compress using gzip j (De)compress using bzip2 a (De)compress using lzma Z (De)compress using compress O Extract to stdout h Follow symlinks m Don't restore mtime exclude File to exclude X File with names to exclude T File with names to include dave@slitaz:~$ hwinfo | grep -i sse /bin/sh: hwinfo: not found |
11-06-2014, 04:38 PM | #5 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Busybox has a cut down implementation of tar which is why you are having problems. It is typically used on systems that are severely RAM limited. It seems highly likely that the distribution you are usiing may well be incapable of running Calibre.
|
Advert | |
|
11-06-2014, 04:45 PM | #6 |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2014
Device: none
|
Also hardware is Acer Aspire 7520 running slitaz linux 2.6.37
|
11-06-2014, 04:46 PM | #7 |
Grand Sorcerer
Posts: 12,166
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Actually busybox does support the -j switch; it's just an option that has to be selected when busybox is built.
|
11-06-2014, 05:05 PM | #8 |
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2014
Device: none
|
i don't know enougth linux to know if this means I have sse2
Thanks again. root@slitaz:/home/dave# cat /proc/cpuinfo|grep -w sse2 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow extd_apicid pni cx16 lahf_lm cmp_legacy svm extapic cr8_legacy 3dnowprefetch lbrv |
11-06-2014, 05:26 PM | #9 |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@DaveHayler -SSE2 is a processor attribute - nothing to do with Linux per-se. Wikipedia has a good article on SSE that lists the processor architectures that support SSE2 - which is pretty much all those made in this century.
I'd be mighty surprised if the Acer Aspire 7520 processor (I think its an AMD Turion 64 X2) didn't have SSE2. Given what other's have said about slitaz being targeted at small systems (i486/196MB), and the specs of the Acer Aspire 7520, and that you're just starting out with linux I wonder if it might be better for you to use one of the more popular linux distro's. You might also be interested to read what Kovid Goyal (author of calibre) wrote recently about Linux Linux definitely has more problems than any other OS BR |
11-06-2014, 06:20 PM | #10 |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
He might want to try Puppy Linux. My suggestion is to get a 32gb usb stick and install a full Linux Distro on it to try Linux out.
For cpu info type: Code:
cat /proc/cpuinfo Will give you a display like this: Spoiler:
benie Last edited by gbm; 11-06-2014 at 06:29 PM. |
11-06-2014, 07:31 PM | #11 | |
null operator (he/him)
Posts: 20,565
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
11-06-2014, 10:02 PM | #12 |
Zealot
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
My tar man page says that the "-J" option is a synonym for --xz. I presume you should try to replace the "-J" option with "-x -z", since it's unlikely to support "--xz" if it doesn't support "-J". "-x" simply means extract the files, "-z" says to use gunzip in the process. Try it out; you'll know pretty soon if it works or not. It can't hurt anything if it doesn't.
|
11-06-2014, 10:22 PM | #13 |
creator of calibre
Posts: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A -J option unknown means your distro is missing the xz-utils package, which is required for tar to have support for untarring xz compressed files. You will either need to get a modern implementation of tar and xz-utils compiled from source, or switch to another distribution of linux, or download the calibre linux tarballs on another computer and uncompress them manually then simply extract them in /opt/calibre and run calibre as
/opt/calibre/calibre Last edited by kovidgoyal; 11-06-2014 at 11:41 PM. |
11-06-2014, 10:55 PM | #14 |
Zealot
Posts: 119
Karma: 64428
Join Date: Aug 2011
Device: none
|
I stand corrected about the "-J" option. However, there is another angle to consider. I looked up the specifications for the Acer Aspire 7520 and found that it has an AMD 64 x2 processor (64-bits, dual core), 2GHz clock, 2GB main memory, a 320GB hard disk and bundled with Vista. I got led astray by the choice of a severely crippled Linux distribution and assumed it was needed for a *really* old computer. You are going to have to re-learn your way about hardware, if you're going to become a Linux nerd. In the Windows universe, the Acer is close to obsolete (Vista? Pah!) In the Linux universe, this Acer is *prime* hardware for any current Linux distribution. I strongly suggest you cease your experiments with slitaz and use any other popular Linux distribution. Personally, I like Kubuntu, because it was rumored to be most like Windows when I made the choice several years ago. I haven't seen any need to change since.
I'd really hate to see you form any lasting bad impressions of Linux from your experience with a crippled distribution. |
11-07-2014, 04:55 AM | #15 | |
Addict
Posts: 245
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Cybook Diva
|
Quote:
If lightweight distros are, if not required, at least wanted, you might want to look at Xubuntu or Lubuntu. Although if the point is to learn how to live without Windows, Kubuntu will do nicely. |
|
Tags |
install failed, linux, slitaz |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A warning for Linux users: slow "Add Books", "Unknown" title and Author | rolgiati | Library Management | 8 | 07-24-2013 04:36 PM |
Try to remove : This item was downloaded by caliber from .... and "Section Menu", "Ma | poulardalber | Recipes | 4 | 08-21-2012 05:23 AM |
Caliber 0.6.12 - "Fetch News" problem | berniej | Calibre | 13 | 09-19-2009 10:39 AM |
Caliber "Browsing books by cover disabled" | JAJA | Calibre | 5 | 06-07-2008 01:13 PM |