According to that error your shell script interpreter thinks
path=`readlink -e $0`
is a syntax error. That can happen only if you have an ancient version of bash or you aren't using bash at all.
Look inside /opt/calibre/ebook-convert
it is a shell script (written in BASH). Edit it, replacing the invocation to readlink -e (which apparently your system doesn't support) with a hardcoded path that looks like
path=/opt/calibre/ebook-convert
I've spent enough time on this, you're on your own now. If you can't get it to work, then you just have to live without Economist on this computer.
|