У меня есть экземпляр EC2 в частной подсети (к которому я подключаюсь по SSH через экземпляр в общедоступной подсети и шлюз NAT), и я пытаюсь запустить sudo apt install net-tools.
/>Я получаю сообщение об ошибке:
ubuntu@ip-***-***-***-***:~$ sudo apt install net-tools --fix-missing
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
net-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 204 kB of archives.
After this operation, 811 kB of additional disk space will be used.
Ign:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Ign:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Ign:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Err:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4
Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out
E: Failed to fetch http://il-central-1.ec2.archive.ubuntu. ... _amd64.deb Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Cannot initiate the connection to il-central-1.ec2.archive.ubuntu.com:80 (*:*:*:*:*:*:*:*). - connect (101: Network is unreachable) Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out Could not connect to il-central-1.ec2.archive.ubuntu.com:80 (***.***.***.***), connection timed out
E: Internal Error, ordering was unable to handle the media swap
Подробнее здесь: https://stackoverflow.com/questions/792 ... ate-subnet
Apt установить в ec2 в частной подсети [закрыто] ⇐ Linux
-
- Похожие темы
- Ответы
- Просмотры
- Последнее сообщение