Closed akarelas closed 10 months ago
Hi @akarelas Version 0.3.2 should work. Check if you have these directories/files in your system:
polkit.path = $$DATADIR/polkit-1/actions polkit.files += polkit/org.freedesktop.policykit.pkexec.run-xbpsinstall.policy polkit_rules.path = $$ETCDIR/polkit-1/rules.d polkit_rules.files += polkit/49-nopasswd_limited_xbps_install_sync.rules
I can confirm, that the notifier (v0.3.2) seems at least at times not to check (or be able to check correctly) for updates.
If manually updating the database via the icon it may stay green, indicating no updates being available. But I noticed that if I check for updates using the terminal and get some updates displayed, and then go back and manually force the notifier to check again, the icon now is red, indicating updates being available.
I suspect, that this might be some remnant from fixing the v0.3.1 issue where the notifier asked for the password to be able to check for updates. Maybe now it just doesn't ask for the password, but can't check for updates.
My system seems to have all the paths / files you listed above.
Going through logs files for a different issue I stumbled across this error message:
[polkitd] Error compiling script /etc/polkit-1/rules.d/49-nopasswd_limited_xbps_install_sync.rules: SyntaxError: parse error (line 7)
Looking at that file I'm wondering if in line 5 there's one opening parenthesis to many before "action" or if line 6 or 7 is missing one closing parenthesis. Not being a programmer I leaning more to the former, but that's just my uneducated guess.
Also, since v0.3.0 works fine, I don't think that error has anything to do with the issue that v0.3.2 introduced, since this file seems to be unchanged since 4 years.
I've built the package locally with that fix, works fine! Thanks!
NOW octo notifier works correctly, for the first time. Thanks.
I didn't change anything in my system, just updated octoxbps
@aarnt sorry I hadn't answered to your comment here, but I couldn't really understand what I was supposed to do (your instructions might have been meant to be read by a more experienced user).
When I ask it to sync database (by right-clicking on the tray icon), I sometimes get a dot on the icon, very briefly (for much less than a second), sometimes I don't get any visual feedback, then the dot disappears and nothing happens. Left-clicking on the icon then does nothing.
Then, when I immediately do at the terminal
sudo xbps-install -Su
, I get a list of packages that can be updated (if such exist).Then, when I immediately do a sync database on the notifier icon, I get a red dot, and then clicking on the icon brings me the option to install the new packages.
I shouldn't have to run
sudo xbps-install -Su
on the terminal to update my packages.