How to install a specific 7.4 kernel

General support questions
Post Reply
cknowlto
Posts: 7
Joined: 2017/12/14 16:57:17

How to install a specific 7.4 kernel

Post by cknowlto » 2018/05/18 17:47:45

Rather than start a possibly repetitive post, I will build on this thread [Moderator: split into its own thread as it's sufficiently different, those wanting to read the original can find it https://www.centos.org/forums/viewtopic ... 47&t=67081 ]

I have issues with the latest patch level for 3.10.0.

I can no longer build my version control system against the kernel.

I need to be able to install 3.10.0-693* on these systems so that they can keep working until the vendor releases a patch for the new CentOS kernel.

Unfortunately this command returns nothing:

[root@somepc scmt]# yum list kernel-3.10.0-693*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.es.its.nyu.edu
* epel: epel.mirror.constant.com
* extras: mirrors.greenmountainaccess.net
* updates: mirror.vcu.edu
Error: No matching Packages to list

What repository do I need to add to get to this kernel?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: How to install a specific kernel

Post by TrevorH » 2018/05/18 18:00:08

Currently there is no repo that contains the 7.4 packages.

In a few days or so, the content for 7.4 will be moved off the mirror network and onto vault.centos.org and once that happens, you should already have a repo defined in /etc/yum.repos.d/CentOS-Vault.repo called C7.4.1708-{base,updates} and it would be a matter of enabling those (and possibly overriding any yum priorities you may have defined). Until that move to vault occurs, the 7.4 packages should still be available from your local mirror but they will be in a '7.4.1708' directory that is not currently referenced by any repo file that we provide.

If this is a system that was updated from 7.4 to 7.5 then you should already have the old 7.4 kernel(s) installed unless you specifically removed them. Kernel packages are always installed in parallel and only removed when the installonly_limit= from yum.conf is reached or when they are removed via package-cleanup --oldkernels --count N or specifically using rpm -e or yum remove.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

cknowlto
Posts: 7
Joined: 2017/12/14 16:57:17

Re: How to install a specific 7.4 kernel

Post by cknowlto » 2018/05/21 13:36:37

Is there any way to speed up getting tho older kernels into the repositories?

This kernel release broke anyone using ClearCase, and HCL is not planning on releasing a fix for another two months.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: How to install a specific 7.4 kernel

Post by avij » 2018/05/21 13:41:33

Grabbing the kernels from http://mirror.centos.org/centos/7.4.170 ... /Packages/ is not an option for you?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: How to install a specific 7.4 kernel

Post by avij » 2018/05/24 14:57:48

7.4.1708 has now been moved to vault, so TrevorH's suggestion of enabling the respective vault repo should work now.

Post Reply