[pacman-dev] [PATCH] Keep pkgcaches and dbs in sync

Nagy Gabor ngaba at bibl.u-szeged.hu
Thu Mar 27 14:15:09 EDT 2008


> +	/* ensure dbs and pkgcaches are in sync */
> +	_alpm_db_refresh_pkgcache(handle->db_local);
> +	for(i = handle->dbs_sync; i; i = i->next) {
> +		_alpm_db_refresh_pkgcache(i->data);
> +	}

Extending this to syncdbs may be an overkill, because outdated sync
pkgcache cannot hurt too much (but can confuse pacman). I leave the
decision to you.

Bye




More information about the pacman-dev mailing list