ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] codeine-1.0.1.3-alt8: Sisyphus/i586 test rebuild failed
Date: Mon, 16 Mar 2009 13:15:15 +0300
Message-ID: <20090316101515.GH9773@altlinux.org> (raw)
In-Reply-To: <20090316100724.GA7828@max.spb.altlinux.ru>

[-- Attachment #1: Type: text/plain, Size: 1640 bytes --]

On Mon, Mar 16, 2009 at 01:07:27PM +0300, Kirill Maslinsky wrote:
> > > Как на подобное реагировать?
> > [at@people ~]$ hsh --init --no-stuff && hsh-install ghostscript-utils tetex-latex
> [...]
> > E: Broken packages
> > hsh-install: failed to calculate package file list.
> > hsh-install: Failed to generate package file list.
> > 
> > [at@people ~]$ hsh --init --no-stuff && hsh-install tetex-latex ghostscript-utils
> > [at@people ~]$ 
> > 
> > Обосраться.
> > 
> > Дело в том что пакет ghostscript-utils требует /usr/bin/dvips.
> > Когда ghostscript-utils идёт первым, то он вытягивает texlive,
> > и после этого tetex поставить уже нельзя из-за конфликтов.
> 
> А какое поведение следует считать в данном случае правильным: 
> в обоих случаях должен быть выбран tetex-dvips и сформирован чрут?

Правильно сделать патч на апт, чтобы он формировал список пакетов
в две стадии: первая стадия -- поверхностный выбор пакетов, вторая --
глубокий выбор (с дополнением всех зависимостей).

Сейчас фаза всего одна, она для каждого пакета совмещает как отбор
самого пакета, так и отбор всех его зависимостей.

То есть сейчас работает псевдокод

	for p in ghostscript-utils tetex-latex 
		shallow_mark p
		deep_mark p

На стадии "deep_mark ghostscript-utils" отбирается
texlive, а на следующией итерации "shallow_mark tetex-latex"
получается привет.

А должен работать псевдокод

	for p in ghostscript-utils tetex-latex 
		shallow_mark p
	for p in ghostscript-utils tetex-latex 
		deep_mark p

Тогда во втором цикле texlive выбран не будет, потому что альтернативный
кандидат tetex-core уже выбран.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2009-03-16 10:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-16  2:46 ` Led
2009-03-16  7:50   ` Epiphanov Sergei
2009-03-16 10:19     ` Kirill Maslinsky
2009-03-16 11:04       ` Led
2009-03-16 12:57         ` Kirill Maslinsky
2009-03-16  8:49   ` Alexey Tourbin
2009-03-16 10:02     ` [devel] tetex / texlive conflict Grigory Batalov
2009-03-21 10:43       ` Michael Shigorin
2009-03-21 14:05         ` Kirill Maslinsky
2009-03-21 15:39           ` Michael Shigorin
2009-03-22 13:20         ` Grigory Batalov
2009-03-16 10:07     ` [devel] codeine-1.0.1.3-alt8: Sisyphus/i586 test rebuild failed Kirill Maslinsky
2009-03-16 10:09       ` Grigory Batalov
2009-03-16 10:20         ` Kirill Maslinsky
2009-03-16 10:15       ` Alexey Tourbin [this message]
2009-03-16 11:32         ` Alexey Tourbin

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=20090316101515.GH9773@altlinux.org \
    --to=at@altlinux.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