You are not logged in.

#1 2017-06-15 15:30:17

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

[Solved] Tell What Package Installed Another Package As A Dependency

So basically I'm trying to figure out the Pacman command that shows what program installed another program as a dependency.  For example, using Pamac as a package manager, on my XFCE system Wayland is installed.  Now in Pamac under "Install Reason" it states "Installed as a dependency for another package". How do I easily determine what package installed Wayland?  Unless I'm missing something in the Pacman Wiki, I can't find a command string to get this information. Aside from highlighting each individual package and looking up it's dependencies, there's gotta be an easier way to figure this out.

Last edited by Annoyingduck (2017-06-15 15:35:13)

Offline

#2 2017-06-15 15:32:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] Tell What Package Installed Another Package As A Dependency

You can't, pacman doesn't store this information. You can see what currently needs it with pacman -Qi.

Offline

#3 2017-06-15 15:34:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [Solved] Tell What Package Installed Another Package As A Dependency

pacman -Qi wayland

Edit:  Snaked.  Of course, as Scimmia points out, it could be an orphan in which case it can be removed.

Last edited by ewaller (2017-06-15 15:36:32)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2017-06-15 15:34:44

Annoyingduck
Member
Registered: 2016-08-02
Posts: 179

Re: [Solved] Tell What Package Installed Another Package As A Dependency

Ahh there we go. That clearly shows a "Required By" section.  Thank you.

Offline

#5 2022-07-07 05:26:33

pc00per
Member
Registered: 2022-05-22
Posts: 14

Re: [Solved] Tell What Package Installed Another Package As A Dependency

I have an issue here.

$ pacman -Qi sysprof
Name            : sysprof
Version         : 3.44.0-1
Description     : Kernel based performance profiler
Architecture    : x86_64
URL             : [url]https://wiki.gnome.org/Apps/Sysprof[/url]
Licenses        : GPL
Groups          : gnome-extra
Provides        : None
Depends On      : gtk3  polkit  libdazzle  libsysprof-capture
Optional Deps   : None
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 1800.39 KiB
Packager        : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date      : Sun 27 Mar 2022 10:19:29 PM IST
Install Date    : Wed 06 Jul 2022 07:54:24 PM IST
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

Here you can see

Install Reason  : Installed as a dependency for another package

But

Required By     : None

What am I missing here? How do I know what installed sysprof ?

Edit: Okay I don't care. I just cleaned up orphaned packages & it just vanished.

Last edited by pc00per (2022-07-07 05:33:04)

Offline

#6 2022-07-07 07:47:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,671

Re: [Solved] Tell What Package Installed Another Package As A Dependency

Please don't necrobump 5 year old solved topics.

Closing.

Offline

Board footer

Powered by FluxBB