yay icon indicating copy to clipboard operation
yay copied to clipboard

Notice if there are explicitly installed build/opt deps remaining

Open drws opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe.

Build and optional dependencies have to be marked as explicitly-installed in order to remain installed during normal package management (which includes removing orphans). When a package is removed or updated (with changes in dependencies), its explicitly installed dependencies are preserved even though some of them might not be needed anymore.

Describe the solution you'd like

Yay could help finding such stray packages during package update and removal. It should detect changes in explicitly-installed dependencies and warn about ones that become fully independent (are not any kind of dependency of any other package).

Describe alternatives you've considered

Additional context

drws avatar Jan 28 '24 23:01 drws

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 01 '25 00:02 stale[bot]

This is still relevant and a needed feature.

drws avatar Feb 13 '25 06:02 drws

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 26 '25 20:06 stale[bot]

Still relevant.

drws avatar Jun 27 '25 13:06 drws