Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Support for the Debian/Ubuntu package, created by JCFP.
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
sabuser3528
Newbie
Newbie
Posts: 3
Joined: July 17th, 2021, 9:17 am

Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Post by sabuser3528 »

Hi,

I am running on Debian 10 Buster and the version shipped with it is now quite old.

I created a backport by rebuilding the source package from the Ubuntu PPA.

After resolving a lot of dependencies issues, i still can't install SABnzbd :

Code: Select all

sudo dpkg --install sabnzbdplus_3.3.1-0ubuntu1~jcfp1~21.10_all.deb

Code: Select all

Selecting previously unselected package sabnzbdplus.
(Reading database ... 101795 files and directories currently installed.)
Preparing to unpack sabnzbdplus_3.3.1-0ubuntu1~jcfp1~21.10_all.deb ...
Unpacking sabnzbdplus (3.3.1-0ubuntu1~jcfp1~21.10) ...
dpkg: dependency problems prevent configuration of sabnzbdplus:
 sabnzbdplus depends on python3-portend; however:
  Package python3-portend is not installed.
 sabnzbdplus depends on python3-sabyenc; however:
  Package python3-sabyenc is not installed.

dpkg: error processing package sabnzbdplus (--install):
 dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u7) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for shared-mime-info (1.10-1) ...
Errors were encountered while processing:
 sabnzbdplus
python3-portend and python3-sabyenc seems missing but :

Code: Select all

sudo -H pip3 install sabyenc --upgrade
Requirement already up-to-date: sabyenc in /usr/local/lib/python3.7/dist-packages (3.3.6)

Code: Select all

sudo -H pip3 install portend --upgrade
Requirement already up-to-date: portend in /usr/local/lib/python3.7/dist-packages (2.7.1)
Requirement already satisfied, skipping upgrade: tempora>=1.8 in /usr/local/lib/python3.7/dist-packages (from portend) (4.1.1)
Requirement already satisfied, skipping upgrade: pytz in /usr/local/lib/python3.7/dist-packages (from tempora>=1.8->portend) (2021.1)
Requirement already satisfied, skipping upgrade: jaraco.functools>=1.20 in /usr/local/lib/python3.7/dist-packages (from tempora>=1.8->portend) (3.3.0)
Requirement already satisfied, skipping upgrade: more-itertools in /usr/local/lib/python3.7/dist-packages (from jaraco.functools>=1.20->tempora>=1.8->portend) (8.8.0)
I don't know what I am missing.
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Post by jcfp »

sabuser3528 wrote: July 17th, 2021, 9:25 amI don't know what I am missing.
The part where dpkg/apt don't know about things installed via pip.

Since you're rebuilding ppa packages, you can either also build and install python-portend/python-sabyenc/etc packages (source packages for those already available from the ppa as backports for older ubuntu releases), or use pip for those and simply remove the relevant dependencies (from debian/control) before rebuilding sabnzbdplus.
sabuser3528
Newbie
Newbie
Posts: 3
Joined: July 17th, 2021, 9:17 am

Re: Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Post by sabuser3528 »

Thank you for your quick answer.

I manage to build python-sabyenc but python-portend ask for more and more depencies which i didn't manage to build (got an error on pytest)

End up following to second advice :

Code: Select all

sudo dpkg --force-all --install sabnzbdplus_3.3.1-0ubuntu1~jcfp1~21.10_all.deb
Seems to work.

I would say .. the upgrade path is not very easy.

Thanks !
User avatar
jcfp
Release Testers
Release Testers
Posts: 986
Joined: February 7th, 2008, 12:45 pm

Re: Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Post by jcfp »

I wish it were easier, but with debian and ubuntu lts releases out of sync with respect to major python versions things are what they are.

There's work going on to add debian repository publishing support to upstream gitlab sources, which may result in native ppa-style repositories for debian (given that debian already uses its own gitlab install at salsa.debian.org as its main vcs).
sabuser3528
Newbie
Newbie
Posts: 3
Joined: July 17th, 2021, 9:17 am

Re: Upgrading SABnzbd on Debian 10 (buster) - dependencies problems

Post by sabuser3528 »

I understand. I won't complain though, sab is great !

I think there is not much information about upgrading on Debian (except the sticky post in the forum). I think that would help other users if there were like a post / tutorial which list the commands to execute.

Thanks you again for your help.
Post Reply