Page 1 of 1

FreeBSD v11.3 upgrade breaks deluge-cli

Posted: Thu Jul 11, 2019 7:54 pm
by cbrace
Hello
Yesterday I upgraded a FreeBSD system that I run deluge(d) on, going from v11.2 to 11.3. Something broke my deluge installation:

Code: Select all

 $ sudo service deluged onestart
Starting deluged.
Traceback (most recent call last):
  File "/usr/local/bin/deluged", line 6, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources
/usr/local/etc/rc.d/deluged: WARNING: failed to start deluged
Any thoughts as to what is gong wrong here?
I am using deluge-cli-1.3.15_9 installed as FreeBSD package.
Thanks

Re: FreeBSD v11.3 upgrade breaks deluge-cli

Posted: Thu Jul 11, 2019 8:37 pm
by mhertz
I'm thinking it's the same as this thread here possibly, and which has a solution: viewtopic.php?t=36875

Re: FreeBSD v11.3 upgrade breaks deluge-cli

Posted: Sun Jul 14, 2019 6:22 am
by cbrace
Hi, thanks for the link to that old thread. Here are the files referred to. I am highly reluctant to manually delete files from /usr/local/bin, as the package manager will complain in the daily logs.

Code: Select all

$ ls -l /usr/local/bin/deluge*
-rwxr-xr-x  1 root  wheel  380 Apr 25 03:08 /usr/local/bin/deluge
-rwxr-xr-x  1 root  wheel  404 Apr 25 03:08 /usr/local/bin/deluge-console
-rwxr-xr-x  1 root  wheel  388 Apr 25 03:08 /usr/local/bin/deluge-gtk
-rwxr-xr-x  1 root  wheel  396 Apr 25 03:08 /usr/local/bin/deluge-web
-rwxr-xr-x  1 root  wheel  390 Apr 25 03:08 /usr/local/bin/deluged
I am wondering whether it could be related to the py27-setuptools package. In FreeBSD 11.3 it was it was update from v40 to v 41

Code: Select all

$ pkg info py27-setuptools
py27-setuptools-40.8.0

Code: Select all

$ pkg info py27-setuptools
py27-setuptools-41.0.1
I have reverted to FreeBSD v11.2 while I get this sorted out.

Re: FreeBSD v11.3 upgrade breaks deluge-cli

Posted: Sun Jul 14, 2019 12:43 pm
by mhertz
The link I posted referred to having deluge both in '/usr/local/bin' and '/usr/bin'. Anyway, I just looked up the deluge-cli package, and it states in release-notes that it's just now split into CLI/GUI and needs previous deluge package to be uninstalled first. However, since you made a full OS upgrade, then it sounds strange I must admit. Sorry, I don't know I'm afraid.