oshazard / apacman

ArchLinux User Repository (AUR) helper and pacman wrapper
https://aur.archlinux.org/packages/apacman/
GNU General Public License v3.0
70 stars 11 forks source link

Finding local deps doesn't work as expected #48

Closed justin8 closed 7 years ago

justin8 commented 8 years ago

Local deps are trying to do pacman -S --needed $deps which can produce some unexpected behaviour when one package provides another.

i.e. I have gcc-multilib installed which provides gcc (specifically gcc=5.3.0-3). When I try to install something that requires gcc from a local package, zeromq in this example, we get the following:

:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N]

We should be checking that the dependency is met, not just blanket --needed install of all deps. I'm not sure how makepkg does this, but it would be a good place to copy since they're doing this already.

justin8 commented 7 years ago

Fixed in #47