You are not logged in.

#1 2023-03-29 12:52:22

Lesmana
Member
Registered: 2015-05-04
Posts: 18

[SOLVED] missing glxinfo even though mesa-demos is installed

i am missing glxinfo

$ glxinfo
bash: glxinfo: command not found

the 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/glxinfo

the 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/pbinfo

pacman says the package is fine

$ pacman -Qkk mesa-demos
mesa-demos: 330 total files, 0 altered files

i have reinstalled the package

$ sudo pacman -S mesa-demos

removed and reinstalled

$ sudo pacman -Rssn mesa-demos
$ sudo pacman -S mesa-demos

removed and cleared cache and synced and reinstalled

$ sudo pacman -Rssn mesa-demos
$ sudo pacman -Sc
$ sudo pacman -Sy
$ sudo pacman -S mesa-demos

but 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

#2 2023-03-29 13:04:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,651

Re: [SOLVED] missing glxinfo even though mesa-demos is installed

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.

Offline

#3 2023-03-29 13:10:32

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,823

Re: [SOLVED] missing glxinfo even though mesa-demos is installed

glxinfo is part of mesa-utils.
At least in archlinux.

Offline

#4 2023-03-29 15:36:39

Lesmana
Member
Registered: 2015-05-04
Posts: 18

Re: [SOLVED] missing glxinfo even though mesa-demos is installed

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 -Fy

the 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/glxinfo

which 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

Board footer

Powered by FluxBB