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

Nagy Gabor ngaba at bibl.u-szeged.hu
Thu Mar 27 21:21:26 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);
> +	}
> +
This is still wrong :-S. Needlessly (re)loads all pkgcaches even with
-U. I will rework this later... ("refresh" should just clear pkgcache
instead of load).

Bye




More information about the pacman-dev mailing list