У меня есть экземпляр 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
-
Anonymous
1733437473
Anonymous
У меня есть экземпляр 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.com/ubuntu/pool/main/n/net-tools/net-tools_2.10-0.1ubuntu4_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
Подробнее здесь: [url]https://stackoverflow.com/questions/79256395/apt-install-in-ec2-in-private-subnet[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия