[pacman-dev] Database consistency checking

ngaba at petra.hos.u-szeged.hu ngaba at petra.hos.u-szeged.hu
Wed Jul 18 14:20:40 EDT 2007


> Hm finally it doesn't seem easy (on the code side) to detect invalid
> duplicated requiredby entries (after your new update_trans_depends function).
> For example if pkg1 has pkg2 twice in its requiredby field, while pkg2
> satisfy only one dependency of pkg1.
My patch hasn't been accepted yet ;-)
> By calling check_depends(pkg) on all package from the local database, I have
> enough information for computing all requiredby fields. But the problem is I
> can't store these.
So you can use _alpm_trans_update_depends, then compare the result with 
the db;-)
Bye, ngaba

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the pacman-dev mailing list