1

i want to just some packages installation from unstable version of debian.

apt-get -t unstable install myspecialpackage

but when i

apt-get upgrade

it will wanting to download some packages from unstable.

also i added this line /etc/apt/apt.conf

APT::Default-Release "stable";

what's my mistake?

1 Answer 1

1

You need to use pinning and set all unstable packages to a pinning value below 500, and add pinning values above those for stable (normally 500, but 990 if APT::Default-Release is used) for those unstable packages you want:

Example /etc/apt/preferences:

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

Package: myspecialpackage
Pin: release a=unstable
Pin-Priority: 991

(I can't remember if the order actually matters. If so, reverse the two paragraphs.)

Have a look in the apt_preferences(5) man page for the details.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .