How to use this rpmpopt file for my purpose? I did see the text "rpm alias --info --qf [...]" in my rpmpopt-4.4.1 file (in ~/fakeroot/usr/lib/rpm/ directory).
On Wed, 2009-03-25 at 11:32 +0530, Anurag Bhandari wrote:
> 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).
[...]
> 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"
>
This is popt, ie. on my system:
/usr/lib/rpm/rpmpopt-4.6.0
...which contains "rpm alias --info --qf [...]" among others.
--
James Antill <james@xxxxxxxxxxxxxxxxx>
Fedora
>
> The error I get is:
> "-qip: Unknown option"
>
This is popt, ie. on my system:
/usr/lib/rpm/rpmpopt-4.6.0
...which contains "rpm alias --info --qf [...]" among others.
--
James Antill <james@xxxxxxxxxxxxxxxxx>
Fedora
On Wed, Mar 25, 2009 at 11:32 AM, Anurag Bhandari <anurag.bhd@xxxxxxxxx> wrote:
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/
--
Anurag Bhandari
http://anurag.granularproject.org/
Founder & Project Lead,
Granular Linux Project
http://www.granularproject.org/
http://www.granularlinux.com/
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list