def verify_package(config):
    """Verify the package section of the configuration file."""
    if 'package' not in config:
        yield 'The "package" section is missing.'
        return
    package = config['package']
    if not isinstance(package, dict):
        yield 'The "package" section has to be a dictionary.'
        return
    if 'volumes' not in package:
        yield '"volumes" is required in the package section.'
    if 'fpm' not in package:
        yield '"fpm" is required in the package section.'
