Anyone got a pacman command for checking deps

reverse and regular dependencies?

I did a pacman update today (not Yay) and adobe fonts were in it…not happy about that crap at all. What pacman program did I install that brung this into my Endeavour? Unless the Adobe fonts come in a stock Endeavour install and I allways had them?

thanks for any info.

pacman -Qi

will tell you which other package requires this package. The field is “Required By”

Example:

╰─# pacman -Qi adobe-source-code-pro-fonts
Name            : adobe-source-code-pro-fonts
Version         : 2.042u+1.062i+1.026vf-1
Description     : Monospaced font family for user interface and coding environments
Architecture    : any
URL             : https://adobe-fonts.github.io/source-code-pro/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : gsettings-desktop-schemas
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1909.12 KiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Wed Apr 12 11:58:42 2023
Install Date    : Wed Apr 12 14:09:11 2023
Install Reason  : Explicitly installed
Install Script  : No
Validated By    : Signature
2 Likes

cut and paste the Qi. Gsettings? I’m more confused this would be a gnome packag-- it seems anathema to gnome ethos…
…but I got my answer thank you.

In the pacman-contrib package, there is a command line tool called pactree that will do what you need - both dependencies and reverse dependencies.

Also checkupdates is in that package, another goodie from my point of view.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.