24
submitted 11 months ago* (last edited 11 months ago) by 0WN3D@lemmy.cafe to c/archlinux@lemmy.ml

Hey, sometimes when I do pacman -Syu, I see some weird package being installed and I am curious which explicitly installed package is installing/updating it.

How do I so with pacman?

I know we can easily find out why an installed package is being installed, but what about before the package is being installed?

you are viewing a single comment's thread
view the rest of the comments
[-] backhdlp@lemmy.blahaj.zone 14 points 11 months ago

pacman -Qi is the correct tool for this job.

[-] 0WN3D@lemmy.cafe 1 points 11 months ago

Ah, it worked. I thought Qi only works for packages that are already installed. Didn't knew it worked for things that are synced as a new dependency of a package

[-] backhdlp@lemmy.blahaj.zone 4 points 11 months ago

Dependencies are installed, they're just installed as dependencies lol

this post was submitted on 13 Dec 2023
24 points (100.0% liked)

Arch Linux

7737 readers
2 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS