05-14-2008
Converting source rpm to binary rpm
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 advance.
Sunny
10 More Discussions You Might Find Interesting
1. Programming
Hello Unix experts,
I downloaded rpm-4.0 source from ftp.redhat.com and tried to make it. There are something I could not understand.
- Makefile.in and Makefile.am instead of Makefile
- file INSTALL doesn't show clearly the steps of compiling
What are these 2 files, Makefile.in and... (2 Replies)
Discussion started by: eddie
2 Replies
2. Linux
Hey,
I've a problem installing a package. rpm -ivh brings the errors:
libjvm.so is needed by
libverify.so is needed by
But I have installed the Java SDK like requested and the files are on the disk. But I have no idea how to find out, why rpm cann't find them.
I have also... (2 Replies)
Discussion started by: mod
2 Replies
3. Linux
Hi every one...i am new to linux and have a problem with rpm's.
Do we have any facility to chk out the source code of rpm's.If yes plz specify the location so that i can explore a few...
secondly can i know where we can get the source code of standard shell commands like sleep,ls,top....etc.I... (4 Replies)
Discussion started by: bssandilya
4 Replies
4. UNIX for Advanced & Expert Users
Hi Everybody,
I want to download the kernel-2.4.33 source rpm.Does anybody know from where should i download?? As in kernel.org there are .gz or .bz2 versions of kernel packages are available.
Any help is welcome.
Thanks,
Sriram (2 Replies)
Discussion started by: sriram.ec
2 Replies
5. 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
6. Red Hat
Hi,
I have created one soruce rpm by using some help file on net. when i installed the rpm with command "rpm -i xxx.rpm", by default it got installed under "/usr/src/redhat/SOURCES/. I want to install these source file under /application/myapps/.
Also i want some guidence to improve the source... (0 Replies)
Discussion started by: rajeshatbuzz
0 Replies
7. Linux
Hi guys,
Can anyone tell me, how .tar files could be convert into .RPM package.
Hoping soon replay with positive assistance.
Thanks. (1 Reply)
Discussion started by: daya.pandit
1 Replies
8. Shell Programming and Scripting
It's the end of the day and I just can't get my head around this. I'm trying to extract just the name of the RPM from the path to a .rpm file. So from:
/home/me/rpm/RPMS/i386/nagios-our-plugins-1.2-6.i386.rpmI need to extract 'nagios-our-plugins'.
I can't get the awk syntax right:
awk '{... (5 Replies)
Discussion started by: aussieos
5 Replies
9. 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
10. 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
LEARN ABOUT SUSE
applydeltarpm
APPLYDELTARPM(8) System Manager's Manual APPLYDELTARPM(8)
NAME
applydeltarpm - reconstruct an rpm from a deltarpm
SYNOPSIS
applydeltarpm [-v] [-p] [-r oldrpm] deltarpm newrpm
applydeltarpm -c|-C deltarpm
applydeltarpm [-c|-C] -s sequence
applydeltarpm -i deltarpm
DESCRIPTION
applydeltarpm applies a binary delta to either an old rpm or to on-disk data to re-create a new rpm. The old rpm can be specified with the
-r option, if no rpm name is provided on-disk data is used. You can use -p to make applydeltarpm print the percentage of completion, or -v
to make it more verbose about its operation.
The second an third form can be used to check if the reconstruction is possible. It may fail if the on-disk data got changed (deltarpms are
created in a way that config file changes do not matter) or the deltarpm does not match the rpm the delta was generated with. The -c option
selects full (i.e. slow) on-disk checking, whereas -C only checks if the filesizes have not changed.
Instead of a full deltarpm a sequence id can be given with the -s sequence option. Such an id contains all the information that is needed
to do reconstruction checking.
Finally information about a deltarpm can be printed with the -i option.
EXIT STATUS
applydeltarpm returns 0 if the rpm could be recreated or the checking succeeded, it returns 1 and prints an error message to stderr if
something failed.
SEE ALSO
makedeltarpm(8), rpm(8)
AUTHOR
Michael Schroeder <mls@suse.de>
Feb 2005 APPLYDELTARPM(8)