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

Feature: Use the .deb to bootstrap the repository. #5

Open
partim opened this issue Jan 25, 2024 · 1 comment
Open

Feature: Use the .deb to bootstrap the repository. #5

partim opened this issue Jan 25, 2024 · 1 comment

Comments

@partim
Copy link
Member

partim commented Jan 25, 2024

Ideally, the Debian package we are shipping bootstraps the repository, i.e., adds both the key and the sources.list entries to the machines. Even more ideally, it somehow then manages to replace itself with a version that is part of the repository so that it then gets updated as per the original intention.

I think this can possibly be achieved through APT policy settings?

@maertsen
Copy link
Member

This needs some experimentation. I think installing a package will set its state to 'manual' somewhere (instead of 'auto', if it is pulled in as a dependency, which would cause removal once al dependent packages are removed). What I do know is that installation candidates are determined based on pinning priority, which one can view using apt-cache policy and set in /etc/apt/preferences.d/ or somesuch. I'm not quite sure if there is a (special?) repo and/or pinning priority associated with a package that was installed through a manual dpkg -i invocation.

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