Closed Phabbits closed 3 years ago
Used yum info python-linux-procfs
to get more info. python-linux-procfs
is "Python abstractions to extract information from the Linux kernel /proc files.".
Should not install multiple versions of the same package.
sudo yum downgrade python
. Need to check first its dependencies with repoquery --requires python
.python-linux-procfs
, could use sudo yum deplist python-linux-procfs
to show all dependenciessudo yum check dependencies
to confirm errors.Try 1:
Output for repoquery --requires python
libc.so.6(GLIBC_2.2.5)(64bit)
libdl.so.2()(64bit)
libm.so.6()(64bit)
libpthread.so.0()(64bit)
libpython2.6.so.1.0()(64bit)
libutil.so.1()(64bit)
python-libs(x86-64) = 2.6.6-68.el6_10
rtld(GNU_HASH)
sudo yum downgrade python
errored with a long list of packages dependent on the current version.
Try 2:
yum deplist python-linux-procfs | grep python
package: python-linux-procfs.noarch 0.4.9-5.el6
dependency: /usr/bin/python
provider: python.x86_64 2.6.6-68.el6_10
dependency: python(abi) = 2.6
provider: python.x86_64 2.6.6-68.el6_10
Try 3:
Loaded plugins: fastestmirror, langpacks
check ['dependencies']
There is a newer release available, tried updating with sudo yum update-to python-linux-procfs-0.4.9-5.el6
got:
Error: Package: python-linux-procfs-0.4.9-5.el6.noarch (base)
Requires: python(abi) = 2.6
Installed: python-2.7.5-69.el7_5.x86_64 (@CentOS-Updates)
python(abi) = 2.7
python(abi) = 2.7
Available: python-2.6.6-66.el6_8.x86_64 (base)
python(abi) = 2.6
Available: python-2.6.6-68.el6_10.x86_64 (update)
python(abi) = 2.6
Available: python34-3.4.10-8.el7.x86_64 (epel)
python(abi) = 3.4
Checked for other packages dependent on it with repoquery --requires --resolve python-linux-procfs
output was python-0:2.6.6-68.el6_10.x86_64
. This package is required by its dependency, most likely should have been removed.
Removed package successfully with sudo yum remove python-linux-procfs
. Package no longer shows up in sudo yum update
's list of errors.
Followed same procedure with:
repoquery --requires --resolve libquadmath-devel
, no output, sudo yum remove libquadmath-devel
.
All remaining packages have a lot of other dependent on them.
Example vim-enhanced
:
repoquery --requires --resolve vim-enhanced
glibc-0:2.12-1.212.el6_10.3.i686
bash-0:4.1.2-48.el6.x86_64
libselinux-0:2.0.94-7.el6.x86_64
perl-libs-4:5.10.1-144.el6.x86_64
gpm-libs-0:1.20.6-12.el6.x86_64
libacl-0:2.2.49-7.el6_9.1.x86_64
perl-4:5.10.1-144.el6.x86_64
ncurses-libs-0:5.7-4.20090207.el6.x86_64
glibc-0:2.12-1.212.el6_10.3.x86_64
which-0:2.19-6.el6.x86_64
vim-common-2:7.4.629-5.el6_10.2.x86_64
A new release was available. When attempting to update to it: sudo yum update-to vim-enhanced-7.4.629-5.el6_10.2
got:
Error: Package: 2:vim-enhanced-7.4.629-5.el6_10.2.x86_64 (update)
Requires: perl(:MODULE_COMPAT_5.10.1)
Available: 4:perl-5.10.1-144.el6.x86_64 (base)
perl(:MODULE_COMPAT_5.10.1)
Installed: 4:perl-5.16.3-292.el7.x86_64 (@anaconda)
~perl(:MODULE_COMPAT_5.16.0)
~perl(:MODULE_COMPAT_5.16.1)
~perl(:MODULE_COMPAT_5.16.2)
~perl(:MODULE_COMPAT_5.16.3)
Cannot downgrade perl
.
Followed fix now listed in wiki.
When trying to run
sudo yum update
there are the following errors: