linux uninstaller (/usr/bin/calibre-uninstall)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Calibre version: calibre-
$ uname -a (Distro: Xubuntu 13.10 64-bit)
Linux hp-8470w 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
http://
"There is no uninstaller. Simply deleting the installation directory will remove 99% of all installed files. " (3rd bullet just below support badge)
... but the Calibre's install script creates a script called 'calibre-uninstall' in /usr/bin.
When I try to run this script, I get the following error:
$ sudo calibre-uninstall
/opt/calibre/
It seems to be a regular python script and it works if I start it with the default python interpreter:
1) changing the shebang line would fix it, if this is an intentionally installed script. For a complete uninstall users would have to run the following 3 commands:
$ sudo rm -fr /opt/calibre
$ sudo /usr/bin/
$ sudo rm -f /usr/bin/
2) if it's just supposed to be a hack for developers, I'd suggest to remove it from the list of files linked or copied to /usr/bin and place it in Calibre's install directory instead.
OUTPUT OF $ sudo python /usr/bin/
Removing /usr/bin/
Removing /usr/bin/lrf2lrs
Removing /usr/bin/
Removing /usr/bin/ebook-meta
Removing /usr/bin/ebook-edit
Removing /usr/bin/lrfviewer
Removing /usr/bin/calibre
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/web2disk
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/
Removing /usr/bin/lrs2lrf
Removing /usr/bin/
Removing /usr/bin/calibredb
Removing /usr/local/
Removing /usr/share/
Fixed in branch master. The fix will be in the next release. calibre is usually released every Friday.
status fixreleased