Author Topic: Yum Manager "no such file or directory"  (Read 1118 times)

0 Members and 1 Guest are viewing this topic.

Yum Manager "no such file or directory"
« on: August 28, 2020, 03:16:05 PM »

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:

Code: [Select]
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base:
 * centos-sclo-rh:
 * centos-sclo-sclo:
 * epel:
 * extras:
 * remi-safe:
 * updates:
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
 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

  selinux-policy-minimum.noarch 0:3.13.1-252.el7.1                             
  selinux-policy-minimum.noarch 0:3.13.1-266.el7_8.1                           


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?

Code: [Select]
[root@server3 ~]# curl|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
Linux 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

CentOS Linux release 7.8.2003 (Core)


Virtualization Type:

              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/  /usr/local/ioncube/ 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/' - 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:

CWP version:

Re: Yum Manager "no such file or directory"
« Reply #1 on: September 11, 2020, 10:24:24 AM »
Try to delete selinux-policy-minimum since is not use.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
Join our Development Team and get paid !

Installation Instructions
Get Fast Support Here