何らかの理由で、私のDebian 10コンピュータはAptを使用して接続を取得できません。プロキシがない場合、apt.conf.d にカスタム設定はありません。 wgetを使用して、Aptが失敗して成功したのとまったく同じIPとポートにアクセスすることもできます。
Err:1 http://security.debian.org/debian-security buster/updates/main amd64 libpq-dev amd64 11.12-0+deb10u1
Connection failed [IP: 151.101.250.132 80]
Err:2 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16
Connection failed [IP: 151.101.250.132 80]
Err:3 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16
Connection failed [IP: 151.101.250.132 80]
Err:4 http://security.debian.org/debian-security buster/updates/main amd64 libssl-dev amd64 1.1.1d-0+deb10u6
Connection failed [IP: 151.101.250.132 80]
Err:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16
Connection failed [IP: 151.101.250.132 80]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
0% [Waiting for headers]
$ sudo cat /etc/apt/sources.list
#
deb http://deb.debian.org/debian/ buster main
deb-src http://deb.debian.org/debian/ buster main
deb http://security.debian.org/debian-security buster/updates main contrib
deb-src http://security.debian.org/debian-security buster/updates main contrib
# buster-updates, previously known as 'volatile'
deb http://deb.debian.org/debian/ buster-updates main contrib
deb-src http://deb.debian.org/debian/ buster-updates main contrib
$ wget http://deb.debian.org/debian
--2021-06-30 14:04:43-- http://deb.debian.org/debian
Resolving deb.debian.org (deb.debian.org)... 199.232.130.132, 2a04:4e42:60::644
Connecting to deb.debian.org (deb.debian.org)|199.232.130.132|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.debian.org/debian/ [following]
--2021-06-30 14:04:43-- http://ftp.debian.org/debian/
Resolving ftp.debian.org (ftp.debian.org)... 199.232.130.132, 2a04:4e42:60::644
Reusing existing connection to deb.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 6103 (6.0K) [text/html]
Saving to: ‘debian’
debian 100%[====================================>] 5.96K --.-KB/s in 0s
2021-06-30 14:04:44 (274 MB/s) - ‘debian’ saved [6103/6103]
$ wget http://security.debian.org/debian-security
--2021-06-30 14:04:56-- http://security.debian.org/debian-security
Resolving security.debian.org (security.debian.org)... 151.101.194.132, 151.101.2.132, 151.101.130.132, ...
Connecting to security.debian.org (security.debian.org)|151.101.194.132|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://security.debian.org/debian-security/ [following]
--2021-06-30 14:04:57-- http://security.debian.org/debian-security/
Reusing existing connection to security.debian.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 1972 (1.9K) [text/html]
Saving to: ‘debian-security’
debian-security 100%[====================================>] 1.93K --.-KB/s in 0s
2021-06-30 14:04:57 (77.6 MB/s) - ‘debian-security’ saved [1972/1972]
/var/log/apt/history.log またはその問題のログに新しいログは表示されません。
ここでaptが失敗する理由と回避策は何ですか?