apacman icon indicating copy to clipboard operation
apacman copied to clipboard

Dependencies are not de-duped

Open justin8 opened this issue 10 years ago • 2 comments

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

justin8 avatar Jan 25 '16 09:01 justin8

This is totally bizarre behavior...

apacman-3.0 -S aufs

:: There are 3 packages that provide linux-aufs_friendly:

  1. linux-aufs_friendly
  2. linux-aufs_friendly-docs
  3. 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:

  1. linux-aufs_friendly
  2. linux-aufs_friendly-docs
  3. 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

oshazard avatar Oct 05 '16 21:10 oshazard

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...

justin8 avatar Oct 05 '16 21:10 justin8