# APT Proxy without authentication

**URL:** <https://community.sonatype.com/t/apt-proxy-without-authentication/8201>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository\
**Created:** [February 8, 2022, 2:22pm UTC](https://community.sonatype.com/t/apt-proxy-without-authentication/8201 "2022-02-08T14:22:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gsiewruk](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/gsiewruk/32/2181_2.png) [@gsiewruk](https://community.sonatype.com/u/gsiewruk)\
**Post date:** [February 8, 2022, 2:22pm UTC](https://community.sonatype.com/t/apt-proxy-without-authentication/8201/1 "2022-02-08T14:22:39Z")

</div>

Hello!  
Is it possible to create APT mirror without authentication just like docker one?  
I did so far:

- created apt-proxy
- name: apt-proxy
- distro:buster
- remote url: http\_archive.ubuntu.com/ubuntu/

on VM:  
echo “deb https\_192.168.10.132:8443/repository/apt-proxy/ buster main” \>\> /etc/apt/sources.list  
apt update

output

> Err:1 https\_192.168.10.132:8443/repository/apt-proxy buster InRelease  
> 401 Unauthorized [IP: 192.168.10.132 8443]  
> Hit:2 http\_packages.cloud.google.com/apt cloud-sdk-buster InRelease  
> Hit:3 http\_packages.cloud.google.com/apt google-cloud-packages-archive-keyring-buster InRelease  
> Hit:4 http\_packages.cloud.google.com/apt google-compute-engine-buster-stable InRelease  
> Reading package lists… Done  
> E: Failed to fetch https\_192.168.10.132:8443/repository/apt-proxy/dists/buster/InRelease 401 Unauthorized [IP: 192.168.10.132 8443]  
> E: The repository ‘https\_192.168.10.132:8443/repository/apt-proxy buster InRelease’ is not signed.  
> N: Updating from such a repository can’t be done securely, and is therefore disabled by default.  
> N: See apt-secure(8) manpage for repository creation and user configuration details.

any tips?

PS. destroyed links due to community rules
