Discussion:
Old release (6.2) install + preventing "yum update"
Nicolas C.
2015-03-28 12:07:27 UTC
Permalink
Hello,

I need to deploy 6 new RHEL servers and they all need to be in version
6.2. I can easily make a minimal install from the 6.2 DVD but how can I
prevent a "yum update" that would upgrade in the most current version
and allow "yum install" of 6.2 packages at the same time ?

I'm thinking of :

- making a minimal install
- registering the server on RHN
- copying the 6.2 DVD content and making it available on a internal
website (local repository)
- making a .repo file pointing to the local repository

In this scenario :

- Will a "yum install <package>" command install the version from the
6.2 local repository or RHN ?

- What would a "yum update" command do ?

I am aware of EUS but v6.2 isn't maintained in EUS anymore.

Thanks,

Nicolas
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Fran Garcia
2015-03-28 13:39:32 UTC
Permalink
Post by Nicolas C.
Hello,
I need to deploy 6 new RHEL servers and they all need to be in version 6.2.
I can easily make a minimal install from the 6.2 DVD but how can I prevent a
"yum update" that would upgrade in the most current version and allow "yum
install" of 6.2 packages at the same time ?
- making a minimal install
- registering the server on RHN
- copying the 6.2 DVD content and making it available on a internal website
(local repository)
- making a .repo file pointing to the local repository
Do as you mentioned, but just don't register the server on RHN... Why
do you need the servers in RHN?

f.
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Nicolas C.
2015-03-28 20:44:27 UTC
Permalink
Post by Fran Garcia
Post by Nicolas C.
I need to deploy 6 new RHEL servers and they all need to be in version 6.2.
I can easily make a minimal install from the 6.2 DVD but how can I prevent a
"yum update" that would upgrade in the most current version and allow "yum
install" of 6.2 packages at the same time ?
- making a minimal install
- registering the server on RHN
- copying the 6.2 DVD content and making it available on a internal website
(local repository)
- making a .repo file pointing to the local repository
Do as you mentioned, but just don't register the server on RHN... Why
do you need the servers in RHN?
I thought yum needed to validate the RHN status of the system even when
the repository is local.

On the long term, I will need the RHN registration anyway because in a
few months these 6.2 servers will be upgrated to 6.5 and then I will use
the EUS channel (to keep them in version 6.5).

Nicolas
--
redhat-list mailing list
unsubscribe mailto:redhat-list-***@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
Loading...