keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

Split packages result in duplicate updates #125

Open ghost opened 10 years ago

ghost commented 10 years ago

Since AUR v3.0.0, Packer currently tries to update all packages in a split package separately, resulting in duplicate updates:

protist commented 9 years ago

I think packer doesn't deal with split packages at all? For example, chromium-plugins contains the split packages chromium-libpdf and chromium-pepper-flash. I've tried to install chromium-pepper-flash with packer -S chromium-pepper-flash. Both split packages are built, but chromium-libpdf is installed (even though I didn't request it). chromium-pepper-flash is not installed at all.

stephen304 commented 8 years ago

Is this the case with gradle? (gradle, gradle-doc, gradle-src) There are "3 packages" but it seems that each of the 3 pkgbuilds build all 3 packages. It stops me from being able to update anything else on my system because --ignore doesn't seem to work with 3 packages so I can't ignore gradle when updating.

==> Finished making: gradle 2.5-2 (Mon Aug 10 14:35:33 EDT 2015)
[sudo] password for stephen: 
loading packages...
error: 'gradle-doc-2.5-2-any.pkg.tar.xz': duplicate target
error: 'gradle-src-2.5-2-any.pkg.tar.xz': duplicate target
Edit gradle-doc PKGBUILD with $EDITOR? [Y/n]

yaourt installs gradle perfectly fine.

hanyas commented 8 years ago

This is happening way too often! Happend to me while installing "backintime" and any custom kernel package that is split into headers and image. In case of kernels it is really annoying after hours of compilation.

Silvea12 commented 7 years ago

Still an issue! Please try to get on with this, breaks all jetbrains related installs.

azat commented 3 months ago

This should fix the problem - https://github.com/azat-archive/packer/commit/dbcace7e2058ceb8ccc82389b9bb0df0203caeee

azat commented 3 months ago

Or this - https://github.com/keenerd/packer/pull/78