Clone ubuntu apt repos - Sonatype Nexus Repository - Sonatype Community

Clone ubuntu apt repos

post by chart41 on Jan 17, 2024

Hello.

Is it possible use nexus not as just proxy, but like full standalone repos of ubuntu, or debian for example?

If it is, how to do it?

post by mpiggott on Jan 17, 2024

You can with Apt Hosted Repositories.

post by chart41 on Jan 18, 2024

looks like the solution for only own repositories.

But I need to clone “us.archive.ubuntu. com/ubuntu/” for example.

If it’s possible, could you give me the steps how to do it by using nexus please?

post by mpiggott on Jan 18, 2024

Ah sorry I misread your comment previously - you’d want to take a look at the Proxy section of the same document.

post by chart41 on Jan 18, 2024

So after following these steps I will get a full mirror clone of archive.ubuntu. com/ubuntu/ bionic repositories, which will let use it as primary ubuntu repositories without internet?

post by mpiggott on Jan 18, 2024

No, Nexus does not proactively replicate contents it acts as an intelligent proxy of the remote content. If you were to pull the entire content of the remote repository through Nexus then it would have a copy that could be used offline.

post by chart41 on Jan 18, 2024

So there is no way to pull the entire content in couple of clicks or commands, right?