View Single Post
nonsuch's Avatar
Posts: 584 | Thanked: 1,550 times | Joined on Sep 2019
#4
Originally Posted by nonsuch View Post
None of these are disabled, but according to this I added to /etc/apt/preferences:
Code:
Package: *
Pin: release l=Extras
Pin-Priority: 1001
I thought this would prevent potential disaster.
Quoting from that wiki page:
To keep from unintentionally upgrading to an extras-testing or extras-devel software version, it is possible to tell apt to always prefer stable packages over these other repositories via apt-pinning.
But - looking at that sentence, and the apt-get upgrade output, I see that this only applies to extras-devel and not community-devel.
Would it be possible to expand the apt pinning to community/community-devel repos? I'm not sure about the syntax.

Is apt pinning even recommendable in a special situation like this?

Let's say I want to install a package from extras-devel or cssu-devel, and it wants to pull in dependencies - shouldn't those also be from extras-devel or cssu-devel?
I just tried with claws-mail from extras-devel, and with the apt pinning as above it installed all dependencies from the stable repos.
 

The Following 2 Users Say Thank You to nonsuch For This Useful Post: