Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7069

apt install in ec2 in private subnet [closed]

$
0
0

I have an EC2 instance on a private subnet (that I connect to with SSH via an instance in a public subnet and a NAT gateway), and I try to run sudo apt install net-tools.I get an error:

ubuntu@ip-***-***-***-***:~$ sudo apt install net-tools --fix-missing Reading package lists... DoneBuilding dependency tree... DoneReading state information... DoneThe following NEW packages will be installed:  net-tools0 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.1ubuntu4Ign:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4Ign:1 http://il-central-1.ec2.archive.ubuntu.com/ubuntu noble/main amd64 net-tools amd64 2.10-0.1ubuntu4Err: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 outE: 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 outE: Internal Error, ordering was unable to handle the media swap

Viewing all articles
Browse latest Browse all 7069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>