Re: dpkg bootstrapping
On Wed, 13 Mar 2002, Adam Heath wrote:
> On Wed, 13 Mar 2002, Jor-el wrote:
>
> >
> > dpkg: failed to open package info file '<build prefix>/lib/db/status' for
> > reading: A file or directory in the path name does not exist.
> >
> > If I do a 'touch <build prefix>/lib/db/status' to create the
> > file, I then get a 'failed to malloc for info file' - so obviously the
> > program is expecting some content to be there already.
>
> Huh?
>
> ohshite(_("failed to malloc for info file `%.255s'"),filename);
>
> That's from lib/cache.c. It should have given you the filename.
>
It did. I just hadnt quoted it. The file it was complaining about
was the same file that I had quoted for the prev message and which I had
just created with the 'touch'.
> That's the only match in the dpkg source for that error message. Did you
> change all the printfs?
>
Nope
>
> ps: I note you are not using mmap(the above line is #ifdef'd out when mmap is
> enabled. Does aix not work with mmap?
>
It does. Obviously, I have a problem somewhere.
Thanks,
Jor-el
Reply to: