[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: force stable package if avail



Jean-Sebastien Pilon wrote:
Sorry did not see previous post about this.

That means a good bet would be: !?

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 600

Package: *
Pin: release a=unstable
Pin-Priority: 500




I would lower the priorities for testing and unstable, if you really want to be sure to track only stable. By default, apt assigns a priority of 100 to packages that are already installed. Therefore, giving testing and unstable priorities of less than 100 will ensure that you won't inadvertently install a package from testing or unstable. For example:

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 90

Package: *
Pin: release a=unstable
Pin-Priority: 80

It's not, strictly speaking, necessary, but it might prevent an oopsie.


--
Michael M. ++ Portland, OR ++ USA
"No live organism can continue for long to exist sanely under conditions of absolute reality; even larks and katydids are supposed, by some, to dream." --S. Jackson



Reply to: