Unable to open /usr/lib/rpm/rpmrc for reading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I've installed the rpm package along with other required dependencies in a directory "fakeroot" in my home folder of a Debian System (Etch amd64). I did this by extracting the contents of related deb packages in the "fakeroot" folder. After that, I also setup the PATH & LD_LIBRARY_PATH variables for the proper functioning of "rpm" command.

Now, the rpm command works well in some cases, but in other cases, I get an obvious error:
"error: Unable to open /usr/lib/rpm/rpmrc for reading: No such file or directory."

That's because there actually isn't a rpmrc file in /usr/lib/rpm. It's in the ~/fakeroot/usr/lib/rpm/ directory.

When I execute the rpm command along with the --rcfile modifier to point the command to the rpmrc file in the "fakeroot" directory, it works ok, expect for one thing. The following does not work:
rpm --rcfile=/home/anurag/
fakeroot/usr/lib/rpm/rpmrc -qip amarok-1.4.10-5granular2008.i586.rpm

The error I get is:
"-qip: Unknown option"

Other options like -qlp, -qdp, -ivh, -Uvh, etc. work just fine.

Any suggestions for troubleshooting this problem?

Thanks.


--
Anurag Bhandari
http://anurag.granularproject.org/
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux