AUR TUI encoded characters
System details
AMD Radeon RX 7600, AMD Ryzen 5 9600X, Omarchy 3.1.7
What's wrong?
TUI is showing enconded text
Yup it happen to me too.
I can confirm this too, on 2 machines! On 3.2.0
I have the same issue
yep, same issue here
on 3.2.0
Same Issue:
I just updated to 3.2.0 and have the same issue.
Yup, same for me, everything works perfect, only AUR installer has encoded chars.
looks like the yay -Slqa from the omarchy-pkg-aur-install script is returning encoded characters instead of normal text.
below is the output after running yay -Slqa
I found that the arg of yay command stop working.
I just simply change the command in ~/.local/share/omarchy/bin/omarchy-pkg-aur-install
Update the line 17 from yay -Slqa to yay -qSs
#!/bin/bash
fzf_args=(
--multi
--preview 'yay -Siia {1}'
--preview-label='alt-p: toggle description, alt-b/B: toggle PKGBUILD, alt-j/k: scroll, tab: multi-select'
--preview-label-pos='bottom'
--preview-window 'down:65%:wrap'
--bind 'alt-p:toggle-preview'
--bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up'
--bind 'alt-k:preview-up,alt-j:preview-down'
--bind 'alt-b:change-preview:yay -Gpa {1} | tail -n +5'
--bind 'alt-B:change-preview:yay -Siia {1}'
--color 'pointer:green,marker:green'
)
pkg_names=$(yay -qSs | fzf "${fzf_args[@]}")
if [[ -n "$pkg_names" ]]; then
# Convert newline-separated selections to space-separated for yay
echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm
sudo updatedb
omarchy-show-done
fi
I fix the Issue in a different way. The script now lists packages with pacman -Slq and uses pacman -Si (falling back to yay -Siia) for previews, ensuring plain-text metadata is shown.
I found that the arg of yay command stop working. I just simply change the command in
~/.local/share/omarchy/bin/omarchy-pkg-aur-installUpdate the line 17 fromyay -Slqatoyay -qSs#!/bin/bash fzf_args=( --multi --preview 'yay -Siia {1}' --preview-label='alt-p: toggle description, alt-b/B: toggle PKGBUILD, alt-j/k: scroll, tab: multi-select' --preview-label-pos='bottom' --preview-window 'down:65%:wrap' --bind 'alt-p:toggle-preview' --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' --bind 'alt-k:preview-up,alt-j:preview-down' --bind 'alt-b:change-preview:yay -Gpa {1} | tail -n +5' --bind 'alt-B:change-preview:yay -Siia {1}' --color 'pointer:green,marker:green' ) pkg_names=$(yay -qSs | fzf "${fzf_args[@]}") if [[ -n "$pkg_names" ]]; then # Convert newline-separated selections to space-separated for yay echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm sudo updatedb omarchy-show-done fi
I also tried your solution but the first item always has no info if i test it
Also encountering this issue on Omarchy 3.1.6. Didn't even update for a while and still got the issue.
It also occurs simultaneously in paru.
I'm experiencing the exact same issue on v3.2.0.
When running paru -Slqa or yay -Slqa to list all packages (including AUR), the output is binary garbage (appearing as garbled text) instead of a clean list of package names.
I don't think this is an issue with AUR helpers like yay or paru—it's likely a problem with the repository itself.
yay v12.5.2 - libalpm v15.0.0
paru v2.1.0.r41.g789bead - libalpm v15.0.0
Yes, it seems like the AUR service is having trouble again. The fixes proposed do not seem to solve the problem (showing only 15K packages from existing arch repos, not the 80K you get from AUR).
Interestingly, the rest of the AUR service is working correctly via yay. So you can install named packages directly via the terminal directly.
I found that the arg of yay command stop working. I just simply change the command in
~/.local/share/omarchy/bin/omarchy-pkg-aur-installUpdate the line 17 fromyay -Slqatoyay -qSs#!/bin/bash fzf_args=( --multi --preview 'yay -Siia {1}' --preview-label='alt-p: toggle description, alt-b/B: toggle PKGBUILD, alt-j/k: scroll, tab: multi-select' --preview-label-pos='bottom' --preview-window 'down:65%:wrap' --bind 'alt-p:toggle-preview' --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' --bind 'alt-k:preview-up,alt-j:preview-down' --bind 'alt-b:change-preview:yay -Gpa {1} | tail -n +5' --bind 'alt-B:change-preview:yay -Siia {1}' --color 'pointer:green,marker:green' ) pkg_names=$(yay -qSs | fzf "${fzf_args[@]}") if [[ -n "$pkg_names" ]]; then # Convert newline-separated selections to space-separated for yay echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm sudo updatedb omarchy-show-done fiI also tried your solution but the first item always has no info if i test it
I guess we are having issue with aur repo.
for the info issue, I just updated line 5 from yay -Siia to yay -Sii
But I am not able to list out the pkg from AUR at the moment.
It is only working by search the pkg name directly
If anyone is able to find where the AUR operators are hanging out, and can help make them aware of the issue, that would be great!
Interestingly, the rest of the AUR service is working correctly via yay. So you can install named packages directly via the terminal directly.
i'm not expert but the below restores original functionality as it tries to route around the broken "list all"
Delete the sync databases manually
sudo rm -rf /var/lib/pacman/sync/*
#!/bin/bash
fzf_args=(
--multi
--disabled
--header="Type to search the AUR ..."
--preview '[[ -n {1} ]] && yay -Si {1} || echo "Type to search..."'
--preview-label='alt-p: toggle description, alt-b/B: toggle PKGBUILD, alt-j/k: scroll, tab: multi-select'
--preview-label-pos='bottom'
--preview-window 'down:65%:wrap'
--bind 'change:reload:yay -Ssq {q} || true'
--bind 'alt-p:toggle-preview'
--bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up'
--bind 'alt-k:preview-up,alt-j:preview-down'
--bind 'alt-b:change-preview:yay -Gpa {1} | tail -n +5'
--bind 'alt-B:change-preview:yay -Si {1}'
--color 'pointer:green,marker:green'
)
# Start empty. The 'change:reload' binding above handles the searching.
pkg_names=$(echo "" | fzf "${fzf_args[@]}")
if [[ -n "$pkg_names" ]]; then
# Install the selected packages
echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm
sudo updatedb
omarchy-show-done
fi
Upstream issue may be that a content-encoding header has gone missing and gzip decompression is failing in the underlying yay HTTP library: https://github.com/Jguer/yay/issues/2709.
I've tried a few local hacks like piping the output through ungzip, brotli, etc and they haven't successfully decompressed for me, though curl https://aur.archlinux.org/packages.gz | gunzip seems to work. That will only be the official AUR list but it might be something while we wait for a new yay version or a change on the server side.
I'm on Omarchy 3.1.5 right now, and I'm having the same problems being described here.