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.

Share:
6,576

Related videos on Youtube

slappyjam
Author by

slappyjam

Updated on September 18, 2022

Comments

  • slappyjam
    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
      sunnysideup about 11 years
      It depends what repository you are using (check the man page) but with reprepo it should be something like reprepo -b . include $CODENAME $CHANGES
    • Bananguin
      Bananguin about 11 years
      and even without a changes file, reprepo can add/remove single .deb archives
    • Gilles 'SO- stop being evil'
      Gilles 'SO- stop being evil' about 11 years
      Do 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
      slappyjam about 11 years
      Yes, we are running am mirror.
    • thecarpy
      thecarpy over 6 years
      I 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.