Page 2 of 2
Re: New salix-update-notifier, please test (and translate)
Posted: 16. Oct 2025, 13:55
by laprjns
Note that all my flatpaks are installed for my user only, not system-wide.
Code: Select all
rich[Downloads]$ sudo flatpak update
Password:
Looking for updates…
Nothing to do.
rich[Downloads]$ flatpak update
Looking for updates…
Nothing to do.
rich[Downloads]$
I then ran Salix-update-manager and got the same output as I posted above; no updates listed, but still had to click the Proceed button, resulting in the "All updates have completed successfully " message.
Re: New salix-update-notifier, please test (and translate)
Posted: 16. Oct 2025, 15:07
by ibka
Hi gapan
I installed the new version and it don't seems to be working correct.
It is just trying to "read package lists"
if i run it with "sudo env LANG=C salix-update-manager" in a terminal it shows available packages to update
But there is an error in the terminal
Code: Select all
Traceback (most recent call last):
File "/usr/sbin/salix-update-manager", line 622, in _on_updates_parsed
if len_slapt == 0 and len_flat == 0:
NameError: name 'len_flat' is not defined
I have updated the Swedish translation.
Re: New salix-update-notifier, please test (and translate)
Posted: 16. Oct 2025, 18:54
by laprjns
Running salix-update-manager on the command line throws the same error here.
Code: Select all
rich[Downloads]$ salix-update-manager
Traceback (most recent call last):
File "/usr/sbin/salix-update-manager", line 622, in _on_updates_parsed
if len_slapt == 0 and len_flat == 0:
NameError: name 'len_flat' is not defined
Changing line 622 in /usr/sbin/salix-update-manager from
len_flat to
len_flat_new fixed the issue.
Code: Select all
if len_slapt == 0 and len_flat_new == 0:
Re: New salix-update-notifier, please test (and translate)
Posted: 17. Oct 2025, 07:29
by gapan
@ibka, I thought I had fixed that, but maybe I uploaded the latest packages before I did. laprjns has found the same issue.
@laprjns, are you sure you're using your flatpak user installation? We have flatpak configured to allow use of the system installation if you're in the wheel group.
Can you post the output of:
That said, I intended this to be about the system installation. Right now you need to run salix-update-manager with sudo. However, you got me thinking. Perhaps I could make it so that if it runs with sudo, then the system installation is used and if run as user, the --user option is used (and in that case, slapt-get will not be used at all).
Re: New salix-update-notifier, please test (and translate)
Posted: 17. Oct 2025, 09:47
by laprjns
Here you go. I have never used sudo or su to install a flatpak, but my user is in the wheel group.
Code: Select all
rich[Downloads]$ sudo flatpak list --system
Password:
Name Application ID Version Branch
Bambu Studio com.bambulab.BambuStudio 2.3.0 Public Release stable
UltiMaker Cura com.ultimaker.cura 5.10.2 stable
Wings 3D com.wings3d.WINGS 2.4.1 stable
FreeCAD org.freecad.FreeCAD 1.0.2 stable
Manual org.freecadweb.FreeCAD.Manual stable
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.27 24.08
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-25.08.2 25.08
Mesa ….freedesktop.Platform.GL.default 25.2.4 24.08
Mesa (Extra) ….freedesktop.Platform.GL.default 25.2.4 24.08extra
Mesa ….freedesktop.Platform.GL.default 25.2.4 25.08
Mesa (Extra) ….freedesktop.Platform.GL.default 25.2.4 25.08-extra
Codecs Extra Extension …reedesktop.Platform.codecs-extra 25.08-extra
openh264 org.freedesktop.Platform.openh264 2.5.1 2.5.1
GNOME Application Platform ve… org.gnome.Platform 48
Adwaita theme org.kde.KStyle.Adwaita 5.15-24.08
Adwaita theme org.kde.KStyle.Adwaita 6.9
KDE Application Platform org.kde.Platform 5.15-24.08
KDE Application Platform org.kde.Platform 6.9
OpenSCAD org.openscad.OpenSCAD 2021.01 stable
Code: Select all
rich[Downloads]$ flatpak list --system
Name Application ID Version Branch
Bambu Studio com.bambulab.BambuStudio 2.3.0 Public Release stable
UltiMaker Cura com.ultimaker.cura 5.10.2 stable
Wings 3D com.wings3d.WINGS 2.4.1 stable
FreeCAD org.freecad.FreeCAD 1.0.2 stable
Manual org.freecadweb.FreeCAD.Manual stable
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-24.08.27 24.08
Freedesktop Platform org.freedesktop.Platform freedesktop-sdk-25.08.2 25.08
Mesa org.freedesktop.Platform.GL.default 25.2.4 24.08
Mesa (Extra) org.freedesktop.Platform.GL.default 25.2.4 24.08extra
Mesa org.freedesktop.Platform.GL.default 25.2.4 25.08
Mesa (Extra) org.freedesktop.Platform.GL.default 25.2.4 25.08-extra
Codecs Extra Extension org.freedesktop.Platform.codecs-extra 25.08-extra
openh264 org.freedesktop.Platform.openh264 2.5.1 2.5.1
GNOME Application Platform version 48 org.gnome.Platform 48
Adwaita theme org.kde.KStyle.Adwaita 5.15-24.08
Adwaita theme org.kde.KStyle.Adwaita 6.9
KDE Application Platform org.kde.Platform 5.15-24.08
KDE Application Platform org.kde.Platform 6.9
OpenSCAD org.openscad.OpenSCAD 2021.01 stable
Code: Select all
rich[Downloads]$ flatpak list --user
rich[Downloads]$
Code: Select all
rich[Downloads]$ groups
users tty lp wheel floppy dialout audio video cdrom pulse plugdev power netdev polkitd scanner sambashare
Re: New salix-update-notifier, please test (and translate)
Posted: 17. Oct 2025, 10:33
by gapan
Yes, thank you! You're using the system flatpak installation, although you're not using sudo. So, the flatpaks you install are available to all users. This is our default.
If you had used --user when running flatpak, then your flatpaks would only be available to your current user.
I still don't understand why you're getting that blank list though.
Re: New salix-update-notifier, please test (and translate)
Posted: 17. Oct 2025, 11:23
by laprjns
Changing line 622 in /usr/sbin/salix-update-manager to
Code: Select all
if len_slapt == 0 and len_flat_new == 0:
fixed the problem. Now I get the "..no available update message".

Re: New salix-update-notifier, please test (and translate)
Posted: 17. Oct 2025, 11:31
by gapan
Ah, so that it what I think I have already fixed locally and thought was in the latest package (but apparently isn't). My fix was actually to add this line above that if:
Code: Select all
len_flat = len_flat_new + len_flat_updates
and keep the if as it was.
I will provide updated packages later. In the meantime, you can get the latest code from git and try that:
Code: Select all
git clone git@github.com:gapan/salix-update-notifier.git
cd salix-update-notifier/src
sudo ./salix-update-manager
Just run
at any time to update to the latest code.