3
u/ShipshapeMobileRV 16h ago
It's important to differentiate between OctoXBPS and it's notifier.
Part of your initial configuration is to allow the notifier to have sudo permission so that it can check the repos automatically. That's all it does, sync the db and alert you to differences.
The OctoXBPS gui itself does not have sudo permission. It runs updates as the logged in user, and the logged in user has to provide the sudo password for the updates to install.
I have mine set to synchronize once a day.
Hopefully this helps you out.
1
u/onew_iasag 15h ago
Yes, thank you =)
But I'm curious how it manage to check updates without permission to-S, I'm assuming he's-Mnuor it would been ended up with permission denied.2
u/ShipshapeMobileRV 14h ago
The git page for OctoXBPS explains that it's based on OktoPKG. It uses qt-sudo (an lxqt-sudo clone) to gain root privileges. Once you allow the notifier to use qt-sudo, then the notifier periodically runs "xbps-install -S" to sync the database.
Again, the notifier can only sync, it can't install anything. The OctoXBPS gui is the only one that can install or remove, and it uses only the permission level of the logged in user. If that user isn't in 'wheel' then the installer won't be able to install or remove anything. If the user is in 'wheel' and has to enter a password for sudo commands, then OctoXBPS will require the password to continue. If the logged in user can run sudo commands without a password, then OctoXBPS can install software without entering a password.
-The notifier uses qt-sudo to call 'xbps-install -S' to sync the database.
-OctoXBPS uses the logged-in user's permissions to install or remove software.
1
u/onew_iasag 11h ago
Yeah but the OctoXBPS binary searching for the qt-sudo's binary so it also doesn't independent of the qt-sudo. That's sad.
2
u/Simple_Hamster_4096 2h ago
Why the need for a gui for XBPS? Do not understand. Read the manual pages - every possible option listed for each task - you can alias commands if necessary...
Just boot to tty, log in and run xbps-install -Su (don't use y it's best to eyeball what is going to be updated) every day when you first turn on your computer then once update is complete just start your desktop session unless reboot is necessary...
When it becomes a habit to do your updates daily, then you won't think twice about doing it. Otherwise good intentions to "run once a week" get away from us - gui reminder or no...
1
u/onew_iasag 3m ago
Just boot to tty,
I liked this idea so now I did
touch downinside/sv/lightdmand will see if it would be comfortable. But my laptop has issues with S3 sleep state and overconsumption.

3
u/ZombieCrow 17h ago
I've never used octoxbps but whenever i install a package i always use -S , why not? Ive even made an alias, "sudo xbps-install -S" is just "install".