Can´t update kernel

Hi,

I´m using Virtualmin on CentOS 7, my current kernel is 3.10.0-327.4.5.el7.x86_64.

When I try to update it there are no packages found for update:

=====
yum update kernel
Complementos cargados:fastestmirror
elrepo-kernel | 2.9 kB 00:00:00
epel/x86_64/metalink | 23 kB 00:00:00
epel | 4.7 kB 00:00:00
virtualmin | 2.5 kB 00:00:00
virtualmin-universal | 2.5 kB 00:00:00
(1/5): epel/x86_64/group_gz | 266 kB 00:00:00
(2/5): epel/x86_64/updateinfo | 879 kB 00:00:00
(3/5): epel/x86_64/primary_db | 6.2 MB 00:00:00
(4/5): virtualmin-universal/primary_db | 27 kB 00:00:00
(5/5): virtualmin/7/x86_64/primary_db | 55 kB 00:00:00
Determining fastest mirrors

  • elrepo-kernel: fr.mirror.babylon.network
  • epel: mirror.airenetworks.es
    No packages marked for update
    =====

I have these repos enabled in YUM:

elrepo.repo
epel.repo
epel-testing.repo
virtualmin.repo

and this is my yum.conf content:

=====
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release

Any help would be greatly appreciated.

Regards.
Victor

no help?.

When I try to update it there are no packages found for update

What Centos version are you running? If you dont know check with rpm --query centos-release. The current kernel version was used with Centos 7.0 up to 7.3 and in 7.4 changed to 3.10.0-693*. If you want something else then you are on your own as Centos 7 will hardly change his kernel to version 4.*. In case you dont know RedHat/Centos backport a lot of patches so if the reason is security just be sure to frequently update your OS.

Thanks for you reply.

I have this:

centos-release-7-2.1511.el7.centos.2.10.x86_64

Then you have right kernel version for your Centos 7.2. If you want never version you must update Centos to 7.4 and i would strongly suggest that as you are currently using old kernel version what (probably) will not be updated or patched anymore.

Ok but when I run yum update I get this dependency error:

—> Paquete httpd.x86_64 1:2.4.6-40.el7.centos.4.vm.2 debe ser actualizado
—> Paquete httpd.x86_64 1:2.4.6-67.el7.centos.2.vm debe ser una actualización
—> Paquete httpd-tools.x86_64 1:2.4.6-40.el7.centos.4.vm.2 debe ser actualizado
—> Paquete httpd-tools.x86_64 1:2.4.6-67.el7.centos.2.vm debe ser una actualización
—> Paquete mod_ssl.x86_64 2:2.4.6-40.el7.centos.4.vm.2 debe ser actualizado
—> Paquete mod_ssl.x86_64 2:2.4.6-67.el7.centos.2.vm debe ser una actualización
–> Procesando dependencias: libcrypto.so.10(OPENSSL_1.0.2)(64bit) para el paquete: 2:mod_ssl-2.4.6-67.el7.centos.2.vm.x86_64
—> Paquete proftpd.x86_64 0:1.3.5b-2.el7 debe ser actualizado
—> Paquete proftpd.x86_64 0:1.3.5e-3.el7 debe ser una actualización
–> Procesando dependencias: libcrypto.so.10(OPENSSL_1.0.2)(64bit) para el paquete: proftpd-1.3.5e-3.el7.x86_64
–> Resolución de dependencias finalizada
Error: Paquete: proftpd-1.3.5e-3.el7.x86_64 (epel)
Necesita: libcrypto.so.10(OPENSSL_1.0.2)(64bit)
Error: Paquete: 2:mod_ssl-2.4.6-67.el7.centos.2.vm.x86_64 (virtualmin)
Necesita: libcrypto.so.10(OPENSSL_1.0.2)(64bit)

It seems it needs libcrypto.so.10(OPENSSL_1.0.2)(64bit), how can I fix it?.

Not sure how its missing in the first place. Did you try to manually install OpenSSL?

Solved issue installing manually following rpms:

openssl-1.0.2k-8.el7.x86_64.rpm
openssl-devel-1.0.2k-8.el7.x86_64.rpm
openssl-libs-1.0.2k-8.el7.x86_64.rpm

and later adding CentOS repo and updating more than 300 packages…

All up to date now, thanks for help!.

That is great, but how all those packages and repos went missing?

I only had Virtualmin and Epel repos and those didn´t have the CentOS base packages, so I added CentOS base repo and could update successfully.

Ok, then is great you manage to sort the problem.