I was wondering if it would be possible to keep recent versions of Suricata available in the OISF PPA archives? At the moment, only the most recent build for each architecture is available. This can be an issue if the latest build suffers from a “major” bug that impacts specific use cases.
For example, currently only this build is available to install on Ubuntu 22.04:
It would be great if we could “just” run apt-get install suricata=6.0.10 to install a slightly older release instead. Unfortunately it seems that older builds are always immediately removed from the PPA.
We actually do not remove the older packages. PPA automatically supersedes the packages.
I will have a look if we could keep somehow and older version.
Side note: /var/cache/apt/archives/ often contains older package versions if they were previously installed. Cache may have been cleared, but its worth checking.
Thanks for the replies. @vjulien We have a docker build, so we start from “scratch” (base ubuntu 22.04 image), and there is no cache @pevma Thanks for the info. What is a bit surprising to me is that the old built files are no longer available for download (see amd64 build of suricata 1:6.0.10-0ubuntu5 : suricata-6.0-test : OISF for an example).
I’ve investigated a bit further this. The packages in the stable repos are copied over after building and testing is finished from the test repos - this might be the reason. Older packages are available in the original test repos though.