Subject: Re: Daemontools on mac os x
To: tim <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 05/25/2004 06:02:13
On Mon, 24 May 2004, tim wrote:
> I installed tinydns on my mac. Now pkgsrc thinks that I have also
> installed daemontools but It hasn't because none of the binaries are
> bmake deinstall says pkg_delete: package 'daemontools-0.70' doesn't
> have a prefix
> pkg_delete daemontools-0.70 gives the same error message
> bmake reinstall, update, and replace also all fail because it could not
> delete this package which apparently has no prefix.
> How do I tell pkgsrc to delete this package so I can re-install it?
"rm -rf /var/db/pkg/daemontools-0.70". That directory may well be
empty anyhow. When such an empty directory, or even a plain file,
is created in "/var/db/pkg" for whatever reason, the package tools
complain about "... doesn't have a prefix".