checks dependencies in package section.