05-19-2012
Configure yum repository
how to configure yum server to get rpms from any repository or redhat repo.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I verify the integrity of a package? And how do I configure yum to add a site (3 Replies)
Discussion started by: 3junior
3 Replies
2. Ubuntu
Hi guys
Can anyone assist me how to configure YUM in RHEL4.0.
and from where i can get the YUM package for RHEL4.0.
Thanks in advance (3 Replies)
Discussion started by: daya.pandit
3 Replies
3. Red Hat
Hi Friends,
I have succesfully configured a local yum repository using ios image.
Please let me know how i can synchronize the local repository with RHN.
Is it possible, so that i can update the local repository with latest updates.
Regards,
Arumon (1 Reply)
Discussion started by: arumon
1 Replies
4. Red Hat
Hi
I following the tutorial to install boost 1.4.1 in centos 5.6 32 bit
But without success maybe it doesn't find it in my repository in yum , but also when I compile the lib
It doesn't find the libs .
The tutorial link:
Compiling gearman on CentOS 5.6 - gearman | Google Groups
the error... (1 Reply)
Discussion started by: umen
1 Replies
5. Red Hat
I have a query that does Redhat have the link to the yum repository on its FTP site. In my environment, I have the file rhel-debuginfo.repo which has -
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo.
I hope, my question is clear that is there a... (5 Replies)
Discussion started by: RHCE
5 Replies
6. Red Hat
Hi guys,
thanks for you help on this issue.
I built a dvd repository on my server and when I try to install a package from it, I get this error
ftp://10.0.0.12/pub/Packages/httpd-2.2.15-26.el6.x86_64.rpm: PYCURL ERROR 9 - "Server denied you to change to the given directory"
I will... (2 Replies)
Discussion started by: cjashu
2 Replies
7. Red Hat
Most of my commands are returning this error on RHEL 6 64 bit:
Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix:
# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm
1:dos2unix warning: user mockbuild does not... (0 Replies)
Discussion started by: India_2014
0 Replies
8. Fedora
Hi,
while installing/updating package using yum I am getting (repomd.xml) error
# yum list
Loaded plugins: langpacks, presto, refresh-packagekit
http://mirror.cse.iitk.ac.in/fedora-archive/fedora/linux/fedora/linux/releases/16/Everything/x86_64/os/repodata/repomd.xml: HTTP Error 404 -... (12 Replies)
Discussion started by: muzaffar.k
12 Replies
9. Linux
Hello,
I need to know regarding setting up of Local repositories so that I can update or install packages on other RHEL servers.
In our environment we have many servers with different RHEL versions.
Like RHEL 7.2, RHEL 7.3, RHEL 7.4, RHEL 7.5
Arch = x86_64
I have setup one Repo server;... (0 Replies)
Discussion started by: SunshineMLinux
0 Replies
10. UNIX for Beginners Questions & Answers
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
LEARN ABOUT DEBIAN
createrepo
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. (not used by any clients at this time)
-o --outputdir <url>
Optional output directory (useful for read only media).
-x --exclude <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.
-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.
-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.
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
Seth Vidal <skvidal@phy.duke.edu>
BUGS
Any bugs which are found should be emailed to the mailing list: rpm-metadata@linux.duke.edu
Seth Vidal 2005 Jan 2 createrepo(8)