background image

Section 4.5:Command Line Version of Red Hat Update Agent

43

Table 4–2

Update Agent Command Line Arguments

Argument

Description

--configure

Configure

Red Hat Update Agent

options. This is equivalent

to running the

Red Hat Update Agent Configuration Tool

(

up2date-config

). To run the command line version of

up2date-config

, use this option in conjunction with the

--nox

option:

up2date --nox --configure

. Refer to

Section 3.5, Command Line Version of

Red Hat Update Agent

Configuration Tool

for details.

-d, --download

Download packages only, do not install them. This argument
will override the configuraton option

Do not install packages

after retrieval.

-f, --force

Force package installation. This option overrides the file,
package, and configuration skip lists.

-i, --install

Install packages after they are downloaded. This argument will
override the configuraton option

Do not install packages after

retrieval.

-l, --list

Display the list of updated packages that are available for the
system.

--showall

Show a list of all packages available for your release of Red Hat
Linux, including those not currently installed.

-k, --packagedir

Specify a colon separated path of directories to look for packages
before trying to download them.

--nosig

Do not use GPG to check package signatures. This option will
override the saved configuration option.

-p, --packages

Update the packages associated with your System Profile on
Red Hat Network. Use this option if you install RPM packages
without using the

Red Hat Update Agent

.

--whatprovides=<deps>

Sends a comma separated list of dependencies to the RHN servers
and returns a list of packages that satisfies the dependencies.

--solvesdeps=<deps>

Performs the same action as --whatprovides in addition to
downloading the packages that are needed to resolve the
dependencies.

Содержание LINUX ADVANCED SERVER 2.1 -

Страница 1: ...Red Hat Network User Reference Guide 2 1...

Страница 2: ...Hat Shadow Man logo RPM Maximum RPM the RPM logo Linux Library PowerTools Linux Undercover RHmember RHmember More Rough Cuts Rawhide and all Red Hat based trademarks and logos are trademarks or regis...

Страница 3: ...etwork Registration Client 16 2 3 Registering a User Account 18 2 4 Registering a System Profile 21 2 5 Finishing Registration 25 2 6 Text Mode RHN Registration Client 27 Chapter 3 Red Hat Update Agen...

Страница 4: ...49 5 1 Logging into Software Manager 49 5 2 Viewing Your Notifications 50 5 3 Adding a System Profile 51 5 4 Viewing Your Network Group 52 5 5 Viewing Individual System Pages 55 5 6 Customizing Prefe...

Страница 5: ...represented in different fonts typefaces sizes and weights This highlighting is systematic different words are represented in the same style to indicate their inclusion in a specific category The type...

Страница 6: ...s style When you see text shown in this style it is being used to identify a particular GUI screen or an element on a GUI screen e g text associated with a checkbox or field Examples On the GNOME Cont...

Страница 7: ...hat it is ready for you to input something will be shown in this style Examples stephen maturin stephen leopard login user input Text that the user has to type either on the command line or into a tex...

Страница 8: ...ine tasks as root use a regular user account unless you need to use the root account to administer your system WARNING If you choose not to partition manually a server class installation will remove a...

Страница 9: ...Section 0 2 More to Come ix rhn feedback redhat com...

Страница 10: ...x Introduction...

Страница 11: ...ts can be downloaded directly from Red Hat You can even have updates automatically delivered directly to your system as soon as they are released The three main components of Red Hat Network are as fo...

Страница 12: ...t is issued for your system RPM Updates automatic delivery of packages with optional automatic installation Red Hat Update Agent use the Red Hat Update Agent to download the lastest software packages...

Страница 13: ...tions are encrypted using a Secure Sockets Layer SSL connection 5 All packages are tested and verified by the Red Hat Quality Assurance Team before they are added to the Red Hat errata list and Red Ha...

Страница 14: ...rovides the Red Hat Update Agent command line version and the Red Hat Network Daemon up2date gnome Provides the GNOME interface graphical version for the Red Hat Update Agent runs if the X Window Syst...

Страница 15: ...s and their current values 0 noSSLServerURL http www rhns redhat com XMLRPC 1 enableProxy No 2 httpProxy 3 serverURL https www rhns redhat com XMLRPC 4 debug No Enter number of item to edit return to...

Страница 16: ...term or gnome terminal 4 If you are not running the X Window System type the command rhn_register at a virtual console or remote terminal Please refer to Section 2 6 Text Mode RHN Registration Client...

Страница 17: ...Screen Red Hat is committed to protecting your privacy see Figure 2 3 Red Hat Privacy Statement The information gathered during the Red Hat Network Registration process is used to create a System Pro...

