AmauryPi
AmauryPi

Reputation: 33

How Debian manage conflicts on packages names?

How Debian manage conflicts on packages names? As example, when there is many packages with the same name on various repositories.

Upvotes: 3

Views: 1644

Answers (3)

joris
joris

Reputation: 121

You can use apt's preferences file to give your repository a higher priority.

man apt_preferences

Upvotes: 1

Neil
Neil

Reputation: 2438

See the Debian Policy Manual.

Section 3.1 says every package needs a unique name. Section 3.2 describes how version numbers are to be determined.

Upvotes: 2

Kan-Ru Chen
Kan-Ru Chen

Reputation: 1067

When there are many packages with the same name, how could APT know they are different? It can not. So it will install the one who has the highest version number.

Upvotes: 2

Related Questions