How to fix Some index files failed to download. They have been ignored, or old ones used instead

0

apt update Ign:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Ign:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease Ign:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease Ign:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Ign:4 http://security.ubuntu.com/ubuntu jammy-security InRelease Err:1 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (13.126.16.60), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (3.110.169.167), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (3.110.200.74), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (13.233.101.120), connection timed out Err:2 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-updates InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) Err:3 http://ap-south-1.ec2.archive.ubuntu.com/ubuntu jammy-backports InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) Err:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.81), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.36), connection timed out Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. W: Failed to fetch http://ap-south-1.ec2.archive.ubuntu.com/ubuntu/dists/jammy/InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (13.126.16.60), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (3.110.169.167), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (3.110.200.74), connection timed out Could not connect to ap-south-1.ec2.archive.ubuntu.com:80 (13.233.101.120), connection timed out W: Failed to fetch http://ap-south-1.ec2.archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) W: Failed to fetch http://ap-south-1.ec2.archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:441c:7477:8369:1c7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4801:9387:16d1:d443:b3cc). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4800:52e6:a7fb:9f74:d9e7). - connect (101: Network is unreachable) Cannot initiate the connection to ap-south-1.ec2.archive.ubuntu.com:80 (2406:da1a:89d:4802:1657:b896:284e:5768). - connect (101: Network is unreachable) W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::103). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::19). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::101). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4000:1::16). - connect (101: Network is unreachable) Cannot initiate the connection to security.ubuntu.com:80 (2620:2d:4002:1::102). - connect (101: Network is unreachable) Could not connect to security.ubuntu.com:80 (91.189.91.82), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.83), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.39), connection timed out Could not connect to security.ubuntu.com:80 (91.189.91.81), connection timed out Could not connect to security.ubuntu.com:80 (185.125.190.36), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions