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

Autoremove command #4515

Open
gitdrug opened this issue Nov 15, 2021 · 7 comments
Open

Autoremove command #4515

gitdrug opened this issue Nov 15, 2021 · 7 comments

Comments

@gitdrug
Copy link

gitdrug commented Nov 15, 2021

Is there a command like "apt autoremove"
To delete unneeded dependinces and if not yall sould implement it

@rashil2000
Copy link
Member

Nice suggestion!

For this Scoop will need to keep track of whether a package was installed manually or automatically (as a dependency).

@gitdrug
Copy link
Author

gitdrug commented Nov 16, 2021

Nice suggestion!

For this Scoop will need to keep track of whether a package was installed manually or automatically (as a dependency).

yall sould implement that then

@pratikpc
Copy link
Contributor

@gitdrug autoremove is a bit too easy to make mistakes in though

For example, Package A depends on Package B

Just because you remove Package A does not mean you want to remove Package B in quite a few cases as well.

@pratikpc
Copy link
Contributor

I think the best approach is to maybe show a list of dangling packages if we ever implement this and let the user choose to take action on their own with the Scoop suggestion being to either remove or to install to remove it from the autoremove list.

@pratikpc
Copy link
Contributor

@gitdrug also we are trying to minimise the number of depends present in the code base because for obvious reasons users can choose to install dependencies on their own and not via Scoop.

@gitdrug
Copy link
Author

gitdrug commented Nov 20, 2021

@gitdrug autoremove is a bit too easy to make mistakes in though

For example, Package A depends on Package B

Just because you remove Package A does not mean you want to remove Package B in quite a few cases as well.

yeah that happend to me one and it broke my xfce4 making it crash after about 20 minits of using in and i had to redo "apt install xfce4" to stop it crashing

@gitdrug
Copy link
Author

gitdrug commented Nov 20, 2021

I think the best approach is to maybe show a list of dangling packages if we ever implement this and let the user choose to take action on their own with the Scoop suggestion being to either remove or to install to remove it from the autoremove list.

do this that would be good like "scoop dangling" for the command

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

3 participants