rpm -ba unknown option


 
Thread Tools Search this Thread
Operating Systems Linux rpm -ba unknown option
# 1  
Old 01-05-2011
rpm -ba unknown option

i am trying to build a simple rpm pacakage.
i am trying this example from this link
Creating the Spec File


i created rpm folder in my home directory of rpmbuild account.
in that i have sub folders BUILD,RPMS, SRPMS,SPECS ....

in SPECS folder i have a cdplayer spec file named cdplayer-1.0.spec
when i run rpm -ba cdplayer-1.0.spec
i get -ba unknown option

i am using 4.4.2.3 version of rpm
why i am unable to build pls help ???
# 2  
Old 01-05-2011
I believe "rpm -ba" was replaced with "rpmbuild"
This User Gave Thanks to citaylor For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

Split "-n" unknown option

Hello, I am trying to run a third party script. I have no idea what is the purpose of this below split command. But it throws an error saying invalid option -n. Please comment. cat input @a1101:00000630 TTTTTCTGATAAGCTGGTTCTCACTTCTGTTACTCCATCTTCTTCGGCACC +... (5 Replies)
Discussion started by: jacobs.smith
5 Replies

2. AIX

Rpm issue with autoconf-2.63-1.AIX6.1.noarch.rpm

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

3. Shell Programming and Scripting

How to make RPM not write to RPM database if RPM fails to deploy?

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

4. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

5. Shell Programming and Scripting

Extract RPM name from path to .rpm file

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

6. UNIX for Advanced & Expert Users

how to prevent overwrite particular config file when using rpm --replacefile option

Helo I have already installed manbase - 4.0.0.0.15 Now I m installing newver version of the same rpm using rpm -iv -replacefiles manbase -4.0.0.0.16 But using this option my important config files is overwrite. now I want that using first check whethere config file is there or not.... (0 Replies)
Discussion started by: amitpansuria
0 Replies

7. SuSE

How to install .src.rpm ? ( source rpm )

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

8. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

9. Linux

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... (2 Replies)
Discussion started by: eamani_sun
2 Replies

10. Linux

Failed dependencies of rpm / how does RPM check for ?

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
Login or Register to Ask a Question