LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-17-2020, 08:03 PM   #1
jusy
LQ Newbie
 
Registered: Nov 2020
Posts: 12

Rep: Reputation: Disabled
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?
 
Old 11-18-2020, 08:45 AM   #2
mauregato
LQ Newbie
 
Registered: Mar 2016
Distribution: Ubuntu,Fedora
Posts: 2

Rep: Reputation: Disabled
Hi,

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".
 
Old 11-18-2020, 09:02 AM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,733

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
I’m sorry...I don’t understand why you’re asking here instead of contacting red hat support...
 
1 members found this post helpful.
Old 11-18-2020, 10:56 AM   #4
jusy
LQ Newbie
 
Registered: Nov 2020
Posts: 12

Original Poster
Rep: Reputation: Disabled
so we can be sure by running yum update , and if we not get any errors then it is safety ?
 
Old 11-18-2020, 11:51 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jusy View Post
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.

Are you PAYING for RHEL?
 
Old 11-19-2020, 03:54 AM   #6
jusy
LQ Newbie
 
Registered: Nov 2020
Posts: 12

Original Poster
Rep: Reputation: Disabled
first we are not supported by redhat

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
 
Old 11-19-2020, 08:56 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,675

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by jusy View Post
first we are not supported by redhat
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??
 
1 members found this post helpful.
Old 11-19-2020, 05:05 PM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,733

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
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...
 
Old 12-04-2020, 05:10 AM   #9
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally Posted by mauregato View Post
Hi,

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.
 
  


Reply

Tags
repositiries, rhel upgrade leapp redhat, rhel7, rpms, yum



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipv6 newbie. is ipv6 configurable by an individual? or ipv4 still best for individual debguy Linux - Networking 1 10-26-2015 01:40 PM
[SOLVED] how to write a batch file in linux?and what are batch(.bat) file benefits? karthilin Linux - Newbie 8 10-15-2012 02:10 PM
For loop to delete all RPMS except for RPMS on the list. keysorsoze Linux - Newbie 5 05-20-2008 03:42 PM
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration