10-02-2024, 02:34 PM | #1 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Upgrade 7.17->7.19 OK on WS, fails Laptop
Same OS (Mint 21.3 with Mate) on WS (Workstation) and 7.19 upgrade was OK on it. I skipped 7.18
Fails on laptop. Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin 2024-10-02 18:25:39 URL:https://download.calibre-ebook.com/linux-installer.sh [35035/35035] -> "-" [1] Using python executable: /usr/bin/python3 Your system is missing the FreeType library libfreetype.so. Try installing the freetype package. Except it's not missing libfreetype.so and upgrade to 7.17 was OK (whenever that was). Last edited by Quoth; 10-02-2024 at 03:01 PM. |
10-02-2024, 03:01 PM | #2 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
The 7.17 is running on the laptop. But the update download and install script fails for any version.
The symantic package manager seems to indicate libfreetype6 is installed. I reinstalled it, but that made no difference. |
Advert | |
|
10-02-2024, 03:27 PM | #3 |
Grand Sorcerer
Posts: 12,733
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Amusing. I had no issue installing on chromeos HOWEVER I was using an old copy of the linux_installer.sh script...
My version was missing the check for the presence of libfreet Code:
def check_for_recent_freetype(): import ctypes try: f = ctypes.CDLL('libfreetype.so') except OSError: raise SystemExit('Your system is missing the FreeType library libfreetype.so. Try installing the freetype package.') try: f.FT_Get_Color_Glyph_Paint except AttributeError: raise SystemExit('Your system has too old a version of the FreeType library.' ' freetype >= 2.11 is needed for the FT_Get_Color_Glyph_Paint function which is required by Qt WebEngine') It's worth noting this addition to the install script was made today. |
10-02-2024, 03:32 PM | #4 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
So the install script changed today, hence the install of 7.19 on WS a few days ago worked (and Calibre 7.19 works), but fails this evening on the laptop.
If I alias libfreetype6.* to libfreetype.* it would work? |
10-02-2024, 03:36 PM | #5 |
Grand Sorcerer
Posts: 12,733
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
No idea sorry
|
Advert | |
|
10-02-2024, 03:39 PM | #6 |
Junior Member
Posts: 9
Karma: 10
Join Date: Mar 2024
Device: Kobo
|
Same problem here. Frustrating!
|
10-02-2024, 03:50 PM | #7 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
It will be fixed soon
|
10-02-2024, 05:38 PM | #8 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Yes, the install script now has same error on WS, which was fine installing 7.19 a few days ago.
|
10-02-2024, 06:19 PM | #9 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
I can't remember ever doing python.
This is obviously doing the wrong check. Code:
def check_for_recent_freetype(): import ctypes try: f = ctypes.CDLL('libfreetype.so') except OSError: raise SystemExit('Your system is missing the FreeType library libfreetype.so. Try installing the freetype package.') try: f.FT_Get_Color_Glyph_Paint except AttributeError: raise SystemExit('Your system has too old a version of the FreeType library.' ' freetype >= 2.11 is needed for the FT_Get_Color_Glyph_Paint function which is required by Qt WebEngine') I've no idea what it should be checking for (it's not 'libfreetype6.so'), or if the checking code is correct. |
10-02-2024, 10:47 PM | #10 |
creator of calibre
Posts: 44,516
Karma: 24495784
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
10-02-2024, 11:07 PM | #11 | |
Wizard
Posts: 2,125
Karma: 8796706
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
That worked. Downloaded and edited the installer.
Mint 22. bernie Quote:
|
|
10-03-2024, 05:23 AM | #12 |
the rook, bossing Never.
Posts: 12,334
Karma: 92073397
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fetching recpies fails after upgrade to 2.1 | sws | Recipes | 12 | 09-03-2014 04:05 PM |
upgrade fails on initial setup | mvox | Kobo Tablets | 11 | 11-15-2011 11:09 AM |
Calibre fails with proxy after upgrade | John H | Devices | 3 | 08-09-2011 10:47 AM |
calibre 0.6.17 fails to upgrade | booksonthemove | Calibre | 11 | 10-19-2009 06:14 PM |
Calibre fails to start after upgrade | njw7 | Calibre | 0 | 12-18-2008 06:41 AM |