/srv/irclogs.ubuntu.com/2018/07/06/#launchpad-dev.txt

maruHi all. I'm building an emulated environment for cyber security research. In particular, I have a thorough inventory of all applications (with versions) to be installed on a huge number of vms (mostly Ubuntu). I initially resorted to “vanilla” ansible but the problem is with old/superseded versions of packages. In the journey I discovered the fabulous launchpad API, hence the question: can I obtain a package .deb by specifying name13:34
maruand version (e.g., openssh 5.9p1) even if superseded/not in the installed OS ppa?13:34
cjwatsonmaru: Maybe in some cases; not in general and not via apt.  If the files in question haven't been entirely purged then it would be possible to copy them (without rebuilding) into a PPA and then pin that PPA using apt.  Your question isn't quite specific enough for us to know whether that's possible in this case.15:47
maruunfortunately we are talking about many different packages. My objective is having a fully automated "best-effort" solution that hopefully works on most cases (I am currently looking at: https://answers.launchpad.net/launchpad/+question/660750 which looks promising)15:56
cjwatsonmany different packages isn't interesting.  many different source *archives* would be interesting15:58
maruwhy?15:59
cjwatsonare you trying to obtain these packages in the sense of downloading them locally, or in the sense of getting them all into a single PPA that you can provision on one of the relevant systems?15:59
cjwatson(or rather, on many of the relevant systems)15:59
cjwatsonand are they superseded from the primary Ubuntu archive, or from some random PPA?15:59
cjwatson(you said "the installed OS ppa", which doesn't totally make sense because the primary Ubuntu archive isn't a PPA)16:00
maruOn download locally vs ppa: both directions would work in my case, as I have to download and install them on each machine. The second approach would imply building a centralized archive that then could be used as source on all machines (and updated if needed), while the second I guess would be easier/more flexible16:03
marusuperseded from the primary ubuntu archive16:04
maruhttps://launchpad.net/ubuntu/+source/mysql-5.5/5.5.54-0ubuntu0.14.04.1/+publishinghistory this is a notable example16:05
marualso, is anyone aware of an NVT CPE mapping to actual packages?17:05

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!