[Solved] Deluge not running after upgrade to Jessie

General support for problems installing or using Deluge
Post Reply
bengt_a
Member
Member
Posts: 10
Joined: Sun Nov 06, 2016 2:51 pm

[Solved] Deluge not running after upgrade to Jessie

Post by bengt_a »

Hi,
I'm running deluge on a Raspberry Pi 2.
It was working fine on Wheezy, but after upgrading to Jessie it is giving me errors:

Code: Select all

pi@plex ~ $ deluged
pi@plex ~ $ [ERROR   ] 17:40:36 main:248 libboost_system.so.1.49.0: cannot open shared object file: No such file or directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/deluge/main.py", line 241, in start_daemon
    Daemon(options, args)
  File "/usr/lib/python2.7/dist-packages/deluge/core/daemon.py", line 144, in __init__
    from deluge.core.core import Core
  File "/usr/lib/python2.7/dist-packages/deluge/core/core.py", line 38, in <module>
    from deluge._libtorrent import lt
  File "/usr/lib/python2.7/dist-packages/deluge/_libtorrent.py", line 59, in <module>
    import libtorrent as lt
ImportError: libboost_system.so.1.49.0: cannot open shared object file: No such file or directory
I found the thread viewtopic.php?t=54361
which seems to cover the same problem - but the author seems to be much more knowledgeable than I so I don't know how to apply his solution to my problem...

One difference from that post is when I check for libboost-system:

Code: Select all

pi@plex ~ $ sudo apt list --installed | grep libboost-system

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libboost-system-dev/oldstable,oldstable,now 1.55.0.2 armhf [installed]
libboost-system1.55-dev/oldstable,oldstable,now 1.55.0+dfsg-3 armhf [installed,automatic]
libboost-system1.55.0/oldstable,oldstable,now 1.55.0+dfsg-3 armhf [installed,automatic]
Does anyone have any suggestions how to fix this?
Last edited by bengt_a on Sat Mar 17, 2018 2:43 pm, edited 1 time in total.
siddhartha
Member
Member
Posts: 13
Joined: Wed Dec 14, 2016 3:02 am

Re: Deluge not running after upgrade to Jessie

Post by siddhartha »

libboost was updated to 1.55.0 in Jessie. I would first make sure you have the latest version of deluge:

Code: Select all

sudo apt-get update && sudo apt-get install deluged
If that doesn't work and you need to force an older version of libboost, you can try:

Code: Select all

sudo apt-get install libboost-system1.49.0
bengt_a
Member
Member
Posts: 10
Joined: Sun Nov 06, 2016 2:51 pm

Re: Deluge not running after upgrade to Jessie

Post by bengt_a »

Thanks siddhartha!

Deluged was the latest version

Code: Select all

Fetched 27.5 MB in 2min 16s (201 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
deluged is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
There was a new error after installing the old libboost:

Code: Select all

pi@plex ~ $ sudo apt-get install libboost-system1.49.0
...
ImportError: libboost_python-py27.so.1.49.0: cannot open shared object file: No such file or directory
So I used your previous advice as inspiration and tried the following command:

Code: Select all

sudo apt-get install libboost-python1.49.0
And now it is working again!

You are my hero, siddhartha!!!
I really, really, really appreciate your effort in helping me with this!
siddhartha
Member
Member
Posts: 13
Joined: Wed Dec 14, 2016 3:02 am

Re: [Solved] Deluge not running after upgrade to Jessie

Post by siddhartha »

You're welcome! I'm glad you were able to adapt the solution. :)
bengt_a
Member
Member
Posts: 10
Joined: Sun Nov 06, 2016 2:51 pm

Re: [Solved] Deluge not running after upgrade to Jessie

Post by bengt_a »

I couldn't have done it without your help. :)
Post Reply