Страница 18: ...ress In the screen shown in Figure 2 6 Create a Unique User Name and Password you must choose a user name and password Once logged into Red Hat Network you can to modify your preferences view your exi...

Страница 19: ...ers long Are case insentitive Can not contain any spaces Can not contain any tabs Can not contain any line feeds Can not contain the characters or If you have already registered your system and try to...

Страница 20: ...m Profile and you can log into Red Hat Network with your user name and password to view all your systems simultaneously You can register one free system with Red Hat Network Software Manager To regist...

Страница 21: ...anged at any time Email notifi cations are only available for systems subscribed to the Software Manager service Click Next to continue 2 4 Registering a System Profile Now that you have a user accoun...

Страница 22: ...ostname for the system You may modify this to be a more descriptive string such as Email Server for Support Team if you find it more helpful Optionally you can enter a computer serial or identificatio...

Страница 23: ...ecting packages Gathering RPM Database Information Only those packages you choose during this part of the registration will be included in in your System Profile and you will only receive notification...

Страница 24: ...System Profile will omit this information from your System Profile Figure 2 9 RPM Package Information Choosing Which RPM Packages to Exclude from the System Profile By default all RPM packages in your...

Страница 25: ...inue with the regis tration process Figure 2 10 Choose which RPM Packages to Exclude from System Profile 2 5 Finishing Registration As seen in Figure 2 11 Finished Collecting Information for System Pr...

Страница 26: ...his process may take some time depending on your connection speed Figure 2 12 Send System Profile to Red Hat Network You will know your System Profile has been successfully sent when you see the Regis...

Страница 27: ...ed Hat Network Registration Client are almost identical to the screens for the graphical version of Red Hat Network Registration Client Some of the text in the text mode version is more concise due to...

Страница 28: ...28 Chapter 2 Red Hat Network Registration Client Figure 2 14 Text Mode Welcome Screen...

Страница 29: ...one of the following methods On the GNOME desktop go to the Main Menu Button on the Panel Programs System Update Agent Configuration On the KDE desktop go to the Main Menu Button on the Panel Red Hat...

Страница 30: ...rieval Installation tab allows you to customize your software package retrieval and package installation preferences Note Even if you set the Red Hat Update Agent to install the packages automati call...

Страница 31: ...een modified for a package such as Apache and Squid do not display them in the list of available packages Retrieve source RPM along with binary package download both the source src rpm and the binary...

Страница 32: ...set of packages to be excluded according to the package name click the Add button next to the Package Names to Skip section and enter a character string including wild cards A wild card at the end of...

Страница 33: ...as the graphical version It allows you to configure the settings used by the Red Hat Update Agent and store them in the configuration file etc sysconfig rhn up2date To run the command line version of...

Страница 34: ...ystemIdPath etc sysconfig rhn systemid 17 serverURL https www rhns redhat com XMLRPC 18 pkgSkipList kernel 19 adminAddress root localhost 20 forceInstall No 21 fileSkipList 22 retrieveSource No Enter...

Страница 35: ...pdate Agent as a standard user you will be prompted to enter the root password before proceeding The Red Hat Update Agent can be started using one of the following methods On the GNOME desktop go to t...

Страница 36: ...l up2date This option is useful if you do not have enough space in the configured location justdb Only add packages to the database and do not install them dbpath Specify a path where an alternate RPM...

Страница 37: ...nection to Red Hat Network is being established and that your customized list of updates is being retreived This might take some time depending on the speed of your connection and the number of packag...

Страница 38: ...f available updated packages is displayed as shown in Figure 4 5 List of Available Updates Figure 4 5 List of Available Updates By default no packages are selected for download If you highlight each p...

Страница 39: ...when you are finished selecting packages Figure 4 6 View Advisory After choosing which packages to update the Red Hat Update Agent tests for RPM dependencies and prompt you if you have chosen to omit...

Страница 40: ...eval Finished 4 3 Installing Updated Packages After downloading the packages through the Red Hat Update Agent they must be installed If you chose not to have the packages installed automatically skip...

Страница 41: ...shed 4 4 Update Agent Finished When the Red Hat Update Agent has finished downloading the desired packages and installing them if you chose the install option you will see the screen in Figure 4 10 Up...

Страница 42: ...ot running X you can still run the Red Hat Update Agent from a virtual console or remote terminal If you are running X but want to use the command line version you can force it not to display the grap...

Страница 43: ...e downloaded This argument will override the configuraton option Do not install packages after retrieval l list Display the list of updated packages that are available for the system showall Show a li...

