You are not logged in.

#1 2013-03-22 17:03:35

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

pacaur - unable to install linux-aufs_friendly

Hi all,

I am using pacaur to build linux-aufs_friendly and after compilation succeeds along with packaging, pacaur attempts to install the newly built packages.  It fails saying duplicate package:

duplicate target

Any ideas how I can fix this issue?

Thanks,

Walter

Offline

#2 2013-03-22 17:39:00

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: pacaur - unable to install linux-aufs_friendly

You might be better off asking in the pacaur thread:

https://bbs.archlinux.org/viewtopic.php?id=119473

Also does using just makepkg (with no AUR helpers) work? Does pacaur only fail with that one package?

Offline

#3 2013-03-22 18:21:52

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,810

Re: pacaur - unable to install linux-aufs_friendly

The error "duplicate target" sounds like it's coming from pacman/libalpm. Can pacaur be run in debug mode or something so you can see exactly what it's trying to do?


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#4 2013-03-22 19:00:27

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

Re: pacaur - unable to install linux-aufs_friendly

Hi,

I actually tried using packer as a comparison but am having some other network issues.  I will plan on trying packer, then makepkg, and finally pacaur with debug information.

Thanks,

Walter

Offline

#5 2013-03-27 17:23:45

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: pacaur - unable to install linux-aufs_friendly

I save a permanent copy of the AUR packages I install and I got this duplucate target error on one occasion when I had two versions of the same package saved.

Look around for a second copy of what you are trying to install from AUR.

Offline

#6 2013-03-28 02:09:26

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

Re: pacaur - unable to install linux-aufs_friendly

I don't have any duplicate copies.  I get this error when building an Arch Linux image (heavily modified Arch ISO scripts).  I'll have to configure the scripts to run in debug mode.  I temporarily reverted back to the working packer AUR helper since it works except for building xen.


Walter

Offline

#7 2013-03-28 12:08:51

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - unable to install linux-aufs_friendly

Here is an easy way to check if pacaur itself is buggy: build the package manually with "makepkg -si". If this fails, then it is the PKGBUILD that needs to be corrected. Otherwise I'd be happy to see a debug output smile
(packer uses a different way to install packages, so the result could be different).

Offline

#8 2013-03-29 00:34:52

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

Re: pacaur - unable to install linux-aufs_friendly

Hi Spyhawk,

Ok, makepkg -si does fail as well:

loading packages...
error: '/tmp/linux-aufs_friendly/linux-aufs_friendly-headers-3.7.10-1-x86_64.pkg.tar.xz': duplicate target
==> WARNING: Failed to install built package(s).

Walter

Offline

#9 2013-03-29 08:51:48

Spyhawk
Member
Registered: 2006-07-07
Posts: 485

Re: pacaur - unable to install linux-aufs_friendly

Looks like this is a splitted package (linux-aufs_friendly & linux-aufs_friendly-headers) which is a bit hackish as split package are not supported by the AUR. There is a way to make them working - I've seen some working in the past - but I've really no idea how to make that one working.
Anyway, nothing that can be done on the pacaur side. You might signal the maintainer that "makepkg -si" fails to install this package.

Offline

Board footer

Powered by FluxBB