09-23-2008
man yum
there is an option to tell yum which pakages to ignore or not
and you can add that optio to /etc/yum.conf
also, use yum to download packages, dont search for them anually on the net.
and if you relly relly need to compile your own, create an rpm package
google info about rpm-build
10 More Discussions You Might Find Interesting
1. Linux
Hello
Is there a way to update a package to a specific version with yum?
So, I have version 1 of package A installed. Versions 2 and 3 are available, but I only want to upgrade to version 2. Any assistance would be appreciated.
Thanks! (1 Reply)
Discussion started by: garskoci
1 Replies
2. Red Hat
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
3. UNIX for Dummies Questions & Answers
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
4. Red Hat
Hi,
We have a 2 yum repository servers (2.6.18-92.el5 x86_64 x86_64 x86_64 GNU/Linux) that are RHN registered and should receive the latest patch/packages. The servers are configured somehow that the new updates are not downloaded automatically which I guess is in the yum-updatesd.conf file
... (3 Replies)
Discussion started by: jamba1
3 Replies
5. UNIX for Advanced & Expert Users
Hello Everybody,
I am having a cluster which is not connected to internet. I want to check its performance do I downloaded required packages from the internet and copied them in a particular folder. As per the instructions given at
http:... (6 Replies)
Discussion started by: albertspade
6 Replies
6. Red Hat
Hi Guys,
I am trying to test installation of a local rpm to my RHEL5 server. I am expecting it to fail as a previous version of the same package name exists. On using rpm -i this behaves as expected but yum install does not pick up the conflict. Here is the element of my SPEC file with the... (5 Replies)
Discussion started by: gazza-o
5 Replies
7. UNIX for Advanced & Expert Users
I am trying to find a yum file that is very common in many packages. I would normally start off with this command, but the file is SO common I don't know which package it is in.
yum provides \*compress (1 Reply)
Discussion started by: cokedude
1 Replies
8. UNIX for Dummies Questions & Answers
Hi there
/root #yum localinstall sg3_utils
Loaded plugins: product-id, refresh-packagekit, subscription-manager
Updating Red Hat repositories.
Setting up Local Package Process
Skipping: sg3_utils, filename does not end in .rpm.
Nothing to do
/root #
above is the error
/root... (6 Replies)
Discussion started by: heman96
6 Replies
9. Solaris
I am using solaris 10
yum command not found
apt-get install command not found
rpm command not found
how to use yum and apt-get command in solaris
how to install dhcp, openldap-servers packages in solaris (4 Replies)
Discussion started by: ainstin
4 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)