From: Aleksey Avdeev <solo@solin.spb.ru> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] Q: Зависимости модулей для Moodle 2.*: Как правельно? (was: Re: Q: Что-то странное с зависимостями) Date: Mon, 05 Sep 2011 18:44:27 +0400 Message-ID: <4E64E04B.8080009@solin.spb.ru> (raw) In-Reply-To: <4E5FEC1D.3090903@solin.spb.ru> [-- Attachment #1: Type: text/plain, Size: 2408 bytes --] Приветствую. Частично разобрался с тем что происходит, но как правильно поправить ситуацию -- не понял. На текущий момент ситуация такая: 1. Есть несколько пакетов, предоставляющих moodle-base, относящиеся к разным веткам Moodle: а) moodle-base (= 1.9.13.20110826-alt1), предоставляющий сам себя. б) moodle2.0-base (= 2.0.4.20110826-alt1), предоставляющий moodle-base (= 2.0.4.20110826-alt1) в) moodle2.1-base (= 2.1.1.20110826-alt1), предоставляющий moodle-base (= 2.1.1.20110826-alt1) 2. Есть пачка модулей, требующих для работы moodle2.*-base (одни и теже модули подходят для Moodle 2.0 и для Moodle 2.1). На первый взгляд, достаточно в модулях для Moodle 2.* выставить зависимость вида: Requires: moodle-base >= 2.0 Но практика показала, что такой путь не работает: похоже что apt находит moodle-base, видит что он условию не удовлетворяет и завершает свою работу сообщив об этом. Похоже, что на пакеты moodle2.{0,1}-base, предоставляющие moodle-base нужных версий -- apt не смотрит вообще... На данный момент, для решения данной проблемы мне видится только следующий изврат: 1. В moodle2.1-base, помимо moodle-base = %version-%release предоставлять и moodle2.0-base = %version-%release. 2. В модулях требовать moodle2.0-base >= 2.0. Есть ли более правильное решение? 02.09.2011 00:33, Aleksey Avdeev пишет: > Приветствую. > > Что-то странное у меня с зависимостями образовалось (возможно я > перемудрил с ними): > > $ hsh-install /tmp/.private/solo/hasher/ moodle2.0-mod-book ... > Следующие пакеты имеют неудовлетворенные зависимости: > moodle2.0-mod-book: Требует: moodle-base (>= 2.0) ... > > И это при том, что в Сизифе есть moodle2.0-base, который должен > удовлетворить требования: > > $ rpm -qp --provides > /ALT/Sisyphus/noarch/RPMS.classic/moodle2.0-base-2.0.4.20110826-alt1.noarch.rpm > > moodle-base = 2.0.4.20110826-alt1 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... > moodle2.0-base = 2.0.4.20110826-alt1 > > Я ошибаюсь, и moodle-base = 2.0.4.20110826-alt1 не удовлетворят > moodle-base >= 2.0 и/или moodle-version = 2011033004.05 не удовлетворят > moodle-version >= 2010120700? > > > > > _______________________________________________ > Devel mailing list > Devel@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/devel -- С уважением. Алексей. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 900 bytes --]
next prev parent reply other threads:[~2011-09-05 14:44 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-09-01 20:33 [devel] Q: Что-то странное с зависимостями Aleksey Avdeev 2011-09-05 14:44 ` Aleksey Avdeev [this message] 2011-09-05 20:25 ` Aleksey Avdeev
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=4E64E04B.8080009@solin.spb.ru \ --to=solo@solin.spb.ru \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git