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

Re: Сломанные зависимости.



> А в командной строке apt-get был передан параметр "пины слегка
> переставить" (-t). При вызове же apt-cache этого параметра, вероятно,
> не было.

Ну конечно! :)
И как я сам не догадался? Наверное, дело было в весьма позднем времени
суток.

Ответ крылся в описании воздействия параметра --target-release (-t) на
вес репозиториев, который все это был под носом - в man
apt_preferences. :)

Цитирую:
------------------------------------------------------------------------
   APT's Default Priority Assignments
       If there is no preferences file or if there is no entry in the
       file that applies to a particular version then the priority
       assigned to that version is the priority of the distribution to
       which that version belongs. It is possible to single out a
       distribution, "the target release", which receives a higher
       priority than other distributions do by default. The target
       release
       can be set on the apt-get command line or in the APT
       configuration file /etc/apt/apt.conf. Note that this has
       precedence over any
       general priority you set in the /etc/apt/preferences file
       described later, but not over specifically pinned packages. For
       example,

           apt-get install -t testing some-package

           APT::Default-Release "stable";

       If the target release has been specified then APT uses the
       following algorithm to set the priorities of the versions of a
       package.
       Assign:

       priority 1
           to the versions coming from archives which in their Release
           files are marked as "NotAutomatic: yes" like the debian
           experimental archive.

       priority 100
           to the version that is already installed (if any).

       priority 500
           to the versions that are not installed and do not belong to
           the target release.

       priority 990
           to the versions that are not installed and belong to the
           target release.
------------------------------------------------------------------------

Иными словами, все получалось, как написано в документации - всем
пакетам, кроме относящихся к target-release, присваивался пин 500.

Все. Разобрались. Ура, товарищи! :)


-- 
**************************************
*  jabber:  freehck@jabber.mipt.ru   *
*   Registered linux user #546240    *
**************************************


Reply to: