Reproduce steps:
1. Prepare a CentOS 6.3 system on a VM (make sure grubby-7.0.15-3.el6.x86_64 has been installed) 2. Download kernel-3.10.0-327.el7.x86_64.rpm from http://vault.centos.org/ 3. 3.1 Create a symlink with "ln -s /sbin/new-kernel-pkg /usr/sbin/new-kernel-pkg" 3.2 Install kernel-3.10.0-327.el7.x86_64.rpm with "rpm -i --force --nodeps" 4. Reboot
Then we'll see the system boot and running as normal. And /etc/grub.conf updated automatically.
-----Original Messages----- From: wuzhouhui wuzhouhui14@mails.ucas.ac.cn Sent Time: 2019-05-07 16:05:54 (Tuesday) To: centos@centos.org Cc: Subject: [CentOS] What happened if install a el7 package on a el6 system
Hi,
Recently, I encountered a interesting phenomenon that CentOS 6.3 running as normal even if I (my colleague, actually) installed a kernel that build for CentOS 7.x (e.g. kernel-3.10.0-327.el7.x86_64.rpm).
I found kernel is mismatch accidentally when I using "uname -r" to check kernel version. So my question is what the harmness we will get if I install a el7 rpm into a el6 system?
Thanks. _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos