Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

redhat-upgrade-tool(8) [centos man page]

REDHAT-UPGRADE-TOOL(8)					  redhat-upgrade-tool User Manual				    REDHAT-UPGRADE-TOOL(8)

NAME
redhat-upgrade-tool - Red Hat Upgrade tool SYNOPSIS
redhat-upgrade-tool [OPTIONS] SOURCE DESCRIPTION
redhat-upgrade-tool is the Red Hat Upgrade tool. The redhat-upgrade-tool client runs on the system to be upgraded. It determines what packages are needed for upgrade and gathers them from the source(s) given. It also fetches and sets up the boot images needed to run the upgrade and sets up the system to perform the upgrade at next boot. The actual upgrade takes place when the system is rebooted, using the boot images set up by redhat-upgrade-tool. The upgrade initrd starts the existing system (mostly) as normal, lets it mount all the local filesystems, then starts the upgrade. When the upgrade finishes, it reboots the system into the newly-upgraded OS. OPTIONS
Optional arguments -h, --help Show a help message and exit. -v, --verbose Print more info. -d, --debug Print lots of debugging info. --debuglog DEBUGLOG Write debugging output to the given file. Defaults to /var/log/redhat-upgrade-tool.log. --reboot Automatically reboot to start the upgrade when ready. SOURCE These options tell redhat-upgrade-tool where to look for the packages and boot images needed to run the upgrade. At least one of these options is required. --device [DEV] Device or mountpoint of mounted install media. If DEV is omitted, redhat-upgrade-tool will scan all currently-mounted removable devices (USB disks, optical media, etc.) --iso ISO Installation image file. --network VERSION Online repos matching VERSION (a number or "rawhide") Multiple sources may be used, if desired. Additional options for --network --enablerepo REPOID Enable one or more repos (wildcards allowed). --disablerepo REPOID Disable one or more repos (wildcards allowed). --addrepo REPOID=[@]URL Add the repo at URL. Prefix URL with @ to indicate that the URL is a mirrorlist. --instrepo REPOID Get upgrader boot images from the repo named REPOID. The repo must contain a valid .treeinfo file which points to the location of usable kernel and upgrade images. Cleanup commands --resetbootloader Remove any modifications made to bootloader configuration. --clean Clean up everything written by redhat-upgrade-tool. EXAMPLES
redhat-upgrade-tool --network 7.0 --instrepo <repo URL> Upgrade to RHEL 7.0 by downloading all needed packages and data from the specified repository. redhat-upgrade-tool --device --network 7.0 Upgrade to RHEL 7.0 using install media mounted somewhere on the system, fetching updates from the network if needed. EXIT STATUS
0 Success. 1 Cancelled by user, failure writing files to disk, or other unknown error 2 Failed to download/copy files from the given SOURCE 3 RPM upgrade transaction test failed BUGS
The --iso image must be on a filesystem listed in /etc/fstab. AUTHORS
Will Woods <wwoods@redhat.com> redhat-upgrade-tool 11/08/2013 REDHAT-UPGRADE-TOOL(8)

Check Out this Related Man Page

DH_SYSTEMD_START(1)						     Debhelper						       DH_SYSTEMD_START(1)

NAME
dh_systemd_start - start/stop/restart systemd unit files SYNOPSIS
dh_systemd_start [debhelperoptions] [--restart-after-upgrade] [--no-stop-on-upgrade] [unitfile...] DESCRIPTION
dh_systemd_start is a debhelper program that is responsible for starting/stopping or restarting systemd unit files in case no corresponding sysv init script is available. As with dh_installinit, the unit file is stopped before upgrades and started afterwards (unless --restart-after-upgrade is specified, in which case it will only be restarted after the upgrade). This logic is not used when there is a corresponding SysV init script because invoke-rc.d performs the stop/start/restart in that case. OPTIONS
--restart-after-upgrade Do not stop the unit file until after the package upgrade has been completed. This is the default behaviour in compat 10. In earlier compat levels the default was to stop the unit file in the prerm, and start it again in the postinst. This can be useful for daemons that should not have a possibly long downtime during upgrade. But you should make sure that the daemon will not get confused by the package being upgraded while it's running before using this option. --no-restart-after-upgrade Undo a previous --restart-after-upgrade (or the default of compat 10). If no other options are given, this will cause the service to be stopped in the prerm script and started again in the postinst script. -r, --no-stop-on-upgrade, --no-restart-on-upgrade Do not stop service on upgrade. --no-start Do not start the unit file after upgrades and after initial installation (the latter is only relevant for services without a corresponding init script). NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command (with the same arguments). Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. Note that dh_systemd_start should be run after dh_installinit so that it can detect corresponding SysV init scripts. The default sequence in dh does the right thing, this note is only relevant when you are calling dh_systemd_start manually. SEE ALSO
debhelper(7) AUTHORS
pkg-systemd-maintainers@lists.alioth.debian.org 11.1.6ubuntu2 2018-05-10 DH_SYSTEMD_START(1)
Man Page