rhel + upgrade individual rpm's from rhel 7.1 to rhel 7.7 or batch upgrade of rpms
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
rhel + upgrade individual rpm's from rhel 7.1 to rhel 7.7 or batch upgrade of rpms
We have rhel 7.1 version server , with local repositories of rhel 7.1 ( with rpms’ from rhel 7.1 )
We want to replace the local repository with rpm’s of rhel 7.7
so we intend to Remove the local repo of 7.1 as
rm -rf /var/RHEL7.1
and create new repo for 7.7 as
mkdir /var/RHEL7.7
and push to `/var/RHEL7.7/Packages` all rpm’s that related to rhel 7.7
and replace the repo conf as
Example
/etc/yum.repo.d/rhel7.1.repo
To
/etc/yum.repo.d/rhel7.7.repo
So every `yum install`or `yum update` , will point to the repository of rpms from rhel 7.7 ( `/etc/yum.repo.d/rhel7.7` )
We not sure if we can upgrade each rpm from rhel 7.1 to rhel 7.7 , so I want to ask the forum here , if this is possible and update of every rpm from rhel 7.1 to 7.7 can be done without problem
so dose upgrade of individual rpm's from rhel 7.1 to rhel 7.6 or batch of rpm cam be risk or with conflict?
so we can be sure by running yum update , and if we not get any errors then it is safety ?
Contact Red Hat support for the best advice on what you're attempting to do. They have complete knowledegbase articles on creating/updating local yum repositories, which you have access to as a paying customer.
Then why are you using RHEL?? You *DO NOT* get package updates/bugfixes/security fixes unless you are. No point using RHEL unless you pay for support...better off using CentOS.
Quote:
I don't think this question is so complicated
what we are asking if we can do upgrade from rhel 7.1 to rhel 7.7 that all as I understand upgrade with 7.x level isnt problem , its not like you upgrade from rhel 7.1 to 8.0
Should be less complicated for someone who has already installed RHEL, built their own local repository, etc., so why do you ask? You don't upgrade a system by just replacing one repository with another...you run the system upgrade from the installation media, which upgrades a LOT of different things. From there, you keep up to date with a local repository. Again: Red Hat's knowledgebase and support have extensive documents on how to do what you need. Contact Red Hat.
And to reiterate, unless you PAY FOR RED HAT ENTERPRISE, you shouldn't be using it; you gain NOTHING over CentOS, and in fact, your system will only be unstable and harder to manage, since you won't get any bugfixes, patches, updates, or security releases unless you DO pay for/subscribe. And loading RHEL 7.7 is pointless as well...if you're going to upgrade your systems, why would you not load the latest release, so you can stay current and supported longer??
In addition to what TB0ne has said, it should be noted that the current 7.x release is 7.9, not 7.7.
But, as has been pointed out, if you’re not payin for support, you probably can’t update anything...
It's possible to do, check the summary of "yum update", and if there is no error, confirm. You can always undo the update with yum history undo "ID".
No.
The rpms that are tied to RHEL 7.1 are only designed to be ran with RHEL 7.1, not RHEL 7.7 and vice versa. So dumping all of the RPMs from RHEL 7.7 on a RHEL 7.1 server and trying to upgrade from a local repo isn't going to work. Been there, done that, and got that t-shirt.
Your options are to either setup a RH Satellite, or reposync or Red Hat Subscription Network to upgrade and that requires to have an active subscription with Red Hat, which means to pay money.
OR
Just setup a new RHEL 7.7 and migrate data and tweek software so it works with that release.
Last edited by JockVSJock; 12-04-2020 at 11:30 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.