Страница 44: ...nly specify the package name Do not include the version or release numbers For example the command up2date python downloads and optionally installs the python package if there is a newer version avail...

Страница 45: ...http www redhat com about contact Type bits keyID Date User ID pub 1024D DB42A60E 1999 09 23 Red Hat Software Inc security redhat com sub 2048g 961630A2 1999 09 23 BEGIN PGP PUBLIC KEY BLOCK Version...

Страница 46: ...at as well as your own keys 4 6 Manual Package Installation If you chose to download the software updates with the Red Hat Update Agent over the Web through Software Manager or have RPM Updates delive...

Страница 47: ...log method Thus older logs are in var log up2date 1 var log up2date 2 and var log up2date 3 The log files storeactions performed by the Red Hat Update Agent such as when your RPM database is opened w...

Страница 48: ...48 Chapter 4 Red Hat Update Agent...

Страница 49: ...ws you to generate custom reports detailing the health and se curity of your Network Group 3 System administrators can quickly determine if their systems require updating and what type of updates are...

Страница 50: ...s page displays all Security Alerts Bug Fixes Alerts and Enhancements Alerts collectively referred to as Errata Alerts for all registered systems in your network group see Figure 5 2 Main Page Click t...

Страница 51: ...This method only allows you to define a system name choose your system architecture and choose whether or not to include hardware and software information in your system profile After saving a Digita...

Страница 52: ...will not appear in your network group immediately The next time the daemon connects to Red Hat Network it will send the information necessary to generate a system profile and the system will appear i...

Страница 53: ...are Manager add the system and create a System Profile for it and then click the upgrade link under the Service Level column for the new system This will take you to the Assign Service Levels page Ref...

Страница 54: ...port that you want to view The Errata Report page gives you a quick summary of the issues tells you which of your systems are affected and how many packages are included in the update To view the name...

Страница 55: ...you can buy additional Software Manager subscriptions upgrade existing System Profiles with no service to service with Software Manager or downgrade a system from Red Hat Network Software Manager to n...

Страница 56: ...system yet the Package view will be empty The Hardware Profile tab lists the hardware devices and settings for the currently selected system This information assists the Red Hat Technical Support Tea...

Страница 57: ...ystems see Figure 5 5 Visual Alerts Figure 5 5 Visual Alerts 5 6 2 General Preferences Click on the General tab to customize the date time format to use your session timeout value and your session sec...

Страница 58: ...Page Under Favorite Guides and Favorite Forums on the Preferences page choose which guides amd forums you want to appear in this list Click the Update button at the bottom of the page to apply the ch...

Страница 59: ...rch Errata Alerts 5 8 Viewing Online Help In addition to this User Reference Guide the following help is available by clicking the Help Desk button on the top navigation bar Security and Privacy state...

Страница 60: ...60 Chapter 5 Software Manager...

Страница 61: ...s one hour 60 minutes If you set the interval below one hour it will default to two hours 120 minutes You can view the status of the rhnsd by typing the command service rhnsd status or etc rc d init d...

Страница 62: ...62 Chapter 6 Red Hat Network Daemon...

Страница 63: ...xecute the command cd rhnpackages to change to the new direc tory 3 In a Web browser download the necessary packages from http www redhat com network ser vice rhl_62 html 4 Go back to the shell prompt...

Страница 64: ...64 Chapter 7 Using Red Hat Network with Red Hat Linux 6 2...

Страница 65: ...urchase Red Hat Network Software Manager subscriptions A Go to http www redhat com network purchase for instructions Q Can I cancel my Red Hat Network Software Manager subscriptions A To cancel your S...

Страница 66: ...address If this does not work for you please call our customer service desk Q Will Red Hat Network update packages that were not installed with the Red Hat distribution A No Red Hat Network currently...

Страница 67: ...nt return the error No Route to Host A The system you are running it on is not connected to the Internet or the system is attempting to access Red Hat Network through a proxy server Proxy server setti...

Страница 68: ...68 Chapter 8 Frequently Asked Questions...

Страница 69: ...r with Red Hat Network Registration Client 15 with Red Hat Update Agent 29 Q Quality Assurance 12 R Red Hat Linux 6 2 Using Red Hat Network with 63 Red Hat Network Daemon 11 61 Disable 61 Status 61 Re...

Страница 70: ...8 Secure Sockets Layer 13 Security 12 Software Manager 12 20 Logging In 49 System Detail 55 System Profile 21 Updating on Server 46 Systems Overview 53 U up2date See Red Hat Update Agent user account...

Отзывы: