ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Kirill Maslinsky <kirill@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] orphaned conflicts: policy question
Date: Wed, 21 Jan 2009 13:09:38 +0300
Message-ID: <20090121100938.GC7286@localhost.localdomain> (raw)
In-Reply-To: <20090120135739.GA24357@mw.office.seiros.ru>

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

On Tue, Jan 20, 2009 at 04:57:39PM +0300, Денис Смирнов wrote:
> On Tue, Jan 20, 2009 at 02:40:26PM +0300, Kirill Maslisnky wrote:
> 
> KM> Что наводит на мысль, что наличие Conflicts: на отсутствующий пакет 
> KM> является нормальным явлением с точки зрения модели данных репозитория, 
> KM> а исправлять нужно apt, который ситуацию 
> KM> apt-get install <name> обрабатывает как невозможность установить пакет,
> KM> хотя <name> встречается только в списке конфликтов и надо бы сообщать, 
> KM> что "нет такого пакета".
> 
> Думаю это верная мысль, хотя касается только usability.

Погодите, тут есть ещё один момент: 
Возьмём ситуацию, когда 
    + пакет A был переименован в AХ
    + в пакет AX не была добавлена клауза Provides: A
    + пакет B содержит клаузу Conflicts: A
в результате
    = явный конфликт между пакетами B и AX утрачен,
      в то время как по смыслу конфликт вероятнее всего 
      сохраняется. 
      Налицо ошибка, побочным симптомом которой является 
      "orphaned conflict". 
      
      Суть ошибки: не была добавлена клауза Provides
      при переименовании пакета. Верно?
      
      Впрочем, пакет A(AX) мог бы иметь клаузу Conflicts: B,
      тогда проблемы бы не возникло, ну разве что оба
      пакета (А и B) будут переименованы.

      

-- 
Kirill Maslinsky
ALT Linux Team

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

  reply	other threads:[~2009-01-21 10:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20  8:35 Kirill Maslisnky
2009-01-20 10:36 ` Денис Смирнов
2009-01-20 11:40   ` Kirill Maslisnky
2009-01-20 13:57     ` Денис Смирнов
2009-01-21 10:09       ` Kirill Maslinsky [this message]
2009-01-21  3:15         ` Igor Vlasenko

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=20090121100938.GC7286@localhost.localdomain \
    --to=kirill@altlinux.org \
    --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