[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpmInstall error: no dbpath has been set
- From: Mathieu Dube <mdube 8D com>
- To: rpm-list redhat com
- Subject: Re: rpmInstall error: no dbpath has been set
- Date: Fri, 25 Jan 2002 11:00:52 -0500
Thanks,
what is the behavior of rpmInstall exactly
thats how I call it:
rpmInstall("",(const char**)arg,RPMTRANS_FLAG_TEST,INSTALL_PERCENT,
RPMPROB_FILTER_NONE,NULL);
arg being on package path and arg[1] is NULL
it only output
%%0.000000
and doesnt seem to install
am I supposed to call it more than once?
-Mat
On Friday 25 January 2002 10:27, you wrote:
> On Fri, Jan 25, 2002 at 10:03:10AM -0500, Mathieu Dube wrote:
> > Hi,
> > what does it mean if I call rpmInstall(from rpmlib) and the
> > output is : error: no dbpath has been set?
> >
> > I tried "","/" and "/var/lib/rpm" for the first argument to rpmInstall
> > and it didnt work so I assume there's another function I should call
> > before doing that
>
> It means you haven't done
> rpmReadConfigFGiles(NULL, NULL);
> someplace early on. rpmlib cannot be (meaningfully) used without
> configuration from /usr/lib/rpm/{rpmrc,macros} ...
>
> 73 de Jeff
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]