Когда мы используем apt-cacher-ng для создания локального кеша и зеркало, видна следующая ошибка
Код: Выделить всё
root@test-server:/etc/apt# sudo apt-get update
Ign:1 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy InRelease
0% [Waiting for headers]
0% [Waiting for headers]
0% [Waiting for headers]
Ign:2 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-security InRelease
Ign:3 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-updates InRelease
Ign:1 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy InRelease
Ign:2 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-security InRelease
Ign:3 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-updates InRelease
Ign:1 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy InRelease
Ign:2 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-security InRelease
Ign:3 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-updates InRelease
Err:1 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy InRelease
500 Remote or cache error [IP: 127.0.0.1 3142]
Err:2 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-security InRelease
500 Remote or cache error [IP: 127.0.0.1 3142]
Err:3 http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr jammy-updates InRelease
500 Remote or cache error [IP: 127.0.0.1 3142]
Reading package lists... Done
W: Failed to fetch http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/dists/jammy/InRelease 500 Remote or cache error [IP: 127.0.0.1 3142]
W: Failed to fetch http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/dists/jammy-security/InRelease 500 Remote or cache error [IP: 127.0.0.1 3142]
W: Failed to fetch http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/dists/jammy-updates/InRelease 500 Remote or cache error [IP: 127.0.0.1 3142]
W: Some index files failed to download. They have been ignored, or old ones used instead.
Код: Выделить всё
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy main restricted
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-security main restricted
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-updates main restricted
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy universe
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-security universe
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-updates universe
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy multiverse
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-security multiverse
deb [trusted=yes arch=amd64 allow-insecure=yes] http://localhost:3142/HTTPS///test-jfrog.net/artifactory/gateway-ubuntu-arch-debian-vr/ jammy-updates multiverse
Подробнее здесь: https://stackoverflow.com/questions/792 ... jfrog-repo
Мобильная версия