VPN 연결을 통해 적절한 업데이트를 실행하는 방법은 무엇입니까?

VPN 연결을 통해 적절한 업데이트를 실행하는 방법은 무엇입니까?

기본 소스 사용.목록

deb http://deb.debian.org/debian bullseye main
deb-src http://deb.debian.org/debian bullseye main

deb http://deb.debian.org/debian-security/ bullseye-security main
deb-src http://deb.debian.org/debian-security/ bullseye-security main

deb http://deb.debian.org/debian bullseye-updates main
deb-src http://deb.debian.org/debian bullseye-updates main

apt updateVPN에 연결되지 않은 경우에는 잘 작동하지만 VPN에 연결한 후 구성 요소 apt update시간이 초과됩니다.bullseyebullseye-security

$ apt update
Get:1 http://deb.debian.org/debian bullseye InRelease [113 kB]
Err:1 http://deb.debian.org/debian bullseye InRelease
  Connection timed out [IP: 151.101.54.132 80]
Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [44.1 kB]
Err:2 http://deb.debian.org/debian-security bullseye-security InRelease
  Connection timed out [IP: 151.101.54.132 80]
Get:3 http://deb.debian.org/debian bullseye-updates InRelease [36.8 kB]
Fetched 36.8 kB in 1min 1s (601 B/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch http://deb.debian.org/debian/dists/bullseye/InRelease  Connection timed out [IP: 151.101.54.132 80]
W: Failed to fetch http://deb.debian.org/debian-security/dists/bullseye-security/InRelease  Connection timed out [IP: 151.101.54.132 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

apt updateVPN 연결을 통해 어떻게 작동하나요 ?

답변1

deb.debian.orgVPN 차단은 일부 미러보다 더 엄격한 것 같습니다 . 사용할 소스 목록을 업데이트하세요.로컬 미러해당 bullseye구성 요소와 security해당 security구성 요소의 하위 도메인 에 대해 apt update연속이 허용될 수 있습니다. 예를 들어, 미국에서 VPN에 연결하면 다음 source.list가 작동합니다.

deb http://ftp.us.debian.org/debian/ bullseye main
deb-src http://ftp.us.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security/ bullseye-security main
deb-src http://security.debian.org/debian-security/ bullseye-security main

deb http://ftp.us.debian.org/debian/ bullseye-updates main
deb-src http://ftp.us.debian.org/debian/ bullseye-updates main

관련 정보