Sponsored Content
Full Discussion: Update Red Hat using rpm
Operating Systems Linux Red Hat Update Red Hat using rpm Post 302940363 by fpmurphy on Friday 3rd of April 2015 11:08:20 PM
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.
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
UP2DATE(8)						    Red Hat Linux System Manual 						UP2DATE(8)

NAME
Update Agent - a program for updating packages on Red Hat Linux SYNOPSIS
up2date [OPTION]... [PACKAGE NAME]... up2date-nox [OPTION]... [PACKAGE NAME]... DESCRIPTION
Update Agent provides a complete system for updating the RPM packages installed on a Red Hat Linux system. Both command line and graphical interfaces are included. When you run Update Agent, you will be prompted for the computer's root password. This is because Update Agent needs read/write access to the RPM database, and it needs to be able to install packages when so requested. It also needs read/write access to the up2date systemid file in /etc/sysconfig/rhn/systemid , and it's configuration in /etc/sysconfig/rhn/up2date Update Agent has a quite a few configuration options, including but not limited to: installing packages after they are downloaded; down- loading source RPMs along with binary RPMs; whether or not to upgrade packages where the default configuration file(s) have been modified, and more. You can change these settings through a graphical interface by running up2date-config, or you can edit the configuration file /etc/sysconfig/rhn/up2date directly. A number of the command line arguments described below can also be used at runtime to override con- figuration options. There is also a text mode based configuration if invoked with with the --configure option. If you supply package names on the command line, those particular packages will be updated or installed if there are new versions avail- able. Only the package name is needed, do not supply any version or release information. If the package is not currently installed, it will be downloaded and installed, along with any dependencies that package requires. --configure Configure Update Agent options. This will allow you to adjust things such as which files/packages to skip by default, where to store retrieved packages, and more. --register Register a system with Red Hat Network. This is mainly useful for reregistering a system, as up2date will automatically invoke this mode if the current system isnt registered. -d, --download Download packages only, do not install them. This option is provided so that you can override the configuration option "Do not install packages after retrieval." It is mutually exclusive with the --install option. --nodownload Do not download packages at all. This is for testing purposes. -f, --force Force package installation. This option is provided so that you can override the file, package and configuration skip lists. -i, --install Install packages after they are downloaded. This option is provided so that you can override the configuration option "Do not install packages after retrieval.". It is mutually exlusive with the the --download option. -l, --list Output a list of packages which have been updated and available for retrieval/installation. --dry-run Output a list of packages available for updates, and all the deps they need, including obsoletes. --showall Show a list of all packages available from the channels the system is currently subscribed to, including those not currently installed. -k, --packagedir Specify a colon seperated path of directories to look for packages before attempting to download them. --nosig Do not use GPG to check package signatures (overrides configuration option). --src Download source rpms as well as binary rpms. --nosrc Do not download source package (overrides configuration option). -p, --packages Update the packages associated with this System Profile on Red Hat Network. Useful if you have installed, updated, or removed pack- ages without Update Agent, and your package list has become unsynchronized with your remote Profile. --whatprovides=<deps> Queries the RHN servers to resolve the comma seperated list of dependencies. It will return a list of packages that will satisfy these deps. --solvedeps=<deps> Queries the RHN servers to resolve the comma seperated list of dependencies. Essentially the same as --whatprovides except it will also download and install the packages that are needed to resolve the dependencies. --show-channels Show the channels associated with a package where approriate. If used alone, it shows the currently subscribed channels. If used with --showall or --whatprovides it will show channels as well as package names. --installall Used in combo with --channel to install all the packages from a given channel. --show-orphans List all packages currently installed that are not present in channels the server is subscribed to. --show-available List all packages available in the channels the server is subscribed to, but are not currently installed. --channel Specify a specific channel. Used in combo with --installall. --list-rollbacks Shows all currently available rpm rollbacks. --tmpdir=<directory> allows you to override the configured package/temporary file storage directory. This can be useful if you are about to download a lot of packages but you do not have enough space to store them in the default location. --serverURL=<url> Specify what server url to use. --gpg-flags Shows the flags that gpg will be invoked with (the keyring, the home directory, etc). Intentend for useage in scripts that want to invoke gpg the same way up2date does. -u, --update Completely update the system. All relevant packages will be downloaded (and possibly installed, if you have configured Update Agent to do so). --nox do not even attempt to display the gui. -h, --help display help on command line arguments and exit. -v, --verbose print more information about what Update Agent is doing. --justdb only add packages to the database,do not install them to the filesystem. --dbpath Specify a path where an alternat rpm database to use is found. --version output version information and exit. RETURN CODES
Update Agent returns 0 on success, 1 on error. FILES
/etc/sysconfig/rhn/up2date Configuration settings for Update Agent. /etc/sysconfig/rhn/systemid Unique system identification certificate for Red Hat Network. /etc/sysconfig/rhn/up2date-keyring.gpg The default keyring used specificaly for up2date, if used with versions of rpm that support it (rpm-4.0.4 or higher) /var/spool/up2date The spool directory where rpm stores package lists, package headers and packages. /var/spool/repackage The spool directory where rpm/up2date stores rollback rpms. /var/log/up2date This is the log file for up2date. /usr/share/rhn/RHNS-CA-CERT The ssl certificate authority file used by up2date to validate the Red Hat Network ssl servers. /usr/share/rhn/RPM-GPG-KEY A copy of the Red Hat, Inc rpm package signing key. This is the gpg key that can be used to verify a package is signed by Red Hat, Inc. EXAMPLES
The following example starts up the interactive gui client. up2date The following example shows up2date being used in non-interactive batch mode. up2date -u This example shows up2date being used to discover which packages solve a set of deps manually on a Red Hat Linux 7.0 machine. up2date --whatprovides "/bin/bash,gimp,libhistory.so.4.1" bash-2.04-11 readline-4.1-5 gimp-1.1.25-1 This example shows how to start up the text based config tool. up2date --nox --configure This example shows how to use up2date to install a package with many deps that isnt currently installed. up2date kdebase This example shows how to install all the packages from the channel foobar-1.0-i386 up2date --installall --channel foobar-1.0-i386 This example shows how to list all the currently installed packages that are not part of channels the system is currently subscribed to. up2date --show-orphans SEE ALSO
Configuration is performed through up2date-config. The Update Agent is tightly coupled with Red Hat Network. Visit <http://rhn.red- hat.com> for access or to sign up. AUTHORS
Written by Preston Brown <pbrown@redhat.com>, Cristian Gafton <gafton@redhat.com>, and Adrian Likins <alikins@redhat.com> REPORTING BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2002 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. 4th Berkeley Distribution Wed 29 November 2000 UP2DATE(8)
All times are GMT -4. The time now is 03:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy