Update Red Hat using rpm

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Update Red Hat using rpm
# 1  
Old 04-02-2015
Update Red Hat using rpm

Hi to all, I am new in Linux systems so im trying to get familiar with certain procedures. I want to update a Linux machine but i cannot use subscription manager so i want to do it using the
Code:
 rpm

command. How is it possible to see what packages need to be updated? Do i have to check the installed packages one by one to see if there is a new version available? Thank you in advance
# 2  
Old 04-02-2015
Use CentOS, "Scientific Linux" or get a Subscription.
Then run as root:
Code:
yum update

Maybe (untested) you could use 'their' repo files for your RHEL (w/o sub) installation.

hth
# 3  
Old 04-03-2015
yes actually the problem is that i cannot use subscription manager for this server. this is what i was told by our security department which did the configuration on the firewall for this server. i use subscription manager for other servers but they said that particularly for this server this cannot be done. you mean that there is a repo in RHEL website that contains all update packages for a specific version? i will check about it.
# 4  
Old 04-03-2015
If you have RHEL contract for at least one server, you should be able to download and create local repositories and update from it.

Other then that you should convince security folks to allow internet just for update or you can create a proxy just for update (you should notify folks you will be using proxy).
# 5  
Old 04-03-2015
it was suggested to me to create a virtual "dummy" server, install the same Red Hat version that i have on the machine that i want to update and then i could use the subscription manager to download only the packages that are needed for the update. then i can send these packages to the server and install them. i found also a similar procedure on Red Hat website. here is the link: https://access.redhat.com/solutions/45956 you need to have a Red Hat account in order to see it.

Last edited by fpmurphy; 04-04-2015 at 12:00 AM.. Reason: correction
# 6  
Old 04-04-2015
Quote:
Originally Posted by omonoiatis9
it was suggested to me to create a virtual "dummy" server, install the same Red Hat version that i have on the machine that i want to update and then i could use the subscription manager to download only the packages that are needed for the update. then i can send these packages to the server and install them. i found also a similar procedure on Red Hat website. here is the link: https://access.redhat.com/solutions/45956 you need to have a Red Hat account in order to see it.
I have used a method very similar to that documented in the RH Knowledgebase article for an airgap'ed system. It works - provided you are very very careful in keeping track of all the various RPMs. Can be a lot of work.
# 7  
Old 04-04-2015
yes i think that it can be a lot of work too.
but i dont know how long it will take for the server to have access to internet so i should try to update it until the problem is fixed.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ?

how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies

2. Red Hat

Does Red hat linux 9 has audit rpm package?

Dear All I have a old system run in Red hat Linux 9.. And if it's possible, I want to install the audit rpm package in the Red hat Linux 9. But I can't find the audit-*.rpm file in the Red hat Linux 9's CD..? Can any help me to conform Red hat Linux 9 doesn't support audit? Any... (0 Replies)
Discussion started by: nnnnnnine
0 Replies

3. Linux

How to locate wwpn on Red Hat Enterprise Linux AS release 3 (Taroon Update 7)

I am trying to find out the wwpn on a linux server. I tried using the the commands `datapath query wwpn` and `pcmpath query essmap`. Both of them didnt give me any output. Please check below. # pcmpath query essmap -bash: pcmpath: command not found # datapath query wwpn -bash: datapath:... (6 Replies)
Discussion started by: gurasalak
6 Replies

4. Shell Programming and Scripting

Using "sed" to update RECURSIVELY a value within a directory in a Red Hat Machine

Hi All, I spent the whole morning trying to create a shell script ( using "sed" command ) that looks for a value in a directory and its sub directory than changes it with another value but couldn't find the way :( a first step, allowded me to trace all the files that contain it and even... (2 Replies)
Discussion started by: mehdi1973
2 Replies

5. Red Hat

Red Hat E 3

I'm am working with a Red Hat Enterprise 3 server. This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's. Does anyone know if how I would go about finding... (0 Replies)
Discussion started by: chrisPlusPlus
0 Replies

6. Red Hat

Update Red Hat linux from 4.5 to 5.2.. Please help..

Hi! I have a Red Hat linux 4.5, and need to update it to 5.2. Can someone please help me in the steps that I need to perform. Thanks a lot!! nua7 (3 Replies)
Discussion started by: nua7
3 Replies

7. UNIX for Dummies Questions & Answers

Red Hat 9 help

please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies

8. Linux

Red Hat?

I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies

9. Linux

Red Hat RPM problem

I have my system setup different then the conventional setup: # df -h Filesystem Size Used Avail Use% Mounted on /dev/hdc2 2.0G 977M 936M 52% / /dev/hdc1 97M 9.0M 83M 10% /boot none 251M 0 251M 0% /dev/shm So when I try... (2 Replies)
Discussion started by: jasonr
2 Replies
Login or Register to Ask a Question