Howto: updating in Debian proper

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.
pinn
Jr. Member
Jr. Member
Posts: 89
Joined: September 18th, 2011, 4:08 am

Re: Howto: updating in Debian proper

Post by pinn »

imthenachoman wrote: October 8th, 2023, 10:02 pm I was wondering if there have been any updates in how to get a more updated version ofo Sabnzbd in Debian Bookworm (12)? The one it comes with is 3.7.1 -- YIKES!
It's just much easier to go the docker route tbh
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

pinn wrote: October 9th, 2023, 1:09 am It's just much easier to go the docker route tbh
I can’t use docker on this system. I could put it in a VM but I’d like to avoid that. I’m surprised sab doesn’t maintain a more updated deb package and apt repo.
pinn
Jr. Member
Jr. Member
Posts: 89
Joined: September 18th, 2011, 4:08 am

Re: Howto: updating in Debian proper

Post by pinn »

imthenachoman wrote: October 9th, 2023, 6:20 am
pinn wrote: October 9th, 2023, 1:09 am It's just much easier to go the docker route tbh
I can’t use docker on this system. I could put it in a VM but I’d like to avoid that. I’m surprised sab doesn’t maintain a more updated deb package and apt repo.
What are you running?
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

pinn wrote: October 9th, 2023, 6:37 am What are you running?
What do you mean? I am on Linux + Debian + KDE. This is my daily driver.

I've already looked into all the various options. For me, the option I want to go is SabNZBD directly on my linux box -- no VM or Docker.

I just thought I'd check if there was a better way to keep it updated since this post is old and hasn't had any comments/updates in a while.
pinn
Jr. Member
Jr. Member
Posts: 89
Joined: September 18th, 2011, 4:08 am

Re: Howto: updating in Debian proper

Post by pinn »

I just wondered what prevented you from doing a docker install. I did try to do a recent install using the instructions from main page but had issues installing rust so went for docker
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

pinn wrote: October 9th, 2023, 8:18 am I just wondered what prevented you from doing a docker install. I did try to do a recent install using the instructions from main page but had issues installing rust so went for docker
I need to run multiple VMs on different VLANs using bridged mode and that doesn't play nice with Docker. I could do things to make it work but I don't have time or want to muck with it. I can't use macvlan cause my router does not support hairpin mode. I've researched this for a hot minute. I could run Sab in a container on a VM but I'd rather avoid that. My use-case is very basic so running on bare metal is fine for me. I just don't like how old the Sab package is in Debian -- 3.7.1. 🙁

https://unix.stackexchange.com/question ... -vm-is-not
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Howto: updating in Debian proper

Post by sander »

imthenachoman wrote: October 9th, 2023, 9:42 am
pinn wrote: October 9th, 2023, 8:18 am I just wondered what prevented you from doing a docker install. I did try to do a recent install using the instructions from main page but had issues installing rust so went for docker
I need to run multiple VMs on different VLANs using bridged mode and that doesn't play nice with Docker. I could do things to make it work but I don't have time or want to muck with it. I can't use macvlan cause my router does not support hairpin mode. I've researched this for a hot minute. I could run Sab in a container on a VM but I'd rather avoid that. My use-case is very basic so running on bare metal is fine for me. I just don't like how old the Sab package is in Debian -- 3.7.1. 🙁

https://unix.stackexchange.com/question ... -vm-is-not
Ok.
But if you're that technical, why don't you run SABnzbd from source, with a python-venv? (Disclaimer: Maybe I missed something) See https://github.com/sabnzbd/sabnzbd/disc ... nt-6198486

Or: convert the PPA to *deb as https://wiki.debian.org/CreatePackageFromPPA seems to suggest

Or ... https://packages.debian.org/search?suit ... ds=sabnzbd ?

And finally: If "multiple VMs", why not Ubuntu one such a VM, where the PPA provides uptodate SABnzbd?
User avatar
OneCD
Hero Member
Hero Member
Posts: 596
Joined: March 4th, 2017, 3:47 pm

Re: Howto: updating in Debian proper

Post by OneCD »

sander wrote: October 9th, 2023, 9:55 am But if you're that technical, why don't you run SABnzbd from source, with a python-venv? (Disclaimer: Maybe I missed something) See https://github.com/sabnzbd/sabnzbd/disc ... nt-6198486
+1

That's how I run it in Debian Bookworm. :)
Stuff I like: Apache bash cron DD-WRT Debian DNSMasq Entware FireFox GitHub ImageMagick Kate KDE LibreELEC Netrunner NFS NVIDIA OpenVPN Orvibo-S20 pfSense Python Raspberry-Pi RAID SABnzbd Transmission Usenet VirtualBox Watcher3 XFCE
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

I was hoping for path of least resistance. I'm technical but I don't have a lot of time to figure new things out. I don''t know how to do those things -- but I guess I'll have to learn. Thanks folks!
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

So I found another way for Debian Bookworm (12). Or I think it is another way. I am installing from stable-backports and I think this way I get automatic updates.

https://packages.debian.org/search?keyw ... &suite=all does not show an official backport for Debian Bookworm (12).

But I can see it in stable-backports:

Code: Select all

$ sudo rmadison sabnzbdplus

sabnzbdplus | 2.3.6+dfsg-1+deb10u2 | oldoldstable/contrib            | source, all
sabnzbdplus | 3.1.1+dfsg-2+deb11u1 | oldstable/contrib               | source, all
sabnzbdplus | 3.7.1+dfsg-1~bpo11+1 | bullseye-backports/contrib      | source, all
sabnzbdplus | 3.7.1+dfsg-2         | stable/contrib                  | source, all
sabnzbdplus | 4.1.0+dfsg-1~bpo12+1 | buildd-stable-backports/contrib | source, all
sabnzbdplus | 4.1.0+dfsg-1~bpo12+1 | stable-backports/contrib        | source, all
sabnzbdplus | 4.1.0+dfsg-1         | testing/contrib                 | source, all
sabnzbdplus | 4.1.0+dfsg-1         | unstable/contrib                | source, all
I added this to my /etc/apt/sources.list file:

Code: Select all

deb http://deb.debian.org/debian stable-backports main contrib non-free non-free-firmware
Then after doing apt update, I can see it and was able to install it.

Code: Select all

$ sudo apt search sabnzbdplus

Sorting... Done
Full Text Search... Done
sabnzbdplus/stable-backports,stable-backports,now 4.1.0+dfsg-1~bpo12+1 all [installed]
  web-based binary newsreader with nzb support

$ sudo apt install sabnzbdplus/stable-backports
User avatar
sander
Release Testers
Release Testers
Posts: 9061
Joined: January 22nd, 2008, 2:22 pm

Re: Howto: updating in Debian proper

Post by sander »

@imthenachoman is this the result of jcfp's work? See https://github.com/sabnzbd/sabnzbd/disc ... nt-7261373
imthenachoman
Jr. Member
Jr. Member
Posts: 59
Joined: March 2nd, 2009, 10:58 am
Contact:

Re: Howto: updating in Debian proper

Post by imthenachoman »

sander wrote: October 12th, 2023, 8:22 am @imthenachoman is this the result of jcfp's work? See https://github.com/sabnzbd/sabnzbd/disc ... nt-7261373
No. I was reading various Debian documents to try to figure it out. Never saw the link you shared.
Post Reply