Re: Сломанные зависимости.
On Sun, Dec 11, 2011 at 11:07:00AM +0400, Степан Голосунов wrote: Но, скорее, в данном случае пин 990 был не у squeeze, а у mpd-squeeze. 500 у него. А у squeeze он был ровно такой-же, как и у всего прочего. Гм. -- WBR, wRAR signature.asc Description: Digital signature
Re: Сломанные зависимости.
Andrey Rahmatullin w...@wrar.name writes: On Sun, Dec 11, 2011 at 11:07:00AM +0400, Степан Голосунов wrote: Но, скорее, в данном случае пин 990 был не у squeeze, а у mpd-squeeze. 500 у него. А в командной строке apt-get был передан параметр пины слегка переставить (-t). При вызове же apt-cache этого параметра, вероятно, не было. А у squeeze он был ровно такой-же, как и у всего прочего. Гм. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87y5ujea5x@sghpc.hn.golosunov.pp.ru
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: free...@jabber.mipt.ru * * Registered linux user #546240* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ehwbqv94@gmail.com
Re: Сломанные зависимости.
,-[Dmitrii Kashin, 10 December 2011 16:48]: Наблюдаю интересную вещь: freehck@localhost:~$ LANG=C apt-get -s install -t mpd-squeeze mpd NOTE: This is only a simulation! apt-get needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libc6-dev : Breaks: gcc-4.4 ( 4.4.6-4) but 4.4.5-8 is to be installed E: Broken packages Есть ли у сообщества соображения, где я глупость сделал? может, поставить гцц-4.6 ? а то 4.4 вроде давно уже было ) -- __ mpd status: [paused] Judas Priest - Wild Nights, Hot Crazy Days ** * jabber: devil_ins...@jabber.ru * * Registered linux user #450844* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jbvm40$e0o$1...@dough.gmane.org
Re: Сломанные зависимости.
может, поставить гцц-4.6 ? а то 4.4 вроде давно уже было ) gcc-4.6 есть только в testing-ветке. Этот mpd - будущий бэкпорт. Система у меня - чистый стейбл. Так что ничего из тестинга я ставить не надо. -- ** * jabber: free...@jabber.mipt.ru * * Registered linux user #546240* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87ty58h1df@gmail.com
Re: Сломанные зависимости.
,-[Dmitrii Kashin, 10 December 2011 19:50]: может, поставить гцц-4.6 ? а то 4.4 вроде давно уже было ) gcc-4.6 есть только в testing-ветке. Этот mpd - будущий бэкпорт. Система у меня - чистый стейбл. Так что ничего из тестинга я ставить не надо. может тогда его пересобрать в окружении стейбла нада ? ) если он хочет чего то тама по части либц и гцц из тестинга, значит ли это, что он уже пересобран? есть некоторое подозрение, что новые либц и гцц нужны пакетам, которые ими и собирались. ) по крайней мере, когда я из сурс - пакета пересобирал в стейбле kernel- package из тестинга, система у меня ничего в стейбл из тестинга ставить не хотела. -- __ mpd status: [paused] Judas Priest - Heavy Metal ** * jabber: devil_ins...@jabber.ru * * Registered linux user #450844* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/jc00e8$cu2$1...@dough.gmane.org
Re: Сломанные зависимости.
On Sat, Dec 10, 2011 at 04:48:25PM +0400, Dmitrii Kashin wrote: Наблюдаю интересную вещь: freehck@localhost:~$ LANG=C apt-get -s install -t mpd-squeeze mpd NOTE: This is only a simulation! apt-get needs root privileges for real execution. Keep also in mind that locking is deactivated, so don't depend on the relevance to the real current situation! Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libc6-dev : Breaks: gcc-4.4 ( 4.4.6-4) but 4.4.5-8 is to be installed E: Broken packages Однако пакет него даже не зависит: У вас libc6 из сида хочет поставиться. Например потому что mpd требует некоторый пакет, не установленный в системе сейчас, и апт по умолчанию ставит его из сида. 0.16.5-1 0 500 ftp://mirror.yandex.ru/debian/ wheezy/main i386 Packages 500 ftp://mirror.yandex.ru/debian/ sid/main i386 Packages 0.16.4-1+0~1+squeeze~1.gbpa4e029 0 500 http://icingabuild.dus.dg-i.net/ mpd-squeeze/main i386 Packages *** 0.15.12-1.1 0 990 ftp://mirror.yandex.ru/debian/ squeeze/main i386 Packages 100 /var/lib/dpkg/status Смело. Есть ли у сообщества соображения, где я глупость сделал? Включили в stable-системе тестинг и сид (да ещё и, похоже, Default-Release не выставили). -- WBR, wRAR signature.asc Description: Digital signature
Re: Сломанные зависимости.
Похоже, мне стоит подробнее описать свою проблему. Дело в том, что я обычный юзер, сборкой пакетов не занимаюсь, ничего в этом пока не понимаю. Имел неосторожность пожелать новую версию mpd, и еще большую неосторожность - попросить сделать бэкпорт у его мейнтейнеров. Ситуация такова: Александр Вирт, основной мейнтейнер mpd, пакетик-то собрал - и у него он даже за милую душу ставится. Вот пример вывода ЕГО установки: apt-get -s install mpd Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libao-common libao4 libaudiofile0 libavahi-glib1 libavcodec52 libavformat52 libavutil49 libdirac-encoder0 libfaad2 libgsm1 libid3tag0 libjack-jackd2-0 libmad0 libmikmod2 libmms0 libmpcdec6 liborc-0.4-0 libsamplerate0 libschroedinger-1.0-0 libshout3 libspeex1 libtheora0 libvorbisfile3 libwavpack1 Suggested packages: libaudio2 libesd0 libesd-alsa0 jackd2 speex avahi-daemon icecast2 mpd-client pulseaudio The following NEW packages will be installed: libao-common libao4 libaudiofile0 libavahi-glib1 libavcodec52 libavformat52 libavutil49 libdirac-encoder0 libfaad2 libgsm1 libid3tag0 libjack-jackd2-0 libmad0 libmikmod2 libmms0 libmpcdec6 liborc-0.4-0 libsamplerate0 libschroedinger-1.0-0 libshout3 libspeex1 libtheora0 libvorbisfile3 libwavpack1 mpd 0 upgraded, 25 newly installed, 0 to remove and 0 not upgraded. Inst libao-common (1.0.0-5 Debian:6.0.3/stable [amd64]) Inst libao4 (1.0.0-5 Debian:6.0.3/stable [amd64]) Inst libaudiofile0 (0.2.6-8 Debian:6.0.3/stable [amd64]) Inst libavahi-glib1 (0.6.27-2+squeeze1 Debian:6.0.3/stable [amd64]) Inst libavutil49 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Inst libdirac-encoder0 (1.0.2-3 Debian:6.0.3/stable [amd64]) Inst libfaad2 (2.7-6 Debian:6.0.3/stable [amd64]) Inst libgsm1 (1.0.13-3 Debian:6.0.3/stable [amd64]) Inst liborc-0.4-0 (1:0.4.6-2 Debian:6.0.3/stable [amd64]) Inst libschroedinger-1.0-0 (1.0.9-2 Debian:6.0.3/stable [amd64]) Inst libspeex1 (1.2~rc1-1 Debian:6.0.3/stable [amd64]) Inst libtheora0 (1.1.1+dfsg.1-3 Debian:6.0.3/stable [amd64]) Inst libavcodec52 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Inst libavformat52 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Inst libid3tag0 (0.15.1b-10 Debian:6.0.3/stable [amd64]) Inst libjack-jackd2-0 (1.9.6~dfsg.1-2 Debian:6.0.3/stable [amd64]) Inst libmad0 (0.15.1b-5 Debian:6.0.3/stable [amd64]) Inst libmikmod2 (3.1.11-a-6.3 Debian:6.0.3/stable [amd64]) Inst libmms0 (0.6-1+squeeze1 Debian:6.0.3/stable [amd64]) Inst libmpcdec6 (2:0.1~r459-1 Debian:6.0.3/stable [amd64]) Inst libsamplerate0 (0.1.7-3 Debian:6.0.3/stable [amd64]) Inst libshout3 (2.2.2-5+b1 Debian:6.0.3/stable [amd64]) Inst libvorbisfile3 (1.3.1-1 Debian:6.0.3/stable [amd64]) Inst libwavpack1 (4.60.1-1 Debian:6.0.3/stable [amd64]) Inst mpd (0.16.4-1+0~1+squeeze~1.gbpa4e029 icingabuild.dus.dg-i.net [amd64]) Conf libao-common (1.0.0-5 Debian:6.0.3/stable [amd64]) Conf libao4 (1.0.0-5 Debian:6.0.3/stable [amd64]) Conf libaudiofile0 (0.2.6-8 Debian:6.0.3/stable [amd64]) Conf libavahi-glib1 (0.6.27-2+squeeze1 Debian:6.0.3/stable [amd64]) Conf libavutil49 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Conf libdirac-encoder0 (1.0.2-3 Debian:6.0.3/stable [amd64]) Conf libfaad2 (2.7-6 Debian:6.0.3/stable [amd64]) Conf libgsm1 (1.0.13-3 Debian:6.0.3/stable [amd64]) Conf liborc-0.4-0 (1:0.4.6-2 Debian:6.0.3/stable [amd64]) Conf libschroedinger-1.0-0 (1.0.9-2 Debian:6.0.3/stable [amd64]) Conf libspeex1 (1.2~rc1-1 Debian:6.0.3/stable [amd64]) Conf libtheora0 (1.1.1+dfsg.1-3 Debian:6.0.3/stable [amd64]) Conf libavcodec52 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Conf libavformat52 (4:0.5.4-1 Debian:6.0.3/stable [amd64]) Conf libid3tag0 (0.15.1b-10 Debian:6.0.3/stable [amd64]) Conf libjack-jackd2-0 (1.9.6~dfsg.1-2 Debian:6.0.3/stable [amd64]) Conf libmad0 (0.15.1b-5 Debian:6.0.3/stable [amd64]) Conf libmikmod2 (3.1.11-a-6.3 Debian:6.0.3/stable [amd64]) Conf libmms0 (0.6-1+squeeze1 Debian:6.0.3/stable [amd64]) Conf libmpcdec6 (2:0.1~r459-1 Debian:6.0.3/stable [amd64]) Conf libsamplerate0 (0.1.7-3 Debian:6.0.3/stable [amd64]) Conf libshout3 (2.2.2-5+b1 Debian:6.0.3/stable [amd64]) Conf libvorbisfile3 (1.3.1-1 Debian:6.0.3/stable [amd64]) Conf libwavpack1 (4.60.1-1 Debian:6.0.3/stable [amd64]) Conf mpd (0.16.4-1+0~1+squeeze~1.gbpa4e029 icingabuild.dus.dg-i.net [amd64]) looks good here. А вот как это выглядит у МЕНЯ: freehck@localhost:~$ apt-get -s install -t mpd-squeeze mpd ЗАМЕЧАНИЕ: Производить только имитация работы! Для реальной работы apt-get требуются права суперпользователя. Учтите, что блокировка не используется, поэтому нет полного соответствия с текущей реальной ситуацией! Чтение списков пакетов... Готово Построение дерева зависимостей Чтение информации о
Re: Сломанные зависимости.
У вас libc6 из сида хочет поставиться. Например потому что mpd требует некоторый пакет, не установленный в системе сейчас, и апт по умолчанию ставит его из сида. APT не может по умолчанию поставить что-либо из сида, по причине установленного Default-Release на squeeze, а еще потому, что я ставлю пакеты только из stable и squeeze-backports. 0.16.5-1 0 500 ftp://mirror.yandex.ru/debian/ wheezy/main i386 Packages 500 ftp://mirror.yandex.ru/debian/ sid/main i386 Packages 0.16.4-1+0~1+squeeze~1.gbpa4e029 0 500 http://icingabuild.dus.dg-i.net/ mpd-squeeze/main i386 Packages *** 0.15.12-1.1 0 990 ftp://mirror.yandex.ru/debian/ squeeze/main i386 Packages 100 /var/lib/dpkg/status Смело. Есть ли у сообщества соображения, где я глупость сделал? Включили в stable-системе тестинг и сид (да ещё и, похоже, Default-Release не выставили). Я Вас не понимаю, Андрей. Вы строчку с приоритетом 990 видите? -- ** * jabber: free...@jabber.mipt.ru * * Registered linux user #546240* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87aa70gwf8@gmail.com
Re: Сломанные зависимости.
On Sat, Dec 10, 2011 at 09:37:31PM +0400, Dmitrii Kashin wrote: У вас libc6 из сида хочет поставиться. Например потому что mpd требует некоторый пакет, не установленный в системе сейчас, и апт по умолчанию ставит его из сида. APT не может по умолчанию поставить что-либо из сида, по причине установленного Default-Release на squeeze OK. Значит libc6 из стейбла кого-то из свежеустаноавливаемых не устраивает по версии. Смотрите aptitude why0not или как там этот новомодный инструмент называется. а еще потому, что я ставлю пакеты только из stable и squeeze-backports. Ы? 0.16.5-1 0 500 ftp://mirror.yandex.ru/debian/ wheezy/main i386 Packages 500 ftp://mirror.yandex.ru/debian/ sid/main i386 Packages 0.16.4-1+0~1+squeeze~1.gbpa4e029 0 500 http://icingabuild.dus.dg-i.net/ mpd-squeeze/main i386 Packages *** 0.15.12-1.1 0 990 ftp://mirror.yandex.ru/debian/ squeeze/main i386 Packages 100 /var/lib/dpkg/status Смело. Есть ли у сообщества соображения, где я глупость сделал? Включили в stable-системе тестинг и сид (да ещё и, похоже, Default-Release не выставили). Я Вас не понимаю, Андрей. Вы строчку с приоритетом 990 видите? Теперь вижу. -- WBR, wRAR signature.asc Description: Digital signature
Re: Сломанные зависимости.
Значит libc6 из стейбла кого-то из свежеустаноавливаемых не устраивает по версии. Смотрите aptitude why0not или как там этот новомодный инструмент называется. Спасибо. Раньше aptitude не пользовался, предпочитал apt-get. Буду знать, что в нем есть неплохие средства диагностики. Правда, в этот раз они не очень помогли: freehck@localhost:~$ aptitude -t mpd-squeeze why-not mpd Не удалось найти причину для удаления mpd. -- ** * jabber: free...@jabber.mipt.ru * * Registered linux user #546240* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87vcpoffjb@gmail.com
Re: Сломанные зависимости.
Однако. Удаление из списка источников репозиториев wheezy и sid решило мои проблемы. Мне хочется только одного понять - что изменилось-то? У этих репозиториев был пин 500. У репозитория squeeze был пин 990. По сути, все пакеты должны были бы ставиться из squeeze. Даже если проблема, как утверждает товарищ Рахматулин, собственно, в пакете - и он действительно требует gcc-4.4 из тестинга (что, в общем-то странно, т.к. в Depends такого не обозначено), то не понятно, как это требование могло вдруг само по себе пропасть, после удаления содержащих их реп. Очень, очень непонятно. -- ** * jabber: free...@jabber.mipt.ru * * Registered linux user #546240* ** -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mxb0f5nw@gmail.com
Re: Сломанные зависимости.
On Sun, Dec 11, 2011 at 02:00:51AM +0400, Dmitrii Kashin wrote: Даже если проблема, как утверждает товарищ Рахматулин Рахматуллин. собственно, в пакете - и он действительно требует gcc-4.4 из тестинга Это ложь, я этого не утверждал. -- WBR, wRAR signature.asc Description: Digital signature
Re: Сломанные зависимости.
Dmitrii Kashin free...@gmail.com writes: Однако. Удаление из списка источников репозиториев wheezy и sid решило мои проблемы. Мне хочется только одного понять - что изменилось-то? У этих репозиториев был пин 500. У репозитория squeeze был пин 990. По сути, все пакеты должны были бы ставиться из squeeze. Чтобы apt самовольно не пытался устанавливать пакеты не из stable, пин им лучше выставлять отрицательным. Даже если проблема, как утверждает товарищ Рахматулин, собственно, в пакете - и он действительно требует gcc-4.4 из тестинга (что, в общем-то странно, т.к. в Depends такого не обозначено), то не понятно, как это требование могло вдруг само по себе пропасть, после удаления содержащих их реп. Например, какие-нибудь альтернативные зависимости. Первая из которых есть в testing, но отсутствует в stable. Но, скорее, в данном случае пин 990 был не у squeeze, а у mpd-squeeze. А у squeeze он был ровно такой-же, как и у всего прочего. -- To UNSUBSCRIBE, email to debian-russian-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87borffuy3@sghpc.hn.golosunov.pp.ru