r/voidlinux • • Sep 09 '26

How's the OctoXBPS Notifier works?

The documentations is poor, does it calls sudo xbps-install -S forcing me to synchronize or something like xbps-install -Mnu?

How often you guys synchronizing with the repo? =)

3 Upvotes

21 comments sorted by

5

u/ZombieCrow Sep 09 '26

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".

1

u/xINFLAMES325x Sep 09 '26

You can make this even shorter by installing xtools and just typing xi.

4

u/ZombieCrow Sep 09 '26

Or just make it an alias, no need to install anything.

1

u/dr0sand Sep 09 '26

oh nice, thats basically what vpm is

0

u/onew_iasag Sep 09 '26

I've just heard that when you installing a package with repo synchronized but not updated system - it can broke dependencies with a partial update or cause PITA. But that about Arch rather than Xbps as I heard. So, I just scared of the possibility, I'm updating only by demand. A two weeks ago I was windows user only.

1

u/ZombieCrow Sep 09 '26

No idea tbh, ive always done it that way and also the same on arch, never had issues. I do update daily (on pc), literally takes a few seconds. On my thinkpad i also use void and i update weekly, same result, no issues.

1

u/onew_iasag Sep 09 '26

Thank you very much!

1

u/Tryton77 Sep 09 '26

I don't know but some of my systems runs over 3 years without any broken deps, even when with partial updates, that's why I love this distro. My guess is that xbps will update other packages while deps might me broken while installing, but i don't have time rn to confirm that.

1

u/onew_iasag Sep 09 '26

Thanks! That's a good observation!

4

u/Duncaen Sep 10 '26

xbps is not really good at "solving" updates, i.e. choosing just the right dependencies to update in the partial update, but its good at stopping updates that would break the system, which gives you the chance to do a full update without braking things.

How this works is very simple, literally just two lists, required shared libraries and provided shared libraries. If there is a discrepancy between provided and required libraries then the update is aborted.

Arch linux/pacman don't do this because most AUR helpers will build packages against system libraries, which means you kind of have break AUR packages and do partial updates to be able to rebuild AUR packages against updated system libraries.

If this wasn't the case they could avoid most of the partial update issues just like xbps does, since its actually so simple.

1

u/Tryton77 Sep 10 '26

Good to know, thx for explanation.

1

u/Duncaen Sep 10 '26

Its not as much of an issue as with arch linux, xbps will just complain for most of the partial update issues and block the update, while pacman would break your system. There are still potential runtime incompatibilities, but by keeping track of shared libraries xbps will not just break half your system by partially updating a library.

2

u/Simple_Hamster_4096 Sep 10 '26

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 Sep 10 '26

Just boot to tty,

I liked this idea so now I did touch down inside /sv/lightdm and will see if it would be comfortable. But my laptop has issues with S3 sleep state and overconsumption.

1

u/benbcdm Sep 13 '26 edited Sep 14 '26

I dont mind the little gui icon in sys tray that pops up when there is an update. you can just click on it and it tells you what is new. if I care about it I update via CLI (or use the GUI interface to look at dependencies etc, beforehand, very good for that).
My understanding is that on void we do not really need to do -Su before every package install because xbps is very good at keeping things in sync. So can just run any package install directly with -S. At least that is my amateur understanding, and it has never caused any issue. xbps is the best, so fast, a pleasure to run every time :)

2

u/onew_iasag Sep 14 '26

Yeah, agree!

I was meant, - once xbps-install -S, then to install any packages you've obligated to run update-all or it'll cause XBPS to fail.

3

u/[deleted] Sep 09 '26

[removed] — view removed comment

1

u/onew_iasag Sep 09 '26

Yes, thank you =)
But I'm curious how it manage to check updates without permission to -S, I'm assuming he's -Mnu or it would been ended up with permission denied.

2

u/[deleted] Sep 09 '26

[removed] — view removed comment

1

u/onew_iasag Sep 10 '26

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.