Re: What happened if install a el7 package on a el6 system

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxx>
> Sent Time: 2019-05-07 16:05:54 (Tuesday)
> To: centos@xxxxxxxxxx
> Cc: 
> Subject:  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@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux