Score:0

What is the combination rule of priority among certain apt repositories?

ru flag

Many use a ppa repository to install a certain featured package. Is it possible to tell apt only to install that certain package (perhaps with dependencies too) from that ppa, whereas to choose the system-wide repository over the ppa repository when installing any other package?

To make it more specific, a preference file specifying the priority of certain repository can be like:

Package: *
Pin: repository_A
Pin-Priority: 200

which sets possible installation of any package from repository_A with priority 200. While the definition below would set installation of <certain_package> from repository_B with priority 300.

Package: <certain_package>
Pin: repository_B
Pin-Priority: 300

So the question turns out to be: Can I use a similar priority hierarchy to get what I want?

muru avatar
us flag
https://askubuntu.com/a/211964/158442 has a nice concrete example
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.