[Solved] Deluge not running after upgrade to Jessie

General support for problems installing or using Deluge
bengt_a
New User
New User
Posts: 9
Joined: Sun Nov 06, 2016 2:51 pm
OS or Distro: Raspbian

[Solved] Deluge not running after upgrade to Jessie

Postby bengt_a » Fri Mar 16, 2018 4:45 pm

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 https://forum.deluge-torrent.org/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
OS or Distro: debian

Re: Deluge not running after upgrade to Jessie

Postby siddhartha » Sat Mar 17, 2018 2:23 am

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
New User
New User
Posts: 9
Joined: Sun Nov 06, 2016 2:51 pm
OS or Distro: Raspbian

Re: Deluge not running after upgrade to Jessie

Postby bengt_a » Sat Mar 17, 2018 2:42 pm

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
OS or Distro: debian

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

Postby siddhartha » Sat Mar 17, 2018 2:54 pm

You're welcome! I'm glad you were able to adapt the solution. :)

bengt_a
New User
New User
Posts: 9
Joined: Sun Nov 06, 2016 2:51 pm
OS or Distro: Raspbian

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

Postby bengt_a » Sat Mar 17, 2018 2:59 pm

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


Return to “Support”

Who is online

Users browsing this forum: No registered users and 13 guests