12-14-2009
You'd copy them the same way as any other file. But as soon as an RPM is installed, it's not needed anymore , not even for an upgrade. So most distributions regularly purge the cache for RPMs to save space, and only the repository management software needs to know where to get it again.
If you need the RPM itself, and didn't download it manually, check the installation media of your distribution.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
how can I copy a file from unix to window machine (and vice versa), if ftp is not available? please tell me what else is convenient? Thanks! (6 Replies)
Discussion started by: fredao
6 Replies
2. AIX
All,
I have just entered over 70 printers in my AIX 5.3 machine. I have to get those same printers onto another machine and I really don't want to do it manually again.
Is there a way to copy the information over to that machine?
Thanks in advance. (1 Reply)
Discussion started by: kjbaumann
1 Replies
3. UNIX for Advanced & Expert Users
Can anyone tell me how can i copy data in LINUX Machine to windows XP
Thanks,
Sandeep (2 Replies)
Discussion started by: bsandeep_80
2 Replies
4. Solaris
Hi All,
Can any body help for below query......
How to Copy Folder from one solaris machine to another?
Thanks, (8 Replies)
Discussion started by: vaibhavvd
8 Replies
5. UNIX for Dummies Questions & Answers
I am logged into a server via SSH.
There is a file on my desktop of my Windows PC I would like to put on that server.
How do I do it?
SCP looks the likely method but how does the server know where the file is on the local machine?
Thanks. (2 Replies)
Discussion started by: Sepia
2 Replies
6. Shell Programming and Scripting
How to make RPM not write to RPM database if RPM fails to deploy?
IE I create an rpm spec file that contains the following
if
then
exit 1
fi
My rpm will fail at deployment, but if I do rpm -qa , I can see the rpm in the rpm db (3 Replies)
Discussion started by: 3junior
3 Replies
7. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
8. UNIX for Dummies Questions & Answers
I have ftp'd to a machine and have to copy a file from one directory to other. I thought once I am logged in using ftp, cp command would do it. But when I run the cp command, I get the following:
ftp> cp * ../../../../maint/
usage: cp
Is using cp the only/right option?
Thanks in advance! (2 Replies)
Discussion started by: sunny8107
2 Replies
9. Solaris
I want to copy tar file to another machine. tar size is 4gb.
Firstly I tried copy to windows machine with ftp client but copy operation didn't start.
Now I have tryied to copy to solaris machine command with scp but copy was freezed. Picture is attached.... (1 Reply)
Discussion started by: getrue
1 Replies
10. AIX
Hello,
I want to install GCC gcc-4.8.1-2.src.rpm for AIX 6.1
when I lance my command rpm -i gcc-4.8.1-2.src.rpm
I have this error
unpacking of archive failed on file gcc-4.8.1.tar.bz2: cpio: copy failed - No space left on device
I checked the free space and I am surpise becouse I have... (7 Replies)
Discussion started by: tatab355
7 Replies
LEARN ABOUT CENTOS
redhat-upgrade-tool-cli
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)