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