Can a PPA be added to an Ubuntu repo mirror?
In our college, we have mirrors of most new Ubuntu distros to save update costs. We would like to add rabbitvcs to the computers, but is available through a PPA and not the official repo. So can a PPA be added to a (private) mirror of the ubuntu repo?
PS: I would like to hear on both the technical and legal issues involved.
I am successfully using apt-mirror
to mirror PPAs.
- https://apt-mirror.github.io/
Simply add lines like:
deb http://ppa.launchpad.net/byobu/ppa/ubuntu precise main
deb-src http://ppa.launchpad.net/byobu/ppa/ubuntu precise main
To /etc/apt/mirror.list
.
And then run sudo apt-mirror
.
Official repo is a repo, PPA is a repo and you cannot add a repo to a repo.
The best way would be to ask everyone to add your repo in their Ubuntu installation. This way it can be pretty useful. You can mirror that repo too, such that you upload the package to the PPA, it gets mirrored in the college servers and is then available as update to everyone.