Sponsored Content
Full Discussion: RHEL 4 up2date
Top Forums UNIX for Advanced & Expert Users RHEL 4 up2date Post 302255047 by flekzout on Wednesday 5th of November 2008 09:09:44 PM
Old 11-05-2008
oh so you suggesting me to download it from one server and copy that file and move it to other servers? ok..

I found the command

Install local packages solving and satisfying dependencies as needed
up2date -k <dir>[:<dir>...]

can someone explain it to me the meaning of <dir>[:<dir>...]

<dir> supposed to be the file directory path that I just downloaded right? but what about the [:<dir>...]

I did not understand that.. does it mean I need to specify the directory location where I'm gonna install those packages that I just downloaded?

Thanks.
 

10 More Discussions You Might Find Interesting

1. Linux

up2date -i package

Hi, I'm under Red Hat Enterprise Linux AS release 3 (Taroon) and I want to go from compat-gcc-7.3-2.96.122 to compat-gcc-7.3-2.96.128. Then I downloaded compat-gcc-7.3-2.96.128 and I issued : up2date -i compat-gcc But I receive : This system may not be updated until it is associated... (2 Replies)
Discussion started by: big123456
2 Replies

2. Red Hat

RHEL New UP2DATE Method

Does anyone else think RHEL's way of getting software updates to their customers (via the up2date utility) is not a friendly process? UP2DATE is fine to use, but it either has to be connected to the internet to get updates, or a "satellite server" has to be setup ( which ocsts more money). And... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

3. Emergency UNIX and Linux Support

Disable up2date --register during PXE install

Hi folks, I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either. Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and... (4 Replies)
Discussion started by: columb
4 Replies

4. Red Hat

Disable up2date --register during PXE install

Hi, I really hope someone can help me (soon :) ) as I can't work out what I'm doing wrong and google is not helpful either. Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and PXE. OS... (0 Replies)
Discussion started by: columb
0 Replies

5. Red Hat

Does RHEL 5 provide a command to collect RHEL system log in single compress file?

Hi, I heard a command that can collect all RHEL 5 log in a single compress file before I forget. Does any body know...What the command is ? Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies

6. Red Hat

up2date command not found on Ent. 6.2 install

Folks; New to redhat coming from hp-ux.. After fresh install of Ent 6.2, can not find up2date on the system except the manpage .. Does 6.2 stop using up2date ?? Googled it but nothing concrete came up.. Thnx (2 Replies)
Discussion started by: delphys
2 Replies

7. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

8. Red Hat

RHEL 6, Spacewalk 2.3 unable to download RHEL 5 repo data

Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies

9. UNIX for Dummies Questions & Answers

Windows->RHEL->RHEL X11 Forwarding?

I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies

10. Red Hat

Is it possible to install RHEL 7 on top of RHEL 6?

Hi We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 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 01:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy