tpkg / client

tpkg client code
MIT License
5 stars 7 forks source link

Add "replaces" to compliment "conflicts" #11

Open jheiss opened 12 years ago

jheiss commented 12 years ago

We should allow users to indicate that a package replaces another package. I.e. the package used to be named foo and is now named bar, i.e. bar replaces foo. In that case we would always silently replace foo with bar if bar were explicitly requested or came in via dependencies. This compliments the "conflicts" option, which serves to say that two packages do the same thing and we don't want both installed at the same time, but don't have a preference between the two. "replaces" indicates that we do have a preference, and should automatically update to the "replaces" package.

Was: https://sourceforge.net/apps/trac/tpkg/ticket/12