Proxmox 4.4 altında bir Linux konteyner çalıştırıyorum. Konteyner Debian Jessie'ye dayanıyor. Versiyonun özellikleri:
root@myHostName:/home/myUserName# uname -a
Linux myHostName 4.4.35-1-pve #1 SMP Fri Dec 9 11:09:55 CET 2016 x86_64 GNU/Linux
root@myHostName:/home/myUserName# cat /etc/debian_version
8.6
root@myHostName:/home/myUserName# cat /etc/issue
Debian GNU/Linux 8 \n \l
Bu kap izole edilmiştir. Tek çıkış yolu SSH tüneli. Ve böylece, paket yönetimi için bir SSH tüneli kullanıyorum (apt-get, vs.). Bu çoğunlukla çalışıyor gibi görünüyor, ancak arada sırada bazı uyarılar / hatalar alıyorum.
İşte orjinal /etc/apt/sources.list:
deb http://ftp.debian.org/debian jessie main contrib
deb http://ftp.debian.org/debian jessie-updates main contrib
deb http://security.debian.org jessie/updates main contrib
İşte /etc/apt/sources.list güncellendi :
deb http://localhost:39860/debian jessie main contrib
deb http://localhost:39860/debian jessie-updates main contrib
deb http://localhost:39861 jessie/updates main contrib
SSH tünelini şu şekilde oluşturuyorum:
ssh -N -L39860:ftp.debian.org:80 -L39861:security.debian.org:80 myRemoteUserName@myRemoteHostname
Apt-get update komutunu çalıştırdığımda ne olur :
root@myHostName:/home/myUserName# apt-get update
Ign http://localhost:39860 jessie InRelease
Hit http://localhost:39860 jessie-updates InRelease
Ign http://localhost:39861 jessie/updates InRelease
Hit http://localhost:39860 jessie Release.gpg
Get:1 http://localhost:39860 jessie-updates/main amd64 Packages/DiffIndex [8392 B]
Hit http://localhost:39860 jessie-updates/contrib amd64 Packages
Hit http://localhost:39860 jessie-updates/contrib Translation-en
Get:2 http://localhost:39860 jessie-updates/main Translation-en/DiffIndex [3196 B]
Ign http://localhost:39861 jessie/updates Release.gpg
Hit http://localhost:39860 jessie Release
Ign http://localhost:39861 jessie/updates Release
Hit http://localhost:39860 jessie/main amd64 Packages
Hit http://localhost:39860 jessie/contrib amd64 Packages
Hit http://localhost:39860 jessie/contrib Translation-en
Hit http://localhost:39860 jessie/main Translation-en
Err http://localhost:39861 jessie/updates/main amd64 Packages
404 Not Found [IP: ::1 39861]
Err http://localhost:39861 jessie/updates/contrib amd64 Packages
404 Not Found [IP: ::1 39861]
Ign http://localhost:39861 jessie/updates/contrib Translation-en
Ign http://localhost:39861 jessie/updates/main Translation-en
Fetched 11.6 kB in 9s (1279 B/s)
W: Failed to fetch http://localhost:39861/dists/jessie/updates/main/binary-amd64/Packages 404 Not Found [IP: ::1 39861]
W: Failed to fetch http://localhost:39861/dists/jessie/updates/contrib/binary-amd64/Packages 404 Not Found [IP: ::1 39861]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Sonunda gösterilen uyarıların ve hataların üstesinden nasıl gelebilirim?