ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Artem Zolochevskiy <artem.zolochevskiy@gmail.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] только один пакет в системе: Provides или 	??Provides+Conflicts
Date: Wed, 21 May 2008 20:11:18 +0300
Message-ID: <200805212011.19321.artem.zolochevskiy@gmail.com> (raw)
In-Reply-To: <20080521165919.GG5845@wrars-comp.wrarsdomain>

В сообщении от Wednesday 21 May 2008 07:59:19 pm Andrey Rahmatullin 
написал(а):
> On Wed, May 21, 2008 at 07:48:39PM +0300, Artem Zolochevskiy wrote:
> > Ивините Андрей, я так и не понял _кто_ (видимо apt)  и _что_ именно
> > просто не поставит :(
>
> Пакет, конфликтующий сам с собой, как и было показано выше.

А..., ну это я и сам увидел.

Ну а если вы про apt (мне показалось, что вы именно в связи с apt 
высказались), то он вполне справился с задачей.

# apt-get install foo
Reading Package Lists... Done
Building Dependency Tree... Done
Package foo is a virtual package provided by:
  mypackage-two 0.1-alt1
  mypackage-one 0.1-alt1
You should explicitly select one to install.
E: Package foo is a virtual package with multiple good providers

# apt-get install mypackage-two
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
  mypackage-two
0 upgraded, 1 newly installed, 0 removed and 0 not upgraded.
Need to get 0B/1446B of archives.
After unpacking 0B of additional disk space will be used.
Committing changes...
Preparing...                                                                
##################### [100%]
Done.

# rpmquery -p --provides mypackage-one-0.1-alt1.noarch.rpm 
mypackage-two-0.1-alt1.noarch.rpm
foo
mypackage-one = 0.1-alt1
foo
mypackage-two = 0.1-alt1

# rpmquery -p --conflicts mypackage-one-0.1-alt1.noarch.rpm 
mypackage-two-0.1-alt1.noarch.rpm
foo
foo


-- 
Артём Золочевский

  reply	other threads:[~2008-05-21 17:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-21  8:18 [devel] только один пакет в системе: Provides или Provides+Conflicts Artem Zolochevskiy
2008-05-21  9:07 ` Ildar Mulyukov
2008-05-21 15:04   ` Artem Zolochevskiy
2008-05-21 15:31     ` Andrey Rahmatullin
2008-05-21 16:26       ` Artem Zolochevskiy
2008-05-21 16:42         ` [devel] только один пакет в системе: Provides или ?Provides+Conflicts Andrey Rahmatullin
2008-05-21 16:48           ` Artem Zolochevskiy
2008-05-21 16:59             ` [devel] только один пакет в системе: Provides или ??Provides+Conflicts Andrey Rahmatullin
2008-05-21 17:11               ` Artem Zolochevskiy [this message]
2008-05-21 15:38     ` [devel] только один пакет в системе: Provides или Provides+Conflicts Aleksey Avdeev
2008-05-21 15:57       ` Andrey Rahmatullin
2008-05-21 10:03 ` 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=200805212011.19321.artem.zolochevskiy@gmail.com \
    --to=artem.zolochevskiy@gmail.com \
    --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