You are not logged in.
If I have a repo with package foo-git that provides foo, have package bar depends on foo, and no package foo, what will pacman do when trying to install bar? I have 3 variants:
1. Pacman will fail with cannot resolve dependences.
2. Pacman will install foo-git and bar.
What variant now, and what preferred?
Last edited by rilian-la-te (2015-04-19 19:52:01)
Offline
If all is well, pacman will ask you which one to choose if there is more than one package providing the same thing. This is what happens when installing for example libgl.
Offline
Ummm, what' the third variant?
Offline
Runical write it. But I was not see it myself.
Offline
Pacman will only do what runical describes if those alternatives are present in the SAME repo .
Basically when pacman checks for dependencies, it goes through every repo listed in pacman.conf but stops once it has found that dependency.
say foo is present in [extra] and foo-git in [rilian-la-te-repo] .
If [extra] is above [rilian-la-te-repo] , pacman will always find foo in [extra] and install that version.
If you prefer pacman to use your version, you will have to list [rilian-la-te-repo] ABOVE [extra] .
Last edited by Lone_Wolf (2015-04-20 11:22:17)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline