amazonlinux / amazon-linux-2023

Amazon Linux 2023
https://aws.amazon.com/linux/amazon-linux-2023/
Other
500 stars 38 forks source link

iam not able to update the server and not able to install any service #665

Open yaswanthmedisetti opened 3 months ago

yaswanthmedisetti commented 3 months ago

image

daniejstriata commented 3 months ago

Do you get a valid response from a command using the internet like: curl ifconfig.io

yaswanthmedisetti commented 3 months ago

curl ifconfig.io

yes

issue with mirrorlist.

elsaco commented 3 months ago

@yaswanthmedisetti is the issue persistent? Pulling from that URL seems to work okay, at least on my vm:

[ec2-user@amazon101 ~]$ wget https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/mirrors/2023.4.20240319/SRPMS/mirror.list
--2024-03-25 15:57:05--  https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/mirrors/2023.4.20240319/SRPMS/mirror.list
Resolving al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com (al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com)... 3.5.213.145, 16.12.40.58, 3.5.209.173, ...
Connecting to al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com (al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com)|3.5.213.145|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 161 [binary/octet-stream]
Saving to: ‘mirror.list’

mirror.list                   100%[=================================================>]     161  --.-KB/s    in 0s

2024-03-25 15:57:07 (4.18 MB/s) - ‘mirror.list’ saved [161/161]

and a mirror list is returned indeed:

[ec2-user@amazon101 ~]$ cat mirror.list
https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/guids/e2019ae02c98c5a2f5c0a2ba32c8ad51130499047b2cf00c76fd8c051b550ab6/SRPMS/

Could be just a transient network issue!

yaswanthmedisetti commented 3 months ago

wget https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/mirrors/2023.4.20240319/SRPMS/mirror.list

Hi @elsaco $ wget https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/mirrors/2023.4.20240319/SRPMS/mirror.list --2024-03-25 16:59:27-- https://al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com/core/mirrors/2023.4.20240319/SRPMS/mirror.list Resolving al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com (al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com)... Connecting to al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com (al2023-repos-ap-south-1-de612dc2.s3.dualstack.ap-south-1.amazonaws.com)|3.5.208.129|:443... connected. HTTP request sent, awaiting response... 403 Forbidden 2024-03-25 16:59:28 ERROR 403: Forbidden.