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

Managing a local APT packages mirror with custom tags using aptly #1295

Open
fti-sfuke opened this issue May 24, 2024 · 1 comment
Open

Managing a local APT packages mirror with custom tags using aptly #1295

fti-sfuke opened this issue May 24, 2024 · 1 comment
Labels

Comments

@fti-sfuke
Copy link

I'm looking for some advice and best practices on managing a local APT package mirror with custom tags.
Here’s the scenario I’m working with:

The Goal
I need to organize the packages on my local APT mirror with custom tags, allowing client machines to install packages based on these tags.

My Current Setup :

  1. Set Up the Local APT Mirror:
    I'm using the apt-mirror package to prepare a local APT Debian packages mirror. It has very simple configuration and is working
    fine for me By using this local mirror, we are saving a lot of Internet bandwidth while installing multiple Debian clients in our network.

The Need for Tags
Now, we're looking to implement a Debian packages tagging approach. The idea is to assign tags to each Debian package and install them based on these tags. This would help streamline our installation process even further.

Exploring Aptly
I came across the aptly tool and it seems like it might solve this problem.
However, I am not entirely sure how to best implement this with Aptly, or if there are better approaches.

Questions :

  • What are the best practices for managing and distributing package tags with Aptly?
  • Are there any specific features in Aptly that support tagging and installing packages based on these tags?

I appreciate any insights, experiences, or recommendations you can share.

Thanks in advance for your help!

@iofq
Copy link
Contributor

iofq commented Aug 21, 2024

@fti-sfuke have you evaluated a config management tool like Ansible? You could create different roles and install packages on client machines based on one or more roles assigned to it.

while deb tags do exist, it does not seem like they are well defined for the use case of grouping and installing packages.

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

No branches or pull requests

4 participants
@neolynx @iofq @fti-sfuke and others