Latest Post

🚨 BẢO MẬT WEB THỜI ĐẠI AI: HACKER DÙNG AI, BẠN VẪN BẢO VỆ WEBSITE THEO CÁCH CŨ? 🚨 CẢNH BÁO BẢO MẬT: HACKER CÓ THỂ ĐANG NHẮM ĐẾN FILE config.php CHỨA MẬT KHẨU DATABASE! UEFI Package sử dụng thư viện xử lý hình ảnh có rất nhiều lỗ hỏng bảo mật. Wireless LAN Router của ELECOM có lỗ hỏng bảo mật OS Command injection Note: setting days for Crontab Launching AWS EC2 Instance using Python Tự động phát hành SSL Certificate hết hạn Let’s Encrypt Verify if crontab works Cách xem thời hạn của Let’s Encrypt SSL Certificate AWS EC2 Instance: jum update failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try. Nhập môn Python: Chương 2 Hello World thử viết chương trình python đơn giản. Python – Anaconda: Cài đặt Anaconda môi trường lập trình python Nhập môn Python: Chương 1 Python là gì? MySQL – GRANT: Tạo user, set lại password, xem và cấp quyền cho user. Python – Multithread – Queue – File: Xử lý đa luồng dùng chung dữ liệu trên cùng một file dùng hàng đợi(Queue) ⑤Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay . ④Ubuntu – Postfix – Dovecot : SSL/TSL security mail server setting, một phát ăn ngay. ③Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. ②Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. ① Ubuntu – Postfix – Dovecot : Mail server setting, một phát ăn ngay. Python – Pandas: lấy data từ file csv. Newbie – Python – Selenium: Tự động login Facebook với trình duyệt Chrome Newbie – Python – Skype: Gửi Message tới Skype chat group hoặc user bằng ngôn ngữ Python. Newbie – Python – PostgreSQL: Kết nối với cơ sở dữ liêu PostgreSQL bằng ngôn ngữ Python. Newbie – Python – SQL Server: Kết nối với cơ sở dữ liệu SQL Server bằng ngôn ngữ Python. Newbie – Python – Mysql: Kết nối với cơ sở dữ liêu MySQL bằng ngôn ngữ Python. Basic Authentication Setting How to setup AWS VPN Client 【GCP】Compute Engine’s Disk Expansion Linux Commands WordPress 404 Page Error (Post)
0 0
Read Time:1 Minute, 15 Second

Environment

  • AWS EC2 Install  Amazon Linux release 2 (Karoo)

Issue

  • yum update failure: repodata/repomd.xml from rpmforge: [Errno 256] No more mirrors to try.

Resolution

  • Check what files are present under /etc/yum.repos.d directory by:-
# ll /etc/yum.repos.d
total 24
-rw-r--r-- 1 root root 1003 Oct 26  2021 amzn2-core.repo
-rw-r--r-- 1 root root 3150 Jun  1 10:32 amzn2-extras.repo
-rw-r--r-- 1 root root  739 Nov 13  2010 mirrors-rpmforge
-rw-r--r-- 1 root root  717 Nov 13  2010 mirrors-rpmforge-extras
-rw-r--r-- 1 root root  728 Nov 13  2010 mirrors-rpmforge-testing
-rw-r--r-- 1 root root 1278 Jun 30 09:03 rpmforge.repo

  • If any local repositories or any other media repositories are present, remove them by:-
# rm -rf /etc/yum.repos.d/rpmforge.repo
  • Remove the old yum cache from the system by running the following commands:
# rm -fr /var/cache/yum/*
# yum clean all
  • Check if the valid repositories are getting listed by:-
# ll /etc/yum.repos.d
total 20
-rw-r--r-- 1 root root 1003 Oct 26  2021 amzn2-core.repo
-rw-r--r-- 1 root root 3150 Jun  1 10:32 amzn2-extras.repo
-rw-r--r-- 1 root root  739 Nov 13  2010 mirrors-rpmforge
-rw-r--r-- 1 root root  717 Nov 13  2010 mirrors-rpmforge-extras
-rw-r--r-- 1 root root  728 Nov 13  2010 mirrors-rpmforge-testing

Step by step Video.

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Leave a Reply

Your email address will not be published. Required fields are marked *