You are not logged in.

#1 2016-02-29 18:12:18

Serg!0
Member
Registered: 2016-02-29
Posts: 3

Specify the repository name provides,conflicts,replaces relations

In depends, make depends a slash before the the name of the package, I can specify the repository name. The package relations (provides, conflicts, replaces) to resolve package conflicts with the same name but are in different repositories does not work. Package just updated without warning about conflicts. For example:
provides = (core / linux = $ pkgver)
conflicts = (core / linux)
Why the developers did not add this possibility?

Offline

#2 2016-02-29 18:13:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Specify the repository name provides,conflicts,replaces relations

Because packages shouldn't have the same names?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-02-29 18:18:33

Serg!0
Member
Registered: 2016-02-29
Posts: 3

Re: Specify the repository name provides,conflicts,replaces relations

But they are in a different repository. Custom (for example) and Core.

Offline

#4 2016-02-29 18:31:47

Serg!0
Member
Registered: 2016-02-29
Posts: 3

Re: Specify the repository name provides,conflicts,replaces relations

For example, I want to install the package "linux" from my "custom" repository. I run the command: pacman -S custom / linux. Warning about the conflict of the "core" of the repository is not displayed and the package is updated. If the "core" will be a new version of the package will replace the package of "custom" repository. I do not want my package from the "custom" package repository substitution of "core" repository.

Offline

#5 2016-02-29 18:57:54

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Specify the repository name provides,conflicts,replaces relations

Then you should give your package a name that won't collide with the official one: linux-custom, for example.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB