09-26-2013
Thanks again Corona. Think this will sort it.
10 More Discussions You Might Find Interesting
1. Linux
Hi,
I need to install an rpm file,but I only have '.src.rpm' version of it. I want to convert it to a binary rpm.
so I tried this
rpm --rebuild somethin.src.rpm
But I am gettin '--rebuild:Invalid option' as output
Is there another way to rebuild source rpm.?
Thanks in... (2 Replies)
Discussion started by: eamani_sun
2 Replies
2. SuSE
Hi,
I have got few RPM's from rpmfind.net ( mainly gcc ).
But it seems to be src files instead of the image.
so I think we have to build the src files according to target machine using rpmbuild.
Can any one help me with
1) Various options of rpm build that have to be taken care
2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies
3. Linux
I am setting up a new server with the goal of porting a solaris server to centos. I want to compile some packages myself (ie) http, ssl, mysql, etc. The reason for this is the downloadable rpm packages are very old. I probably want to make sure the kernel is up to date, but the individual pages... (2 Replies)
Discussion started by: csross
2 Replies
4. Red Hat
I am having difficulty getting rpm to trust the gpg key I have used to sign rpm packages I am creating.
I used gpg --gen-key to create the key. I chose RSA, 1024.
$ gpg --list-key
/home/rpmbuild/.gnupg/pubring.gpg
---------------------------------
pub 1024R/42A05359 2009-07-15
uid ... (2 Replies)
Discussion started by: Padow
2 Replies
5. 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
6. Shell Programming and Scripting
I have a list of rpm packages... and want to check if the version is equal to or greater than the package in the package list. This is what I have so far... but I would like to add more intelligence to it.
while read line
do
COUNT=`rpm -qa --qf "%{n}-%{v}-%{r} (%{arch})\n" | grep -c "$line"`
... (0 Replies)
Discussion started by: linux4life
0 Replies
7. Red Hat
Hi guys, I am trying to install some packages for my oracle 11g r2 installation, the below error shows up when I try below:
warning: glibc-devel-2.5-24.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
glibc-headers is needed by... (8 Replies)
Discussion started by: messi777
8 Replies
8. AIX
dears
i am trying to install the autoconf-2.63-1.aix6.1.noarch.rpm but its shows the below error message .
P700_dev/svn/dependencies>rpm -i autoconf-2.63-1.aix6.1.noarch.rpm
error: failed dependencies:
m4 is needed by autoconf-2.63-1
P700_dev/svn/dependencies> (6 Replies)
Discussion started by: thecobra151
6 Replies
9. Red Hat
I was trying to install some packages. We already installed all the dependent packages.
But i was unable to install any of the packages..... What might be the reason ??
Please tell me !!! (1 Reply)
Discussion started by: vamshigvk475
1 Replies
10. Programming
Hi all,
I have also posted in the UNIX for Dummies forum. Wasn't sure which would be best.
Trying to get the following packages for an ARM 71 device running an image of Fedora 18. I need these system livraries for compilation.
gtk2-devel-2.22.0-2.fc14.i686.rpm... (0 Replies)
Discussion started by: fedora18
0 Replies
LEARN ABOUT CENTOS
reposync
reposync(1) reposync(1)
NAME
reposync - synchronize yum repositories to a local directory
SYNOPSIS
reposync [options]
DESCRIPTION
reposync is used to synchronize a remote yum repository to a local directory, using yum to retrieve the packages.
OPTIONS
-h, --help
Display a help message, and then quit.
-c CONFIG, --config=CONFIG
Config file to use (defaults to /etc/yum.conf).
-a ARCH, --arch=ARCH
Act as if running the specified arch (default: current arch, note: does not override $releasever. x86_64 is a superset for i*86.).
--source
Also download .src.rpm files.
-r REPOID, --repoid=REPOID
Specify repo ids to query, can be specified multiple times (default is all enabled).
-t, --tempcache
Use a temp dir for storing/accessing yum-cache.
-p DESTDIR, --download_path=DESTDIR
Path to download packages to: defaults to current directory.
-g, --gpgcheck
Remove packages that fail GPG signature checking after downloading. exit status is '1' if at least one package was removed.
-u, --urls
Just list urls of what would be downloaded, don't download.
-l, --plugins
Enable yum plugin support.
-n, --newest-only
Download only newest packages per-repo.
-q, --quiet
Output as little information as possible.
EXAMPLES
Sync all packages from the 'updates' repo to the current directory:
reposync --repoid=updates
Sync only the newest packages from the 'updates' repo to the current directory:
reposync -n --repoid=updates
Sync packages from the 'updates' and 'extras' repos to the current directory:
reposync --repoid=updates --repoid=extras
Sync all packages from the 'updates' repo to the repos directory:
reposync -p repos --repoid=updates
Sync all packages from the 'updates' repo to the repos directory excluding x86_64 arch. Edit /etc/yum.conf adding option exclude=*.x86_64.
Then:
reposync -p repos --repoid=updates
FILES
reposync uses the yum libraries for retrieving information and packages. If no configuration file is specified, the default yum configura-
tion will be used.
/etc/yum.conf
/etc/yum/repos.d/
SEE ALSO
yum.conf (5)
http://yum.baseurl.org/
AUTHORS
See the Authors file included with this program.
BUGS
There are of course no bugs, but should you find any, you should first consult the FAQ section on http://yum.baseurl.org/wiki/Faq and if
unsuccessful in finding a resolution contact the mailing list: yum-devel@lists.baseurl.org. To file a bug use http://bugzilla.redhat.com
for Fedora/RHEL/Centos related bugs and http://yum.baseurl.org/report for all other bugs.
27 April 2007 reposync(1)