LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find a file!?! (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-a-file-391193/)

iansoundz 12-10-2005 02:53 AM

How to find a file!?!
 
Hello,

I did:

rpm -ihv redhat-rpm-config-8.0.32.1.noarch.rpm

It successfully installed but where is it?

When I do this:

rpm -qpi -ihv redhat-rpm-config-8.0.32.1.noarch.rpm

I see all associated files in /usr/lib/rpm/redhat, EXCEPT "redhat-rpm-config" AAAAARRRRGGGGHHH!!!

This is very frustrating because when I try to do this:

rpmbuild -bp --target=i686 kernel-2.6.spec

I get errors insisting that "redhat-rpm-config is needed"!?!

I tried:

find / -type f -name redhat-rpm-config

and found nothing.

So again....where the F___ is it?? Am I destined to go back to Winblows? (Btw, I have been trying to Install a Kernel from source for about 2 weeks now)

titopoquito 12-10-2005 03:22 AM

Quote:

Originally Posted by iansoundz
I see all associated files in /usr/lib/rpm/redhat, EXCEPT "redhat-rpm-config" AAAAARRRRGGGGHHH!!!

I know this doesn't help with your compile error, but there doesn't have to be a file called redhat-rpm-config necessarily. Think of the package binutils that also has no app/file called "binutils".
I have neither CentOS nor Fedora installed, but a look here tells me that this is how it is intended (scroll down to the bottom of the side, there is a file list):
http://rpmfind.net//linux/RPM/fedora...-1.noarch.html

helle 12-10-2005 03:27 AM

Quote:

Originally Posted by iansoundz
EXCEPT "redhat-rpm-config" AAAAARRRRGGGGHHH!!!

This is very frustrating because when I try to do this:

rpmbuild -bp --target=i686 kernel-2.6.spec

so you try to build a new kernel from the old sources.
try this release notes. red hat tells howto build a new kernel:
http://centosg.centos.org/centos/4/o...-NOTES-en.html

i try the same this days, but i have a nother problem. if you have your new kernel, i would be happy, if you would write it in here.

have a nice time.

iansoundz 12-10-2005 03:28 AM

Thanks for the quick response. I thought that too except I get filed dependency error staing that redhat-rpm-config.8.blah.blah is needed when I try to build kernel source.

helle 12-10-2005 03:31 AM

Quote:

Originally Posted by iansoundz
Hello,

I did:

rpm -ihv redhat-rpm-config-8.0.32.1.noarch.rpm

It successfully installed but where is it?

When I do this:

rpm -qpi -ihv redhat-rpm-config-8.0.32.1.noarch.rpm

I see all associated files in /usr/lib/rpm/redhat, EXCEPT "redhat-rpm-config" AAAAARRRRGGGGHHH!!!

Install/Update with rpm:
rpm -Uvh redhat-rpm-config-8.0.32.1.noarch.rpm
look if the package is installed
rpm -qa | grep redhat
look inside the package, what is installed and where it is installed
rpm -ql redhat-rpm-config

hope this helps.

iansoundz 12-10-2005 11:31 AM

Thanks I will try it!


All times are GMT -5. The time now is 05:47 PM.