How do I add a custom package to debian repository?
6,576
Set up a separate repo for your local packages. It just makes sense, as observed by vonbrand and thecarpy.
Related videos on Youtube
Author by
slappyjam
Updated on September 18, 2022Comments
-
slappyjam over 1 year
I run my own debian apt repository server. I have a .deb file that i would like to add into the repository (Adaptec Storage Manager deb). I need the ability to manage that package independent of the rest of the repo.
Question:
How can I add the .deb file to the repo so that I can do a 'apt-get storman' on the client machines and have it installed?
-
sunnysideup about 11 yearsIt depends what repository you are using (check the man page) but with reprepo it should be something like
reprepo -b . include $CODENAME $CHANGES
-
Bananguin about 11 yearsand even without a changes file, reprepo can add/remove single .deb archives
-
Gilles 'SO- stop being evil' about 11 yearsDo you mean you're currently running a mirror? If it's not a mirror, where are the packages in your existing repository coming from and how do you manage them?
-
slappyjam about 11 yearsYes, we are running am mirror.
-
thecarpy over 6 yearsI side with @vonbrand, use a separate repo for packages not in the repo you mirror from, segregation is, imho, much more manageable and the overhead minimal.
-