
On 28/06/2012, at 17:49, Toby Corkindale <toby.corkindale@strategicdata.com.au> wrote:
Hi, I wonder if I can get some advice from the list?
I want to run a little Debian repository -- but I have a requirement which seems to be missing from the software tried so far.
I want the repository to maintain multiple versions of the same package.
ie. So I could do this:
dput my-package_1.00-1_all.deb dput my-package_1.11-1_all.deb dput my-package_2.00-1_all.deb
And then on a machine using my repo, be able to say something like:
aptitude install my-package (> 1.10 & < 1.99) while on another machine, say: aptitude install my-package (>= 2.00)
So far, repo management software I've seen will purge the older version out when you upload a new one.
Any thoughts?
Thanks, Toby
Reprepro handles this really well. Check out its man page under the Override Files section and look for unused_files setting and the options for it. Edward