User Tools

Site Tools



First of all, you need access to the Packman Subversion repository. Send an email to the Packman mailing-list (packman*a*t*links2linux*d*o*t*org) to do so.

Installing the tools

Check out the pm-upload-job directory somewhere in your HOME, e.g.:

  mkdir -p ~/src/projects/packman
  cd ~/src/projects/packman
  svn co svn+ssh://

Create symbolic links to <tt>pm-upload-job</tt>, <tt>pm-queue</tt> and <tt>pm-log</tt> in your <tt>$HOME/bin</tt»

  cd ~/src/projects/packman/pm-upload_job
  for x in pm-upload-job pm-queue pm-log; do ln -s $PWD/$x ~/bin/; done


Create a configuration file <tt>~/.pmbsrc</tt> and add the following content:

  name = Firstname Lastname
  email =
  email = yes

The Packman tools you've just checked out all use the host name “pmbs” for SSH operations. Hence, add it as an alias in your SSH configuration:

  mkdir -p -m 0700 ~/.ssh
  cat<<EOF >> ~/.ssh/config
  Host pmbs

Furthermore, you must use pubkey authentication when SSH'ing to or If you don't have an SSH public/private key pair already (or if you want to use another one):

  ssh-keygen -t dsa -b 1024

You may use a passphrase (which is a lot more secure) but all Packman tools require batched operation, which means you'll have to use <tt>ssh-agent</tt> to only enter your passphrase once.

To copy your public SSH key to both servers, proceed as follows:

  ssh-copy-id pmbs
packman/packagerhowto.txt · Last modified: 2012/01/14 03:51 by