05-07-2018 11:15 AM
I have some secured environments that are not able to reach out to the internet. I run internal mirrors of relevant repos locally so that the machines on the secured segments can install software and receive updates.
I am not able to mirror the Duo RPM or Deb repos, seemingly because Duo is making it difficult.
Couple of questions:
2a) If yes, can you stop?
2b) If no, can we make it easier, please?
Thanks!
–Matt
05-07-2018 11:36 AM
Hi,
Sorry to hear you’re having a bad time! I’ve not attempted to do this with our repos before. Can you elaborate on what it is that’s not working? What method are you using to create the mirror?
07-10-2018 10:49 AM
By using apt-mirror (https://apt-mirror.github.io/) and Aptly (https://github.com/aptly-dev/aptly)
These are failing, I believe, because directory indexing is turned off for the repo. I’m internally monitoring several other external repos with no issues, and all of them have directory indexes (+Indexes in apache or autoindex on; in nginx).
All of the recommendations for running apt repos specify enabling directory indexes, as well.
07-11-2018 06:17 AM
Okay excellent, thanks for the reply!
We’ll see if we can take a look at reproducing and then seeing if we can fix the issue that’s preventing you from indexing.
11-15-2018 01:11 PM
Was there a solution found for this? We are in the same situation and need to mirror the repos locally. We are planing on using rsync or wget to pull the files down. As suggested by standaloneSA, its probably an issue with indexes not being enabled at least for wget. Rsync would be the preferred method as that is what we use for other repos, not sure if you have this setup.
04-17-2023 12:26 PM
This still appears to be a problem, for the same reasons mentioned previously.
In my case, I am attempting to locally mirror the Duo repo for CentOS as we run a shop that doesn’t allow access for all our server to the internet.
Mrepo barfs with duo’s and only duo’s repos with 404 errors when attempting to parse the repo, presumably because directory indexing is disabled. Please fix this or offer another solution.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide