# Clone ubuntu apt repos

**URL:** <https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, apt\
**Created:** [January 17, 2024, 6:03am UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911 "2024-01-17T06:03:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![chart41](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chart41](https://community.sonatype.com/u/chart41)\
**Post date:** [January 17, 2024, 6:03am UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/1 "2024-01-17T06:03:46Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [January 17, 2024, 9:47pm UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/2 "2024-01-17T21:47:04Z")

</div>

You can with [Apt Hosted Repositories](https://help.sonatype.com/en/apt-repositories.html#hosting-apt-repositories).

---

<div class="post-metadata">

**Author:** ![chart41](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chart41](https://community.sonatype.com/u/chart41)\
**Post date:** [January 18, 2024, 6:03am UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/3 "2024-01-18T06:03:25Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [January 18, 2024, 2:35pm UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/4 "2024-01-18T14:35:34Z")

</div>

Ah sorry I misread your comment previously - you’d want to take a look at the [Proxy section](https://help.sonatype.com/en/apt-repositories.html#proxying-apt-repositories) of the same document.

---

<div class="post-metadata">

**Author:** ![chart41](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chart41](https://community.sonatype.com/u/chart41)\
**Post date:** [January 18, 2024, 6:49pm UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/5 "2024-01-18T18:49:15Z")

</div>

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 repositiories without internet?

---

<div class="post-metadata">

**Author:** ![mpiggott](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@mpiggott](https://community.sonatype.com/u/mpiggott)\
**Post date:** [January 18, 2024, 6:51pm UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/6 "2024-01-18T18:51:29Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![chart41](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@chart41](https://community.sonatype.com/u/chart41)\
**Post date:** [January 18, 2024, 6:57pm UTC](https://community.sonatype.com/t/clone-ubuntu-apt-repos/11911/7 "2024-01-18T18:57:48Z")

</div>

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