[pacman-dev] Pacman doesn't handle properly the multiple satisfiers, localdb corruption
ngaba at petra.hos.u-szeged.hu
ngaba at petra.hos.u-szeged.hu
Mon Jul 16 11:13:25 EDT 2007
> Oh yes, please, clean that update_depends function, trying to read it almost
> killed me. (so go with case 1 I guess).
OK, but one more question:
tranc.c:461:
if(trans->packages && trans->type == PM_TRANS_TYPE_REMOVE) {
if(_alpm_pkg_find(dep->name, handle->trans->packages)) {
continue;
}
}
Should I keep this or remove?
I prefer remove, but I'm not sure.
Pro (for keeping): this reduces the slow disk write in many cases
(usually there is dependency between the removed packages)
Contra: this breaks libalpm hierarchy, it assumes that the
remove_commit will be successful; if not, or user break or... then the
database can become corrupted (however, extra requiredby is not a big
trouble, as you said), so this is a bit unsafe.
Bye, ngaba
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the pacman-dev
mailing list