Yum bỏ qua bị hỏng để khắc phục sự cố. Khi bạn phát lệnh yum trên máy chủ CentOS / RHEL , thông báo bên dưới xuất hiện và bạn không thể tiếp tục các bước cài đặt tiếp theo:
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
Chạy lệnh dưới đây cài đặt tiện ích yum nếu chưa cài và dọn dẹp danh sách mirror nhanh nhất:
1. Chạy cài đặt Yum :
yum install -y yum-utils
2. Chạy các lệnh sau:
[root@server ~]# yum clean all
Loaded plugins: fastestmirror
Cleaning up Everything
Cleaning up list of fastest mirrors