On Sun, May 24, 2015 at 10:46:20PM +0200, Adam Wolk wrote: > On Sun, 24 May 2015 21:51:08 +0200 > Marc Espie <es...@nerim.net> wrote: > > > On Sun, May 24, 2015 at 08:28:39PM +0200, Adam Wolk wrote: > > > OK folks, I think something is either wrong with my install or in > > > the way the tools determine dependencies. > > > > > > I am now at a point where pkg_delete -a removes required > > > dependencies and a following call to pkg_add -u adds them back. > > > This doesn't feel right. > > > > > > If this is an issue with my box then please free to say so. I > > > decided to write it up because I saw recent commits from Marc > > > regarding dependency resolution. That's also the reason why I'm > > > CC'ing him. > > > > Hi Marc, > > > Nope, there was no change to pkg_add regarding that. Have you tried i > > I may have been unfairly unclear in this point. I saw recent changes > regarding dependency checks in the port tools. I'm not saying they There were changes just after 5.7 which have been completely reverted. The pkg_tools have not changed in that regard for a very long time.
The dpb stuff is completely unrelated and don't affect neither pkg_create nor pkg_add at all (and the ways dependencies are handled in the ports tree didn't change either). If pkg_check tells you it's missing dependencies, then it probably means a former pkg_add -u did end up with a fatal strange error, or your file system has issues leading to a corrupted /var/db/pkg. I would check your partitions for lost+found.