Hello,
I'm trying to keep my server up to date and in my Yum Manager I have a recommendation to update selinux-policy-minimum.noarch. When running the update and after confirming the update, the CWP panel says that the software is updated successfully, I suppose because the installer itself did not fail, even though the updates are not installed and continue to remain in the section.
The output to the console is as follows:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.raystedman.org
* centos-sclo-rh: mirror.wdc1.us.leaseweb.net
* centos-sclo-sclo: ftp.ussg.iu.edu
* epel: mirror.dal.nexril.net
* extras: centos-distro.cavecreek.net
* remi-safe: repo1.dal.innoscale.net
* updates: repo1.dal.innoscale.net
Resolving Dependencies
--> Running transaction check
---> Package selinux-policy-minimum.noarch 0:3.13.1-252.el7.1 will be updated
---> Package selinux-policy-minimum.noarch 0:3.13.1-266.el7_8.1 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Updating:
selinux-policy-minimum noarch 3.13.1-266.el7_8.1 updates 7.0 M
Transaction Summary
================================================================================
Upgrade 1 Package
Total download size: 7.0 M
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
/var/tmp/rpm-tmp.94uBvf: line 19: /usr/share/selinux/minimum/instmodules.lst: No such file or directory
error: %pre(selinux-policy-minimum-3.13.1-266.el7_8.1.noarch) scriptlet failed, exit status 1
Verifying : selinux-policy-minimum-3.13.1-252.el7.1.noarch 1/2
Verifying : selinux-policy-minimum-3.13.1-266.el7_8.1.noarch 2/2
Failed:
selinux-policy-minimum.noarch 0:3.13.1-252.el7.1
selinux-policy-minimum.noarch 0:3.13.1-266.el7_8.1
Complete!
Can anyone help resolve this "no such file or directory" issue so that I can install the update? Do I need to install this update? If I don't, can this be excluded from future update prompts? Will this create dependency chains in the future for other updates I need?
[root@server3 ~]# curl http://dl1.centos-webpanel.com/files/s_scripts/sinfo.sh|sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899 100 899 0 0 1721 0 --:--:-- --:--:-- --:--:-- 1718
===============================================
Kernel:
Linux server3.bentsea.net 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
CPU info:
model name : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz
Release:
CentOS Linux release 7.8.2003 (Core)
Arch:
x86_64
Virtualization Type:
kvm
Memory:
total used free shared buff/cache available
Mem: 15885 2873 12694 31 316 12711
Swap: 0 0 0
MySQL info:
mysql Ver 15.1 Distrib 10.1.46-MariaDB, for Linux (x86_64) using readline 5.1
Disk Info:
Filesystem Size Used Avail Use% Mounted on
devtmpfs 7.8G 0 7.8G 0% /dev
tmpfs 7.8G 0 7.8G 0% /dev/shm
tmpfs 7.8G 1.2M 7.8G 1% /run
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/sda1 160G 20G 141G 13% /
tmpfs 1.6G 0 1.6G 0% /run/user/1000
tmpfs 1.6G 0 1.6G 0% /run/user/0
#
# /etc/fstab
# Created by anaconda on Mon Jan 28 20:51:49 2019
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=f41e390f-835b-4223-a9bb-9b45984ddf8d / xfs defaults 0 0
Apache PHP info:
Failed loading /usr/local/ioncube/ioncube_loader_lin_7.0.so: /usr/local/ioncube/ioncube_loader_lin_7.0.so: cannot open shared object file: No such file or directory
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/imagick.so' - libMagickWand.so.5: cannot open shared object file: No such file or directory in Unknown on line 0
PHP 7.0.33 (cli) (built: Jul 23 2019 19:34:25) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
Apache start script check:
grep: /etc/init.d/httpd: No such file or directory
CWP Admin check:
/usr/local/cwpsrv/htdocs/admin
CWP version:
0.9.8.1003
===============================================