I genuenly don't understand how do upgrade to 4.x [debian]

Get help with all aspects of SABnzbd
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
NotANoobLol
Newbie
Newbie
Posts: 19
Joined: September 12th, 2017, 7:09 pm

I genuenly don't understand how do upgrade to 4.x [debian]

Post by NotANoobLol »

Hey everyone,

I'm on debian bullseye and I just learned that i run a very outdated sabnzbd version (3.1.1) and that the ppa is not the way to go anymore, even though it seems to have the 4.x versions? I'm sorry but I don't get it. I would appreciate a more dumbed down version, maybe there is a language barrier and I simply don't understand the documentation given.

So this viewtopic.php?p=60238says I simply need to activate the backports in the sources.list.

Code: Select all

# nano /etc/apt/sources.list

Code: Select all

deb http://deb.debian.org/debian bullseye-backports main contrib non-free

Code: Select all

# apt update 

Code: Select all

apt list --upgradable

Code: Select all

sabnzbdplus/bullseye-backports 3.7.1
There is only version 3.7.1 and even if I'm tryin to apt upgrade, apt full-upgrade or even dist-upgrade it first removes my existing sabnzbdplus installation

Code: Select all

# apt full-upgrade
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Paketaktualisierung (Upgrade) wird berechnet… Fertig
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:
  avahi-daemon fonts-glyphicons-halflings libavahi-compat-libdnssd1 libavahi-core7 libjs-bootstrap libjs-jquery-ui
  libjs-moment libnss-mdns p7zip p7zip-full par2 python3-cheetah python3-cherrypy3 python3-configobj
  python3-feedparser python3-jaraco.functools python3-more-itertools python3-notify2 python3-portend
  python3-repoze.lru python3-routes python3-sabyenc python3-simplejson python3-tempora python3-tz python3-webob unrar
Verwenden Sie »apt autoremove«, um sie zu entfernen.
Die folgenden Pakete werden ENTFERNT:
  sabnzbdplus
Die folgenden Pakete werden aktualisiert (Upgrade):
  python3-sabyenc
1 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
Es müssen 63,5 kB an Archiven heruntergeladen werden.
Nach dieser Operation werden 4.255 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n]
To afterwards tell me that there are unresolved dependencies which can't be solved?

Code: Select all

# apt install sabnzbdplus --install-recommends
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Einige Pakete konnten nicht installiert werden. Das kann bedeuten, dass
Sie eine unmögliche Situation angefordert haben oder, wenn Sie die
Unstable-Distribution verwenden, dass einige erforderliche Pakete noch
nicht erstellt wurden oder Incoming noch nicht verlassen haben.
Die folgenden Informationen helfen Ihnen vielleicht, die Situation zu lösen:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
 sabnzbdplus : Hängt ab von: python3-guessit ist aber nicht installierbar
               Hängt ab von: python3-rebulk ist aber nicht installierbar
               Hängt ab von: python3-socks ist aber nicht installierbar
               Hängt ab von: python3-ujson ist aber nicht installierbar
               Empfiehlt: gir1.2-xapp-1.0 (>= 1.6) ist aber nicht installierbar
E: Probleme können nicht korrigiert werden, Sie haben zurückgehaltene defekte Pakete.
User avatar
OneCD
Hero Member
Hero Member
Posts: 597
Joined: March 4th, 2017, 3:47 pm

Re: I genuenly don't understand how do upgrade to 4.x

Post by OneCD »

I'm on Debian Bookworm, and run SABnzbd from source (have done for many years): https://sabnzbd.org/wiki/installation/i ... ff-modules

No problems here. :)
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
NotANoobLol
Newbie
Newbie
Posts: 19
Joined: September 12th, 2017, 7:09 pm

Re: I genuenly don't understand how do upgrade to 4.x

Post by NotANoobLol »

OneCD wrote: May 5th, 2024, 6:13 pm I'm on Debian Bookworm, and run SABnzbd from source (have done for many years): https://sabnzbd.org/wiki/installation/i ... ff-modules

No problems here. :)
Thank you, but this is unrelated to my question. I'd like to have a PPA like approach which, from what I can tell, is only possible via the backports.
User avatar
OneCD
Hero Member
Hero Member
Posts: 597
Joined: March 4th, 2017, 3:47 pm

Re: I genuenly don't understand how do upgrade to 4.x [debian]

Post by OneCD »

Then, I hope you're able to find a solution that works for you... even if it's not the one you want. ;)
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
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: I genuenly don't understand how do upgrade to 4.x [debian]

Post by jcfp »

The version in bullseye-backports is limited by Debian's backports policy that prevents it from going beyond what is packaged in bookworm, as that would interfere with the clean upgrade path when upgrading from bullseye to bookworm. If you want to stick with official packages but ignore that limit, you'll have to add bullseye-backports-sloppy.
NotANoobLol
Newbie
Newbie
Posts: 19
Joined: September 12th, 2017, 7:09 pm

Re: I genuenly don't understand how do upgrade to 4.x [debian]

Post by NotANoobLol »

jcfp wrote: May 7th, 2024, 3:08 am The version in bullseye-backports is limited by Debian's backports policy that prevents it from going beyond what is packaged in bookworm, as that would interfere with the clean upgrade path when upgrading from bullseye to bookworm. If you want to stick with official packages but ignore that limit, you'll have to add bullseye-backports-sloppy.
Thank you for the explanation.
It would be helpful to find that information in the Top Post of your thread I linked: viewtopic.php?p=60238

But it still doesn't seem to solve it.

