apt-cyg
apt-cyg copied to clipboard
Removing orphaned auto-packages
Hi. I was wondering if apt-cyg
has a way to assist with removing unneeded packages -- packages installed automatically for which all dependent packages installed manually have been removed. I saw the item on the todo list that says "Support dependency check for remove subcommand." but I wasn't sure if that was referring to this or to disallowing removal of a package which is still needed. Is there at least a way to tell apt-cyg
to list the unneeded packages which could be fed to apt-cyg remove
? Thanks
I made some subcommands to find packages that are no longer needed. You can try it on issue-97 branch.
ex)
# List orphaned packages
apt-cyg list-orphaned-packages
# Remove orphaned packages
apt-cyg remove $(apt-cyg list-orphaned-packages)