View Single Post
Old 12-27-2014, 03:44 PM   #11
aleyx
Addict
aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.aleyx can self-interpret dreams as they happen.
 
Posts: 250
Karma: 20386
Join Date: Sep 2010
Location: France
Device: Bookeen Diva, Kobo Clara BW
Quote:
Originally Posted by mvelte54 View Post
Cannot remove via terminal:

mikey@R2D2:~$ sudo python /usr/bin/calibre-uninstall
[sudo] password for mikey:
python: can't open file '/usr/bin/calibre-uninstall': [Errno 2] No such file or directory

To theducks I have no devices connected I am trying to just open the software and this is as far as I get.

Going to try removing with Synaptic (which is odd why can't I remove it through the terminal?)
The correct way to remove packages from the terminal in Ubuntu Lucid/10.04 is by using:
Code:
apt-get remove <package>
I'm not aware of any '/usr/bin/calibre-uninstall' script, and apparently neither is Ubuntu.

Quote:
I have uninstalled calibre via synaptic and then went to the web site downloaded version 2.14.0-i386.txz
Did you download the file manually, or did you copy/paste the command recommended by Kovid?

Code:
sudo -v && wget -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()"
The error you get means that Python doesn't find the QT modules for Python, which is strange because Calibre should come with its own version.

Is there something keeping you from upgrading Ubuntu to 14.04? It's also a long-term support and the hardware requirements aren't much different, if I recall correctly.

Quote:
To PeterT you say to "calibre-debug -g > calibre.log 2>&1" then redirect to a calibre.log file? Okay is that sudo calibre-debug -g > calibre.log 2>&1?
No need for sudo. Just run

Code:
calibre-debug -g > calibre.log 2>&1
The redirection part is > calibre.log 2>&1.

"> calibre.log" means "redirect the standard output (AKA stdout, AKA whatever the program wants printed on the terminal), to the calibre.log file", and "2>&1" means "additionally, redirect output 2 (the standard error output, AKA stderr, AKA what gets printed on the terminal when things get horribly wrong) to stdout", so everything will end up in calibre.log.

Technically we can also write it as "calibre-debug -g &> calibre.log", which means "redirect both stdout and stderr to calibre.log", but this is nitpicking and I'm getting sidetracked...

N.
aleyx is offline   Reply With Quote