createrepo...YUM installation

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat createrepo...YUM installation
# 1  
Old 10-31-2009
createrepo...YUM installation

i have 5 cd's of RHEL 5.
how do i know which cd is the createrepo package in...

is there any command or
flags you can add to rpm command to install and the install processes will automatically ask for certain # of cd...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. SuSE

'createrepo' not found on SLES 10.3

Hello All, I'm trying to configure a SLES 10.3 machine as our Zypper server. I created the zypper directories with all the RPMs, made the directory structure accessible over HTTP but I'm stuck at the final stage: createrepo. Looks like 'createrepo' is not present on this version :confused: ... (3 Replies)
Discussion started by: satish51392111
3 Replies

3. SuSE

Createrepo & reposync packages

Hi guys, I have a SUSE 10 box and is missing 2 commands: reposync createrepo When I try to search for these using zypper : server:/tmp # zypper search createrepo Restoring system sources... Not found: Media Exception Not found: Media Exception /repodata/repomd.xml (http://<REPO>)... (0 Replies)
Discussion started by: Junaid Subhani
0 Replies

4. UNIX and Linux Applications

yum provides help

Is there a reason why yum provide can't find libquazip? I did this. yum whatprovides */libquazip A quick google search told me it was in quazip and libquazip. RPM resource libquazip.so.1 (1 Reply)
Discussion started by: cokedude
1 Replies

5. Red Hat

'yum install createrepo' issue

Hi, Here is the issue: # yum install createrepo Warning, could not load sqlite, falling back to pickle Setting up Install Process Setting up repositories file://var/yum_rpm/repodata/repomd.xml: OSError: No such file or directory: '/yum_rpm/repodata/repomd.xml' Trying other mirror. Cannot... (5 Replies)
Discussion started by: aixlover
5 Replies

6. Red Hat

Installing yum and createrepo

Hello all, I'm stuck with a problem on REDHAT Enterprise (uname -r show: 2.4.21-57.ELsmp) The only way to install package is using RPM, but since I'm a newbie I got a lot of dependencies warnings. I installed yum, but the problem now is that I'm not able to create a local repository to install... (6 Replies)
Discussion started by: Lord Spectre
6 Replies

7. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

8. Red Hat

Remote installation of rpm package (Using YUM)

Hi, I have configured YUM repository on a server and we have 10 linux machine (clients). Is there any way we can install a package on all the 10 machines from YUM repository server? Please help me. (7 Replies)
Discussion started by: uday123
7 Replies

9. Red Hat

Yum installation problem from DVD !

Friends , I want to install package using yum from DVD in RHEL 5 . Hence I just follow the below rules : 1) # mount /dev/hdc /cdrom/ mount: block device /dev/hdc is write-protected, mounting read-only 2) Edit the yum rhel-debuginfo.repo file like following way : # pwd... (3 Replies)
Discussion started by: shipon_97
3 Replies

10. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
Login or Register to Ask a Question
createrepo(8)															     createrepo(8)

NAME
createrepo - Create repomd (xml-rpm-metadata) repository SYNOPSIS
createrepo [options] <directory> DESCRIPTION
createrepo is a program that creates a repomd (xml-based rpm metadata) repository from a set of rpms. OPTIONS
-u --baseurl <url> Optional base URL location for all files. -o --outputdir <url> Optional output directory (useful for read only media). -x --excludes <package> File globs to exclude, can be specified multiple times. -i --pkglist <filename> specify a text file which contains the complete list of files to include in the repository from the set found in the directory. File format is one package per line, no wildcards or globs. -n --includepkg specify pkgs to include on the command line. Takes urls as well as local paths. -q --quiet Run quietly. -g --groupfile <groupfile> A precreated xml filename to point to for group information. See examples section below for further explanation. -v --verbose Run verbosely. -c --cachedir <path> Specify a directory to use as a cachedir. This allows createrepo to create a cache of checksums of packages in the repository. In consecutive runs of createrepo over the same repository of files that do not have a complete change out of all packages this decreases the processing time dramatically. --update If metadata already exists in the outputdir and an rpm is unchanged (based on file size and mtime) since the metadata was generated, reuse the existing metadata rather than recalculating it. In the case of a large repository with only a few new or modified rpms this can significantly reduce I/O and processing time. --skip-stat skip the stat() call on a --update, assumes if the filename is the same then the file is still the same (only use this if you're fairly trusting or gullible). -C --checkts Don't generate repo metadata, if their timestamps are newer than its rpms. This option decreases the processing time drastically again, if you happen to run it on an unmodified repo, but it is (currently) mutual exclusive with the --split option. --split Run in split media mode. Rather than pass a single directory, take a set of directories corresponding to different volumes in a media set. -p --pretty Output xml files in pretty format. -V --version Output version. -h --help Show help menu. -d --database Generate sqlite databases for use with yum. -S --skip-symlinks Ignore symlinks of packages -s --checksum Choose the checksum type used in repomd.xml and for packages in the metadata. The default is now "sha256" (if python has hashlib). The older default was "sha", which is actually "sha1", however explicitly using "sha1" doesn't work on older (3.0.x) versions of yum, you need to specify "sha". --profile Output time based profiling information. --changelog-limit CHANGELOG_LIMIT Only import the last N changelog entries, from each rpm, into the metadata --unique-md-filenames Include the file's checksum in the metadata filename, helps HTTP caching (default) --simple-md-filenames Do not include the file's checksum in the metadata filename. --distro Specify distro tags. Can be specified more than once. Optional syntax specifying a cpeid(http://cpe.mitre.org/) --distro=cpeid,dis- trotag --content Specify keyword/tags about the content of the repository. Can be specified more than once. --repo Specify keyword/tags about the repository itself. Can be specified more than once. --revision Arbitrary string for a repository revision. --deltas Tells createrepo to generate deltarpms and the delta metadata --oldpackagedirs PATH paths to look for older pkgs to delta against. Can be specified multiple times --num-deltas int the number of older versions to make deltas against. Defaults to 1 EXAMPLES
Here is an example of a repository with a groups file. Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml). createrepo -g comps.xml /path/to/rpms FILES
repodata/filelists.xml.gz repodata/other.xml.gz repodata/primary.xml.gz repodata/repomd.xml SEE ALSO
yum (8) yum.conf (5) AUTHORS
See the Authors file BUGS
Any bugs which are found should be emailed to the mailing list: rpm-metadata@lists.baseurl.org or reported in trac at: http://cre- aterepo.baseurl.org Seth Vidal 2005 Jan 2 createrepo(8)