# APT repo snapshot not working

**URL:** <https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [December 16, 2022, 7:38am UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780 "2022-12-16T07:38:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dushi404](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dushi404](https://community.sonatype.com/u/dushi404)\
**Post date:** [December 16, 2022, 7:38am UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780/1 "2022-12-16T07:38:28Z")

</div>

Hi folks–  
Has anyone successfully used an APT proxy snapshot?  
Configuration is OSS 3.38.0-01

My use case is to install Ubuntu from a proxy snapshot.  
I am able to install from a proxy that tracks the public Ubuntu repository. But snapshots of that proxy have incomplete metadata and are missing items expected by the installer.  
Does anyone know how to get a complete snapshot of the metadata?

 ![image](https://canada1.discourse-cdn.com/flex047/uploads/communitysonatype/original/2X/f/f49e54f8f398c6cef167eb033142ac665b9c27d9.png)

---

<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:** [December 16, 2022, 1:42pm UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780/2 "2022-12-16T13:42:25Z")

</div>

Probably this quote from the [help documentation](https://help.sonatype.com/repomanager3/nexus-repository-administration/formats/apt-repositories#AptRepositories-TakingaSnapshotofRepositoryMetadata) is relevant:

> A snapshot does NOT contain any binary files. So be ready if the content of the repository changed the snapshot can include some invalid metadata.

---

<div class="post-metadata">

**Author:** ![dushi404](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dushi404](https://community.sonatype.com/u/dushi404)\
**Post date:** [December 17, 2022, 5:36am UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780/5 "2022-12-17T05:36:57Z")

</div>

The attached document also tells “deb main” only.

But I need jammy-backports, jammy-security, and jammy-updates directories to be part of a snapshot to resolve my issue.

---

<div class="post-metadata">

**Author:** ![dushi404](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@dushi404](https://community.sonatype.com/u/dushi404)\
**Post date:** [January 11, 2023, 6:47am UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780/6 "2023-01-11T06:47:27Z")

</div>

I am not getting any reply to my query.

---

<div class="post-metadata">

**Author:** ![gueb01](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/gueb01/32/2730_2.png) [@gueb01](https://community.sonatype.com/u/gueb01)\
**Post date:** [June 2, 2023, 1:29pm UTC](https://community.sonatype.com/t/apt-repo-snapshot-not-working/9780/7 "2023-06-02T13:29:54Z")

</div>

We have the same problem as reported above with version 3.54.1
