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

Should bw mark packages as “explicitly installed”? #584

Open
vain opened this issue Jan 20, 2021 · 2 comments
Open

Should bw mark packages as “explicitly installed”? #584

vain opened this issue Jan 20, 2021 · 2 comments

Comments

@vain
Copy link
Member

vain commented Jan 20, 2021

Scenario:

  • You install package foo.
  • foo has a dependency on bar, so that one gets installed as well.
  • bar is a bw item, too, and is supposed to be installed.
  • You do a system upgrade or something else that removes bar from the list of dependencies from foo.
  • bw sees both packages as installed and is happy.
  • Something like apt autoremove might pick up bar as an orphaned package and remove it.

Sounds like an academic example, but we believe this just happened to us.

Should bw mark all packages as “explicitly installed” to prevent tools like apt autoremove from removing such packages?

@trehn
Copy link
Member

trehn commented Nov 10, 2021

Yes.

@MaZderMind
Copy link
Contributor

That might explain why a new node has it's python3-requests removed after a while (until the next bw apply which re-installs it manually). I think that just happened on a brand new htz-Server.

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