[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: rpmInstall error: no dbpath has been set
- From: Jeff Johnson <jbj JBJ ORG>
- To: rpm-list redhat com
- Subject: Re: rpmInstall error: no dbpath has been set
- Date: Fri, 25 Jan 2002 10:27:56 -0500
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
--
Jeff Johnson ARS N3NPQ
jbj@jbj.org (jbj@redhat.com)
Chapel Hill, NC
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]