Yum update is safe or risk?

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
I've entered "yum update" from SSH. But I enter "N" for no to update. I'm afraid If that was safe or risk. I'll keep database and FTP files safe.

Code:
Transaction Summary
======================================================================================================================================================================
Install   12 Packages (+30 Dependent packages)
Upgrade  310 Packages
Remove     2 Packages
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Yes, you generally should keep your system packages updated. Note that EasyApache 4 packages are also handled through YUM, so you are missing out on EasyApache 4 updates if you choose to not update.

Thank you.
 
  • Like
Reactions: Sametto Chan

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
Thank you.

I have get error line there,
Code:
================================================================================
Install   12 Packages (+30 Dependent packages)
Upgrade  310 Packages
Remove     2 Packages

Total download size: 351 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
http://ftp.fau.de/centos/7/os/x86_64/Packages/gnutls-3.3.26-9.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/

http://ftp.fau.de/centos/7/os/x86_64/Packages/grub2-2.02-0.64.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/grub2-pc-2.02-0.64.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/grub2-tools-2.02-0.64.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/grub2-tools-minimal-2.02-0.64.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/grubby-8.28-23.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/gsettings-desktop-schemas-3.22.0-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iprutils-2.4.14.1-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/ipset-6.29-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iptables-1.4.21-18.0.1.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iputils-20160308-10.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl105-firmware-18.168.6.1-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl2000-firmware-18.168.6.1-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl3160-firmware-22.0.7.0-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl4965-firmware-228.61.2.24-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl6000g2a-firmware-17.168.5.3-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl6000g2b-firmware-17.168.5.2-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/iwl7265-firmware-22.0.7.0-56.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/kernel-tools-3.10.0-693.2.2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/kernel-tools-libs-3.10.0-693.2.2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/kmod-20-15.el7_4.2.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/kmod-libs-20-15.el7_4.2.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/libgudev1-219-42.el7_4.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/libsoup-2.56.0-4.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/libstdc%2B%2B-4.8.5-16.el7.i686.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/libstdc%2B%2B-devel-4.8.5-16.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/libteam-1.25-5.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/libuuid-2.23.2-43.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/libwebp-0.3.0-7.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/linux-firmware-20170606-56.gitc990aae.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/logrotate-3.8.6-14.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/lvm2-2.02.171-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/ncurses-5.9-14.20130511.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/ncurses-base-5.9-14.20130511.el7_4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/ncurses-devel-5.9-14.20130511.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/ncurses-libs-5.9-14.20130511.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/ncurses-term-5.9-14.20130511.el7_4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/nscd-2.17-196.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/nss-3.28.4-11.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/nss-softokn-freebl-3.28.3-8.el7_4.i686.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/nss-sysinit-3.28.4-11.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/nss-tools-3.28.4-11.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/openldap-devel-2.4.44-5.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/openssh-7.4p1-12.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/openssl-libs-1.0.2k-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/p11-kit-trust-0.23.5-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/pciutils-3.5.1-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/pcre-8.32-17.el7.i686.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/pcre-devel-8.32-17.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-5.16.3-292.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-CPAN-1.9800-292.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-ExtUtils-CBuilder-0.28.2.6-292.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-ExtUtils-Install-1.58-292.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/perl-Git-1.8.3.1-12.el7_4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-Locale-Maketext-Simple-0.21-292.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-Net-SSLeay-1.55-6.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-Pod-Escapes-1.04-292.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-libs-5.16.3-292.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/perl-local-lib-1.008010-4.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/plymouth-0.8.9-0.28.20140113.el7.centos.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/postgresql-libs-9.2.21-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/psmisc-22.20-15.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/python-2.7.5-58.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/python-devel-2.7.5-58.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/python-gobject-base-3.22.0-1.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/python-perf-3.10.0-693.2.2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/python-pyudev-0.15-9.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/python-setuptools-0.9.8-7.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rdma-core-13-7.el7.i686.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rdma-core-13-7.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/readline-6.2-10.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/redhat-rpm-config-9.1.0-76.el7.centos.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rpcbind-0.2.0-42.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rpm-4.11.3-25.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rpm-libs-4.11.3-25.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/rsync-3.0.9-18.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/scl-utils-20130529-18.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/selinux-policy-3.13.1-166.el7_4.4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/selinux-policy-targeted-3.13.1-166.el7_4.4.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/shared-mime-info-1.8-3.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/smartmontools-6.2-8.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/sudo-1.8.19p2-11.el7_4.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/sysstat-10.1.5-12.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/systemd-219-42.el7_4.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/updates/x86_64/Packages/systemd-libs-219-42.el7_4.1.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/tar-1.26-32.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/telnet-0.17-64.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/trousers-0.3.14-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/tuned-2.8.0-5.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/vim-common-7.4.160-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/vim-filesystem-7.4.160-2.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/virt-what-1.13-10.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/wget-1.14-15.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/wpa_supplicant-2.6-5.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/xorg-x11-proto-devel-7.7-20.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/yum-3.4.3-154.el7.centos.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.fau.de/centos/7/os/x86_64/Packages/yum-plugin-fastestmirror-1.1.31-42.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
I have uploaded file attached. Please check the logs from EA4 Updates.
 

Attachments

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

This suggests there's an issue with your system's ability to access files from it's YUM repo mirrors. You can try running the following command to see if it helps:

Code:
yum clean all
It's also possible the specific mirror your server is using does not yet have the CentOS 7.4 RPMs synced to it. The CentOS forums are likely a better resource, as this particular issue isn't related to the cPanel software:

CentOS 7 - General Support - CentOS

Thank you.
 

24x7server

Well-Known Member
Apr 17, 2013
1,912
99
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

From the error you gave, it clearly points out that the mirror URL is not accessible either completely or only through your server network. You will have to try different mirror and update the repo first for the one that is causing the issue.
 

Samet Chan

Well-Known Member
Jun 24, 2016
369
42
153
cPanel Access Level
Root Administrator
Twitter
Hello,

This suggests there's an issue with your system's ability to access files from it's YUM repo mirrors. You can try running the following command to see if it helps:

Code:
yum clean all
It's also possible the specific mirror your server is using does not yet have the CentOS 7.4 RPMs synced to it. The CentOS forums are likely a better resource, as this particular issue isn't related to the cPanel software:

CentOS 7 - General Support - CentOS

Thank you.
I'm running on CentOS 7.3, I guess. Do I need to update CentOS 7.4 or just stay 7.3?

Hi,

From the error you gave, it clearly points out that the mirror URL is not accessible either completely or only through your server network. You will have to try different mirror and update the repo first for the one that is causing the issue.
yum clean then yum update and upgrade to CentOS 7.4 will be solved?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
yum clean then yum update and upgrade to CentOS 7.4 will be solved?
You can try that to see if it helps, yes. Note that there's not a separate process for updating to CentOS 7.4. The "yum update" command is what updates the version.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Oh, CentOS 7.3 to 7.4 it's impossible? Would be lost of MySQL database and WHM/cPanel system settings, Others file?
No, it's fine to update to CentOS 7.4. The "yum update" command will do this for you automatically. You won't lose settings, as it's not a major upgrade (e.g. CentOS 6 to CentOS 7).

Thank you.