[CentOS-devel] moving the CR repo into mainstream release

Gianluca Cecchi gianluca.cecchi at gmail.com
Wed Nov 23 10:39:18 EST 2011


On Wed, Nov 23, 2011 at 3:28 PM, Leon Fauster wrote:
> - your scenario would end up in a 6.2 system.
>
> - the description "mixed" misdescribes the actual process

>
> the point is - that this "mixed" combination is a valid one (validated by upstream).
>
>
> if the are any dependencies - the "requires/provides" internals of the package system
> will push the necessary packages.

Hi Leon,
actually I have not understood if you agreed with me or not (a part
the vote... ;-)
This is what I mean with "mixed environment" and what I tested
(considered 5.6 --> 5.7 instead of 6.1 --> 6.2)

- install base system from rh 5.6 x86_64 dvd iso
[root at rh56 ~]# uname -r
2.6.18-238.el5

[root at rh56 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)

- register the server with rhn

- update some packages
[root at rh56 ~]# yum update yum
...
Updated:
  yum.noarch 0:3.2.22-37.el5

Complete!

[root at rh56 ~]# yum update glibc
...
Updated:
  glibc.i686 0:2.5-65                                     glibc.x86_64
0:2.5-65

Dependency Updated:
  glibc-common.x86_64 0:2.5-65 glibc-devel.i386 0:2.5-65
glibc-devel.x86_64 0:2.5-65 glibc-headers.x86_64 0:2.5-65
  nscd.x86_64 0:2.5-65

Complete!

[root at rh56 ~]# yum update kernel
...
Installed:
  kernel.x86_64 0:2.6.18-274.7.1.el5

Complete!

[root at rh56 ~]# yum update redhat-release
...
Updated:
  redhat-release.x86_64 0:5Server-5.7.0.3

[root at rh56 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

- reboot
[root at rh56 ~]# uname -r
2.6.18-274.7.1.el5

[root at rh56 ~]# rpm -qa|wc -l
442

So, after a pure rh e 5.6 install l I then directly updated 10
packages from rh el 5.7+updates bandwagon...
While the other 432 packages remained as stock rh el 5.6 original dvd

This is what I call a mixed environment....
Note that if I run
[root at rh56 ~]# yum update
I'm proposed this:
...
Transaction Summary
=======================
Install       1 Package(s)
Upgrade     140 Package(s)

Total download size: 116 M
Is this ok [y/N]: Exiting on user Command
Complete!

Is this supported by upstream? I think so.
And the same process would be with CentOS supposing they provided in
CR repo the 10 packages above (actually 9, considering redhat-release
that doesn't carry on any dependencies btw....)

Hope that this explains better my point about mixed-environment, and
the final system not being a 5.7 installation...

Gianluca


More information about the CentOS-devel mailing list