You are not logged in.
I recently removed a package which left a number of unneeded dependencies left on my system. I know that I can list unneeded packages using
pacman -Qqdtbut I do not know which ones depended on the package I removed. Is there some way of retrieving this information using pacman?
Last edited by mgran (2017-11-05 20:07:22)
Offline
Check your pacman.log and see which packages were installed at the same time as the package. If the package is in a binary repository, you can see which packages it depends on with 'pacman -Si <package>'. If it is in the AUR, you can check the dependencies on the web interface. Some AUR helpers can also show you this information. e.g. 'cower -i <aur package>'
Sakura:-
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
Thank you! 'pacman -Si <package>' was what I was looking for, I was too focused on the query options. Reading pacman.log was also useful.
Offline
Great! Please remember to mark your thread as solved.
Sakura:-
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
Check your pacman.log and see which packages were installed at the same time as the package. If the package is in a binary repository, you can see which packages it depends on with 'pacman -Si <package>'. If it is in the AUR, you can check the dependencies on the web interface. Some AUR helpers can also show you this information. e.g. 'cower -i <aur package>'
If it is in the AUR, and you've previously built it, I would hope you also have the cached package file available. In which case you can also use
pacman -Qip /path/to/foo-1.0-1-any.pkg.tar.xzManaging AUR repos The Right Way -- aurpublish (now a standalone tool)
Offline