[nycbug-talk] Rebuilding dependencies after manual port removal?

George Rosamond george at ceetonetechnology.com
Sun May 2 09:37:54 EDT 2010


On 05/02/10 05:08, Matt Juszczak wrote:
> Hi all,
>
> Tonight I had to manually remove php on one of my boxes, which another
> package I had installed was dependent on. I forcefully removed it,
> rebuilt it, and reinstalled. Now, all is working well, but dependencies
> are messed up (pkg_info shows the package isn't dependent on the other
> package even though it is).
>
> I know an easy solution to this would be `portupgrade -fa`, to
> forcefully rebuild and reinstall all ports, but that would take forever
> and seems unwarranted. Does anyone have any other ideas on how I can fix
> the dependency lists inside /var/db/pkg?


Which BSD are we talking about here?

Just rebuild the relevant port and what depends on it then.

portupgrade -fr <relevant port>

Or just look at pkgdb (1). .. -L, -F. . .

And look at /usr/ports/Tools/scripts if you're using FreeBSD.

g



More information about the talk mailing list