enabling disabling repos

0

getiing following errors while disabling error and unable to update serverEnter image description here Enter image description here

已提問 1 年前檢視次數 236 次
3 個答案
0

It's also possible that yum update -y is responding like that because all the installed packages are already up-to-date. What AMI are you using, and when was the host last patched?

profile picture
專家
Steve_M
已回答 1 年前
0

Don't put the exclamation mark " ! " as part of the command. The shell is expanding that and looking for the most recent command starting "amzn2-core/2/x86_64", which of course isn't in your shell history, and so the entire command is failing.

profile picture
專家
Steve_M
已回答 1 年前
0

Steps to clear the exclamation mark are at https://access.redhat.com/solutions/2267871 (basically, run yum clean expire-cache). Then yum check-update to see what packages have an update available, and yum update -y to install them.

Enable a repo that is disabled with e.g. yum-config-manager --enable amzn2-core-debuginfo (only the bit of the name up until the first forward slash).

profile picture
專家
Steve_M
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南