Thats the content of my sources.list

Code: Select all

# deb cdrom:[Debian GNU/Linux 11.7.0 _Bullseye_ - Official amd64 NETINST 20230429-11:49]/ bullseye main

# deb cdrom:[Debian GNU/Linux 11.7.0 _Bullseye_ - Official amd64 NETINST 20230429-11:49]/ bullseye main

deb http://deb.debian.org/debian bullseye main contrib non-free
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
deb http://deb.debian.org/debian bullseye-backports-sloppy main contrib non-free
deb-src http://deb.debian.org/debian bullseye main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free
deb-src http://deb.debian.org/debian bullseye-backports-sloppy main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main contrib non-free
deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Five upgrades available (none of them are sabnzbdplus)

Code: Select all

apt update
OK:1 http://deb.debian.org/debian bullseye InRelease
Holen:2 http://deb.debian.org/debian bullseye-backports InRelease [49,0 kB]
OK:3 http://security.debian.org/debian-security bullseye-security InRelease
OK:4 https://downloads.plex.tv/repo/deb public InRelease
OK:5 http://deb.debian.org/debian bullseye-backports-sloppy InRelease
OK:6 http://deb.debian.org/debian bullseye-updates InRelease
OK:7 https://apt.sonarr.tv/debian buster InRelease
Holen:8 http://deb.debian.org/debian bullseye-backports/non-free Sources [5.148 B]
Holen:9 http://deb.debian.org/debian bullseye-backports/main Sources [381 kB]
Holen:10 http://deb.debian.org/debian bullseye-backports/contrib Sources [4.808 B]
Holen:11 http://deb.debian.org/debian bullseye-backports/main amd64 Packages [405 kB]
Holen:12 http://deb.debian.org/debian bullseye-backports/main Translation-en [345 kB]
Holen:13 http://deb.debian.org/debian bullseye-backports/contrib amd64 Packages [5.976 B]
Holen:14 http://deb.debian.org/debian bullseye-backports/contrib Translation-en [6.004 B]
Holen:15 http://deb.debian.org/debian bullseye-backports/non-free amd64 Packages [14,5 kB]
Holen:16 http://deb.debian.org/debian bullseye-backports/non-free Translation-en [28,0 kB]
Es wurden 1.245 kB in 1 s geholt (867 kB/s).
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Aktualisierung für 5 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.

Code: Select all

# apt list --upgradable
Auflistung… Fertig
devscripts/oldstable-backports-sloppy 2.23.6~bpo11+1 amd64 [aktualisierbar von: 2.22.2~bpo11+1]
libdav1d4/oldstable-security 0.7.1-3+deb11u1 amd64 [aktualisierbar von: 0.7.1-3]
libglib2.0-0/oldstable-security 2.66.8-1+deb11u3 amd64 [aktualisierbar von: 2.66.8-1+deb11u1]
libglib2.0-bin/oldstable-security 2.66.8-1+deb11u3 amd64 [aktualisierbar von: 2.66.8-1+deb11u1]
libglib2.0-data/oldstable-security 2.66.8-1+deb11u3 all [aktualisierbar von: 2.66.8-1+deb11u1]
What am I missing?


Edit for a good measure:

Code: Select all

# apt install sabnzbdplus
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
sabnzbdplus ist schon die neueste Version (3.1.1+dfsg-2+deb11u1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 5 nicht aktualisiert.
User avatar
jcfp
Release Testers
Release Testers
Posts: 1004
Joined: February 7th, 2008, 12:45 pm

Re: I genuenly don't understand how do upgrade to 4.x [debian]

Post by jcfp »

NotANoobLol wrote: May 9th, 2024, 5:53 pm Five upgrades available (none of them are sabnzbdplus)
[...]
What am I missing?
To check available packages, try

Code: Select all

apt policy sabnzbdplus
Backports are pinned at a lower priority than the standard repos, to prevent your system from getting flooded when users typically only want a specific (subset of) packages to be updated that way. As a result, apt needs you to be explicit about installing from backports(-sloppy):

Code: Select all

apt install -t bullseye-backports-sloppy sabnzbdplus
...or the same in an alternative format:

Code: Select all

apt install sabnzbdplus/bullseye-backports-sloppy

Both this and backports-sloppy's raison d'être are explained at the instructions linked from the forum post about updating in Debian.
NotANoobLol
Newbie
Newbie
Posts: 19
Joined: September 12th, 2017, 7:09 pm

Re: I genuenly don't understand how do upgrade to 4.x [debian]

Post by NotANoobLol »

jcfp wrote: May 11th, 2024, 11:02 am
NotANoobLol wrote: May 9th, 2024, 5:53 pm Five upgrades available (none of them are sabnzbdplus)
[...]
What am I missing?
Backports are pinned at a lower priority than the standard repos, to prevent your system from getting flooded when users typically only want a specific (subset of) packages to be updated that way. As a result, apt needs you to be explicit about installing from backports(-sloppy):

Code: Select all

apt install -t bullseye-backports-sloppy sabnzbdplus
...or the same in an alternative format:

Code: Select all

apt install sabnzbdplus/bullseye-backports-sloppy
Yes that was it, thank you! Im now on 4.2.2
jcfp wrote: May 11th, 2024, 11:02 am Both this and backports-sloppy's raison d'être are explained at the instructions linked from the forum post about updating in Debian.
It wasn't obvious to me that this was needed. Maybe I'm in the minority with this but a few sentences from you in your Post would help a lot.

Thank you so much for your help!
Post Reply