2nd Ed, PDF p35, 'package' command has yum servers issue (CentOS 8 EOL)
See original GitHub issueOn p35 of 2nd Ed.:
ansible app -b -m package -a "name=git state=present"
192.168.57.4 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/libexec/platform-python"
},
"changed": false,
"msg": "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist",
"rc": 1,
"results": []
}
192.168.57.5 | FAILED! => {
"ansible_facts": {
"discovered_interpreter_python": "/usr/libexec/platform-python"
},
"changed": false,
"msg": "Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist",
"rc": 1,
"results": []
}
Servers created as CentOS8s.
In the machine:
[vagrant@orc-app1 ~]$ sudo yum update -y
CentOS Linux 8 - AppStream 152 B/s | 38 B 00:00
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist
Stackexchange suggests this is a resolv.conf
issue, but even replacing resolv.conf
with
nameserver 8.8.8.8
nameserver 8.8.4.4
Same error results.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to fix dnf after CentOS 8 went EOL - GetPageSpeed
It's the year 2022 and RedHat has stopped the development of CentOS 8 by removing packages from its primary servers.
Read more >CentOS 8 is end-of-life: Now what? - Puppet
centos8migrate::to_centos_vault This task will update YUM repos to point to the CentOS 8 vault so you can update to the last available updates....
Read more >Failing to run yum update in CentOS 8 - Server Fault
It is for archived community version of their primary OS, the very same community version that was made EOL in favor of CentOS...
Read more >Extra Packages for Enterprise Linux (EPEL) - Fedora Docs
NOTE for CentOS users: You can install EPEL by running yum install epel-release. The package is included in the CentOS Extras repository, enabled...
Read more >2.5.1 Installing MySQL on Linux Using the MySQL Yum ...
The MySQL Yum repository for Oracle Linux, Red Hat Enterprise Linux, CentOS, and Fedora provides RPM packages for installing the MySQL server, client, ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This seems to be the result of CentOS 8’s EOL. At some point I may switch the examples to Rocky Linux 8 instead. (Yet another effect of the CentOS 8 rug-pull, grr…).
This seems to have started happening within the past week.
I have these references fixed in the manuscript. I hope to have an update out tonight!