Dependencies are not de-duped
Installing aufs and aufs-util (which depends on aufs) results in two aufs entries:
apacman -S aufs aufs-util
Aur Targets (3): aufs aufs aufs-util
This is totally bizarre behavior...
apacman-3.0 -S aufs
:: There are 3 packages that provide linux-aufs_friendly:
- linux-aufs_friendly
- linux-aufs_friendly-docs
- linux-aufs_friendly-headers
Enter a selection (default=1): 1 patch: **** Can't open patch file add-aufs-patches.diff : No such file or directory
apacman-3.0 -S --preview aufs
Edit aufs PKGBUILD with $editor? [Y/n] y :: There are 3 packages that provide linux-aufs_friendly:
- linux-aufs_friendly
- linux-aufs_friendly-docs
- linux-aufs_friendly-headers
Enter a selection (default=1): 1 Edit linux-aufs_friendly PKGBUILD with $editor? [Y/n] y patch: **** Can't open patch file add-aufs-patches.diff : No such file or directory
The issue was when installing a a package (aufs) at the same time as something that depends on that same package (aufs-utils) when neither are installed.
I believe there is a seperate bug for linux-aufs_friendly kernel not installing (found it. #49). They do some weird hacky stuff with the pkgbuild, it pulls in the latest source from core's pkgbuild then sed's in a few lines and sources it before reaching the build function. It's quite.. ingenious...