LINUX.ORG.RU

Собственно хочу вытянуть некоторые пакеты из testing но целиком до него обновлятся нехочу ( stable должен остаться основным репом )как правильно это сделать ?

Крутить pinning.

How APT Interprets Priorities
Priorities (P) assigned in the APT preferences file must be positive or negative integers. They are interpreted as follows (roughly speaking):

P > 1000
causes a version to be installed even if this constitutes a downgrade of the package

990 < P <=1000
causes a version to be installed even if it does not come from the target release, unless the installed version is more recent

500 < P <=990
causes a version to be installed unless there is a version available belonging to the target release or the installed version is more recent

100 < P <=500
causes a version to be installed unless there is a version available belonging to some other distribution or the installed version is more recent

0 < P <=100
causes a version to be installed only if there is no installed version of the package

P < 0
prevents the version from being installed



Я сейчас тебе точно не скажу, но хорошие примеры есть в man apt_preferences

kid_lester
()
Ответ на: комментарий от kitar

Раскоментировать временно в sources.list, вытянуть, потом закоментировать ?

k0st
()

/etc/apt/apt.conf

APT::Default-Release «stable»;
GotF ★★★★★
()
$ cat /etc/apt/preferences
Package: *
Pin: release a=squeeze-backports
Pin-Priority: 450

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

Package: *
Pin: release a=unstable
Pin-Priority: 300
cac2s
()

я обычно пересобираю из тестинговых сорцов

lazyklimm ★★★★★
()

я временно подключаю testing, устанавливаю ПО и отключаю тестинг после aptitude -f install пока все робит :)

minakov ★★★★★
()

При пинниге зависимые библиотеки тоже будут обновлятся. Лучше юзать debian-backports

blind_oracle ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.