01-02-2016, 11:35 PM | #1 | |
ἄρκτος ὁ Μέγας
Posts: 76
Karma: 155874
Join Date: Dec 2009
Location: Western New York State
Device: Onyx Boox 60
|
solved --update error in Debian 8 Linux
Hi, all.
And @ Kovid: Hope your vacation was wonderful! I've encountered the same error message twice --a few weeks ago when trying to update from Calibre 2.46 to 2.47 --and today, trying to update 2.46 to 2.48. I run the DL/install command --cut & paste from the calibre website. The download completes, and as the installation starts to run, it terminates with these messages: Quote:
I've been running Calibre on this desktop machine under a few different Linux distros over the last four years with no trouble. I've had Debian 8 ("Jessie") installed & calibre has been happy since June 2015. Does anyone have advice on how to work around this problem? Last edited by SilverBear; 01-03-2016 at 01:22 AM. Reason: solved |
|
01-03-2016, 12:06 AM | #2 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Are there symbolic links in /opt/calibre ?
There shouldn't be, unless something other than calibre's installer has touched that folder... But anyway, try clearing it with `sudo rm -rf /opt/calibre` and retrying the installation. Shameless plug: Also see my sticky in Related Tools, for an easy way to auto-update. |
01-03-2016, 12:37 AM | #3 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a very strange error, as far as I can tell it should be impossible, unless some other process is modifying the installation directory simultaneously with the calibre installer. Or the lstat system call is failing for files in the installation directory.
@eschwartz: The presence of symlinks should not matter, since python's rmtree implementation does not call itself with symlinks as arguments. The only way it can happen is if os.lstat fails for a path. Then the rmtree() implementation just assumes the path is a directory. I dont know why rmtree was designed to ignore lstat failures. |
01-03-2016, 01:19 AM | #4 |
ἄρκτος ὁ Μέγας
Posts: 76
Karma: 155874
Join Date: Dec 2009
Location: Western New York State
Device: Onyx Boox 60
|
Uh-ohh. . .
Yes, it is. And it turns out that I am the very strange man who caused it.
In addition to my Debian 8 install, I've been testing out the latest Linux Mint and MX-Linux versions. I routinely symlink my data partitions into my /home/silverbear directories so I have access to all my data no matter what distro I'm running. APPARENTLY I got the not-so-bright idea to do the same with my install of calibre 2.46 as a time-saving experiment. . . . . . and then forgot I'd done it. Lesson: do not modify the OS late at night when you have an insomnia attack! I'm sorry for wasting your time, gentlemen. Symlink has been rm'd and calibre 2.48 is nicely installed in /opt with no problems. |
01-03-2016, 02:05 AM | #5 | |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
It is 2 AM here (was: midnight) -- this is probably a sign that I should go to sleep now... @SilverBear -- not just you... |
|
01-03-2016, 04:03 AM | #6 |
creator of calibre
Posts: 43,859
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Tags |
debian, linux, update error |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Turn your Kobo into a Debian Linux tablet | MarekGibek | Kobo Developer's Corner | 125 | 12-11-2022 01:06 PM |
Installing a "normal" Debian ARMEL Linux on the Kindle | choff | Kindle Developer's Corner | 18 | 09-09-2014 02:42 AM |
Installing calibre 1.26 in linux debian with no sudo | Nix Hard | Calibre | 5 | 03-02-2014 10:47 PM |
Linux install error | anishtain4 | Devices | 1 | 05-17-2012 10:30 AM |
Install in Bubba server (Debian Linux bubba 2.6.32.6) | cc_humbry | Calibre | 5 | 07-24-2010 11:22 AM |