Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We build .deb packages and host them in a local Debian APT Repository, which we then use Puppet to manage installs from.

However, there is surprisingly little written about building or managing an apt repository, so I fear we're overlooking some beautiful open-source solution. What do other startups use? Do they just scp the raw files from server to server? If so, how do they keep things tidy?

Or is this a question that Rails handles internally (e.g. as gems) so we're the only ones facing it? ;)

share|improve this question
up vote 3 down vote accepted

I've worked at a number of startups and built a portage overlay for Gentoo, yum repo for CentOS, and most recently apt repo for Ubuntu. I too was surprised how much of a pain in the ass it was to build the apt repo and there was nearly nothing on the web about how to do it properly.

However in order to push website code we ultimately do some form of rsync and move the symlink. It's faster and easier to roll back in most cases.

share|improve this answer
Yes, that's exactly what I've found, that it's surprisingly difficult to build and manage the apt repo and nobody seems to be talking about it. Thanks for reassuring me that I'm not overlooking something. – mrisher Mar 11 '11 at 5:07

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.