You are not logged in.
It seems like pactree only works on installed packages? Or at least I can't get it to work on a package that isn't installed.
But I want to see the dependency tree of a package that isn't installed yet. I'm trying to figure out why a package is making me install ruby... it seems like an odd dependency.
Thanks,
-Jon
Offline
pactree has an option to use the sync databases instead of the locally installed database.
Offline
It doesn't seem to work for AUR packages?
Offline
No, AUR packages aren't in the sync database. You may be able to achieve something similar with an AUR helper. For example auracle has a buildorder flag which can be used to see which packages pull in other packages:
$ auracle buildorder auracle-git
SATISFIEDREPOS pacman
SATISFIEDREPOS libcurl.so
SATISFIEDREPOS libsystemd
REPOS meson
SATISFIEDREPOS git
SATISFIEDREPOS perl
SATISFIEDREPOS systemd
SATISFIEDREPOS python
REPOS fakechroot
REPOS gtest
TARGETAUR auracle-git auracle-gitSakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline