News for hackers. Stuff that matters.
Re:The Magic of Dependency Resolution by menaerus on Wednesday July 12, 2023 @01:14PM (#36698008)
Interesting. If I have a program A and if I run ldd on it, it outputs dep1, dep2, dep3 and dep4. Now I do the same on program B and ldd shows that it depends on dep1 and dep2, the same ones as from program A.

If I want to update both of them, in the context of program A that would be partial update which AFAIU does not support? But in the context of program B that would be a "full" update. I'm not sure I understand what arch is going to do in this case?

Re:The Magic of Dependency Resolution by rcxdude on Wednesday July 12, 2023 @06:12PM (#36702381)
"partial update" in this case means you update some packages without updating all of them (i.e. do 'pacman -Sy' followed by installing or upgrading any individual package). Usually what will happen is pacman will update those packages and any dependencies but not update any other packages will may now have been broken by that update . So if you were to pacman -Sy <program A> in this case then program B would probably be broken, and vice-versa (assuming any of the common deps have updated as well). If you were to update both then they might be fine but something else may break.

https://wiki.archlinux.org/title/System_maintenance#Partial_...