You are not logged in.

#1 2014-05-06 01:47:37

Neven
Member
Registered: 2014-05-02
Posts: 75

[SOLVED] duplicate target error

What does the pacman message
    error: package: duplicate target
mean?
I've found no mention of errors in the pacman man-page, and that particular one doesn't seem to be explained on the wiki.

Last edited by Neven (2014-05-06 22:02:04)

Offline

#2 2014-05-06 02:08:46

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [SOLVED] duplicate target error

It means you listed the package twice.  It should really only be a warning instead of an error.

Offline

#3 2014-05-06 02:21:58

Neven
Member
Registered: 2014-05-02
Posts: 75

Re: [SOLVED] duplicate target error

But if I do e.g.
    pacman -S abs abs
I don't get the error message.
So I don't understand to what exactly the error refers.

Offline

#4 2014-05-06 02:27:02

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

Re: [SOLVED] duplicate target error

What command causes the error?


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

#5 2014-05-06 02:27:47

apg
Developer
Registered: 2012-11-10
Posts: 211

Re: [SOLVED] duplicate target error

-S and -R treat the "error" differently.  -S gives a warning and skips the duplicate package, -R probably should too.

Offline

#6 2014-05-06 22:01:23

Neven
Member
Registered: 2014-05-02
Posts: 75

Re: [SOLVED] duplicate target error

Thank you I understand now why pacman gave me the error.
I got it when using makepkg -i (pacman -U) to install gcc from abs and makepkg for some reason gave pacman -U packages more than once.
Maybe I'll try too look into it more.

Offline

Board footer

Powered by FluxBB