CyberShadow / aconfmgr

A configuration manager for Arch Linux
1.09k stars 39 forks source link

Unrequired packages with dependency cycle not detected #76

Open Anarky opened 4 years ago

Anarky commented 4 years ago

Hello, on my system there is phonon-qt4 and phonon-qt4-vlc installed a long time ago as dependencies. There are not needed anymore but they depend on each-other.

aconfmgr doesn't list them for deletion; this issue might come from pacman because pacman -Qqtd doesn't list them too.

CyberShadow commented 4 years ago

Good observation.

aconfmgr uses the method described here: https://wiki.archlinux.org/index.php/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)

I think the best way to fix this would be in pacman, lest aconfmgr need walk the entire package graph by itself (starting with pinned packages) to figure out the true set of orphans.