Installing the generated .DEBs

  1. We cd into each of the directories generated by alien, and run dpkg-buildpackage there, like this:

    cd novfs-alienated
    for DIR in $(ls -1) ; do SUBDIR=$(find ${DIR} -mindepth 1 -maxdepth 1 -type d -not -iname \*.orig) ; pushd ${SUBDIR} ;fakeroot dpkg-buildpackage ; popd ; done

  2. We gather the packages:

    mkdir upload
    find \( -iname \*.orig.tar.gz -o -iname \*.dsc -o -iname \*.diff.gz -o -iname \*.deb -o -iname \*.changes \) -exec cp {} upload/ \;

    Then we upload the packages to a repository, add the repository to /etc/apt/sources.list:

    deb http://machine.domain/~jurjen/rug/ubuntu intrepid experimental

    , and run apt-get update.


    ToDo: document how to set up a repository.