You are not logged in.
i am missing glxinfo
$ glxinfo
bash: glxinfo: command not foundthe package mesa-demos that should contain glxinfo is installed
$ pacman -F glxinfo
extra/mesa-demos 8.3.0-2 [installed: 9.0.0-1]
usr/bin/glxinfothe installed mesa-demos package does not have glxinfo
$ pacman -Ql mesa-demos | grep info
mesa-demos /usr/bin/es2_info
mesa-demos /usr/bin/glinfo
mesa-demos /usr/bin/pbinfopacman says the package is fine
$ pacman -Qkk mesa-demos
mesa-demos: 330 total files, 0 altered filesi have reinstalled the package
$ sudo pacman -S mesa-demosremoved and reinstalled
$ sudo pacman -Rssn mesa-demos
$ sudo pacman -S mesa-demosremoved and cleared cache and synced and reinstalled
$ sudo pacman -Rssn mesa-demos
$ sudo pacman -Sc
$ sudo pacman -Sy
$ sudo pacman -S mesa-demosbut the result is everytime as above: mesa-demos installed with seemingly newer version but glxinfo missing.
please help me debug this.
Last edited by Lesmana (2023-03-29 15:41:38)
Offline
Your files databases are old, notice that it's still talking about version 8.3.0-2. Update those.
And don't run -Sy like that, you'll just cause yourself problems.
Online
glxinfo is part of mesa-utils.
At least in archlinux.
Offline
thank you that solves the problem
i believe this is the commit where glxinfo is moved from mesa-demos to mesa-utils https://github.com/archlinux/svntogit-p … 4f80b45ae4
dated nov 2021 which means my pacman -F database is outdated by over a year
for those reading this and wondering: here is how to update the pacman -F database
sudo pacman -Fythe pacman -F database seems to be independent of the pacman -S database and does not update automatically.
telltale sign that your pacman -F database is outdated would be this:
$ pacman -F glxinfo
extra/mesa-demos 8.3.0-2 [installed: 9.0.0-1]
^^^^^^^^^^^^^^^^^^
usr/bin/glxinfowhich means the installed package is newer than the info in the pacman -F database.
i guess it is not critical because files seldomly move between packages. up to this problem (where a file actually moved) i had no problems using pacman -F with an outdated database.
so rule of thumb would be to remember to do pacman -Fy first before you fret over missing files. maybe it is smart to do a pacman -Fy everytime you do pacman -Syu
trivia:
discussion about splitting the package https://bugs.archlinux.org/task/72556
in the mesa-demos package the "split" is seemingly realized by installing all files and then deleting glxinfo (and some other) https://github.com/archlinux/svntogit-p … k/PKGBUILD
Offline