Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing orphaned auto-packages #97

Open
dgasaway opened this issue Apr 27, 2023 · 1 comment
Open

Removing orphaned auto-packages #97

dgasaway opened this issue Apr 27, 2023 · 1 comment

Comments

@dgasaway
Copy link

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

@kou1okada
Copy link
Owner

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants