ultrabug / py3status

py3status is an extensible i3status wrapper written in python
https://ultrabug.github.io/py3status/
BSD 3-Clause "New" or "Revised" License
883 stars 259 forks source link

arch_updates module not working #2236

Closed vargn closed 4 months ago

vargn commented 4 months ago

How can we help you today? As of my latest system upgrade, the arch_updates module has stopped working. From showing 0/0, it now shows arch_updates in the status bar

Your py3status version py3status version 3.56 (python 3.11.7) on i3

Share your configuration

general {
        output_format = "i3bar"
        colors = true
        interval = 1
        color_good = "#2AA17D"
        color_bad = "#586E75"
        color_degraded = "#DC322F"
        markup = pango
        separator = true
}

order += "arch_updates"

arch_updates {
        format = "<span color='#ccc8c8'></span> {pacman}/{aur}"
}

Any ideas on why this is happening?

ultrabug commented 4 months ago

Hi @vargn , what does it say if you click on it?

vargn commented 4 months ago

Hi @vargn , what does it say if you click on it?

It says arch_updates[post_config_hook]: pacman not installed However, Pacman is installed.

ultrabug commented 4 months ago

@vargn from a quick glance, it looks like pacman is detected by checking if the checkupdates command is available. Is it?

vargn commented 4 months ago

Well, it seems as if pacman-contrib was uninstalled during the system upgrade. Though I can't remember confirming this. After installing it and refreshing i3bar, arch_updates works again. Sorry to waste your time. Thanks

ultrabug commented 4 months ago

Glad to be helpful, happy py3status usage!