'Installs package that provides [path].
:param path: Path to file.'

def install_what_provides(self, path):

    provides = self.provides(path)
    if (provides is not None):
        return self.install(provides)
    else:
        logging.warning('No    package    seems    to    provide    %s', path)
        return False
