[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Reprepro question - multiple versions



With apologies if this isn’t an appropriate place to ask about reprepro…

 

We currently use Reprepro to provide in-house publishing of various proprietary packages (eg Security agents) which vendors only provide .deb download for rather than upstream repositories for direct consumption.

 

We are able to publish packages just fine, but only the latest version is retrievable via apt-cache madison somepackage

 

We'd like to essentially do what GitLab for example is able to do and make multiple versions available, like in this example:

 

apt-cache madison gitlab-ce | head

gitlab-ce | 14.4.2-ce.0 | https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 Packages

gitlab-ce | 14.4.1-ce.0 | https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 Packages

gitlab-ce | 14.4.0-ce.0 | https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 Packages

gitlab-ce | 14.3.4-ce.0 | https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu bionic/main amd64 Packages

 

I've read and re-read the reprepro manpage but it's not very easy to understand. All I know from reading mail lists archives[1] about multiple-versioning is that in the last 3 or so years, they added the capability to reprepro, and that's all I've been able to find.

 

My current reprepro command options don’t seem to create a multi-version repository and only the latest package is available via apt-cache Madison.

 

Here’s the command I’m using:  reprepro --keepunusednewfiles --keepunreferencedfiles -A amd64 -C main -Vb $BASEPATH includedeb $release /srv/swmirror/import/$dist/$release/main/*.deb

 

Thanks!

 

[1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570623

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Reply to: