<br /> Automatic Debian Package Repository HOWTO – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters


Debian Planet is hosted by Bluelinux Internet Services Ltd. Offering a special discounted rate for Free and Open Source software community members.

Buy your Debian merchandise at DebianShop.com.

These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • Planet Debian
  • debianHELP
    (User support site)

  • Debian Administration
    (SysAdmin resources)

  • Debian International
  • DebianForum.de

  • DebianForum.dk

  • EsDebian

  • DebianWorld

  • Debian-Fr

  • MaximumDebian

  • DebianItalia
  • DebianUsers

  • Debian-BR

  • DebianHOWTO

  • Russian Debian (Русский)
  • Debian-JP
  • Debian Suisse
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.


    Automatic Debian Package Repository HOWTO
    Submitted by el cubano on Thursday, February 10, 2005 – 22:55
    PackagesI recently wrote a HOWTO that details how to setup an automatic repository of Debian packages. I originally announced it on debian-devel and it was mentioned in January 11th issue of the Debian Weekly News. I have received an excellent response up to now and thought more people would find it helpful.
    Category: HOWTOs

    Control panel

    Comment viewing options:

    Select your prefered way to display the comments and click ‘Update settings’ to activate your changes.

    Subject: Seems like a lot of work
    Author: camh
    Date: Wednesday, 2005/02/23 – 06:53
    Seems like a lot of effort to set up a simple repository. I can’t see the need for mirroring the debian archive directory structure.

    I use the following shell function/script:
    savedebs ()
    if [ $# -lt 1 ]; then
    echo “Usage: ${0} <debs> …” 1>&2;
    exit 1;
    mv “$@” /usr/local/debian;
    ( cd /usr/local/debian && dpkg-scanpackages . /dev/null >Packages )

    I add this line to my sources.list file:
    deb file:/usr/local/debian/ ./

    Just sub whereever you want your repository for /usr/local/debian .

    [ Please login, or register ]


    Subject: Release files…
    Author: robot101
    Date: Wednesday, 2005/02/23 – 09:28
    Using apt-ftparchive has the benefit that you get proper Release files, so people can choose to pin your repository at a certain priority relative to others. For example, using packages from your repository until there are equal or greater versions available in official repositories, and then stopping. Release files are also necessary to carry the checksums for Packages files, and hence allow the repository to be signed.

    Furthermore, it’s much easier to carry packages aimed at different releases and different architectures if you follow the official archive structure more closely. When you give apt a line like “deb http://foo/bar dir/” then it doesn’t really include your architecture or release, whereas “deb http://foo/bar testing stuff” will retrieve packages from http://foo/bar/dists/testing/stuff/binary-ARCH/, making your repository far more flexible.

    By way of a possibly simpler (although less powerful) alternative, I have a make-archive script which I use, which seems to work quite well for a quick repository of stuff.


    [ Please login, or register ]


    Subject: A bit more Automatic
    Author: danielos
    Date: Wednesday, 2005/02/23 – 11:35
    Your script is less powerfull, but it is a more automatic way to setup a less automatic repository.

    I don’t see a lot of different way to setup an automatic repository.

    What I read in the howto is a fix path to make it with some parameter up to you … I read just a script!

    …(to be continued)

    [ Please login, or register ]

    Search articles

    ·News (406)
    ·Features (5)
    ·Site News (16)
    ·HOWTOs (79)
    ·Tips (21)
    ·Opinion (29)
    ·Q & A (35)
    ·Sponsorship (1)
    ·Press Releases (5)

    Log in


    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-943 perl
    DSA-942 albatross
    DSA-903 unzip
    DSA-941 tuxpaint
    DSA-940 gpdf
    DSA-939 fetchmail
    DSA-938 koffice
    DSA-937 tetex-bin
    DSA-936 libextractor
    DSA-935 libapache2-mod-auth-pgsql

    Planet Debian
    Wouter Verhelst: On flames.
    Joachim Breitner: Fixing my planet.debian.org subscription
    Steve Kemp: She has the blood of reptile just underneath her skin
    Pierre Habouzit: Married …
    Pierre Habouzit: whitelister 0.4 (SPF) and aaege ….
    Pierre Habouzit: kde 3.4.1 upload
    Holger Levsen: In case you are running OpenWRT
    Michael Janssen: Shiny roofs are good for the environment!
    Matthew Palmer: Work it out yourself, dammit!
    Axel Beckert: Tell me which music you like and I tell who you are

    Debian Administration
    How do I prevent rebuilt packages from being upgraded?
    Disabling the print-screen key inside X?
    Monitoring your bandwidth usage with vnstat
    Ruby on Rails on Debian
    Choice for Virtual Private Servers?
    Monitoring your hardware’s temperature
    Sending mail with Exim from ‘dialup’ IP
    How to recover GRUB Debian Sarge after reinstalling Windows
    Getting a GUI
    Spam filtering with Pyzor and SpamBayes

    Latest poll: Which release scheme should Debian follow?
    Continue this way (release when ready)
    Give up on releasing
    Split the release up
    Speed the release up
    Crank the workload up (see DebianWiki ReleaseProposals for details on these)

    Total votes: 372
    0 comments · older polls

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.