MongoDB repo for apt-mirror

0

Must mirror the Debian MongoDB repo for an offline DMZ. Ubuntu works, Debian doesnt. What is wrong here?

Works:

deb http://repo.mongodb.org/apt/ubuntu trusty/mongodb-org/3.2 multiverse

Does not work:

deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 multiverse

Stefan W.

Posted 2019-01-29T12:15:24.180

Reputation: 3

1“Does not work” is not an error description. – Daniel B – 2019-01-29T12:33:20.930

Processing indexes: [SSSPPPPPPPPPPPPapt-mirror: can't open index repo.mongodb.org/apt/debian//dists/stretch/mongodb-org/3.6/multiverse/binary-amd64/Packages in process_index at /usr/bin/apt-mirror line 800. P] – Stefan W. – 2019-01-29T12:49:01.033

Answers

0

Well, the error message is pretty clear, isn’t it?

The correct line would be:

deb http://repo.mongodb.org/apt/debian stretch/mongodb-org/3.6 main

Daniel B

Posted 2019-01-29T12:15:24.180

Reputation: 40 502