ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Morozov <morozov@novosoft.ru>
To: Sisyphus Mailing list <sisyphus@altlinux.ru>
Cc: devel@altlinux.ru
Subject: Re: [sisyphus] Q: warning: /usr/bin/python is not owned by any package
Date: 12 Mar 2002 16:48:53 +0600
Message-ID: <1015930133.5671.7.camel@sig.novosoft.ru> (raw)
In-Reply-To: <20020312100423.GG28407@ldv.office.alt-linux.org>

В Втр, 12.03.2002, в 16:04, Dmitry V. Levin написал:
> > причем, как config,noreplace,missingok и все такое прочее. Либо, прямая
> > манипуляция RPM DB в процессе update_alternatives. Я не знаю, что хуже.
> Зачем так драматизировать?
> 
> На самом деле все очень просто: каждый пакет, реализующий альтернативу,
> должен:
> 1. (обязательно) указывать "Provides: альтернатива" для всех альтернатив.
>   например, в пакете python22 - Provides: /usr/bin/python
> 2. создавать файл
>   /etc/buildreqs/packages/substitute.d/имя_виртуального_пакета,
>   если необходимо, чтобы при автоматическом вычислении buildrequires
>   вместо имя_реального_пакета подставлялось имя_виртуального_пакета
>   (примеры использования: libpng{2,3}, python{21,22}).
Ну, это вариант, спасибо. Хотя, конечно, научение update_alternatives
RPM DB кроме некоторого количества потенциальных глюков и запоротых баз
:-)) дало бы, в перспективе еще и автоматический --remove при rpm -e.
> 
> 
> Regards,
> 	Dmitry
> 
> +-------------------------------------------------------------------------+
> Dmitry V. Levin     mailto://ldv@alt-linux.org
> ALT Linux Team      http://www.altlinux.com/
> Fandra Project      http://www.fandra.org/
> +-------------------------------------------------------------------------+
> UNIX is user friendly. It's just very selective about who its friends are.


  parent reply	other threads:[~2002-03-12 10:48 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-12  8:50 Michael Shigorin
2002-03-12  9:05 ` Stanislav Ievlev
2002-03-12  9:42   ` Alexey Morozov
2002-03-12  9:55     ` Dmitry V. Levin
2002-03-12 10:45       ` Alexey Morozov
2002-03-12 10:41         ` Dmitry V. Levin
2002-03-12  9:23 ` Alexey Morozov
2002-03-12  9:27   ` [sisyphus] apt-get Антон Порабкович
2002-03-21 15:31     ` Lenya L. Khachaturov
2002-03-12 10:04   ` [sisyphus] Q: warning: /usr/bin/python is not owned by any package Dmitry V. Levin
2002-03-12 10:34     ` Mikhail Zabaluev
2002-03-12 10:37       ` [devel] " Dmitry V. Levin
2002-03-12 10:48     ` Alexey Morozov [this message]
2002-03-12 10:50       ` Dmitry V. Levin

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=1015930133.5671.7.camel@sig.novosoft.ru \
    --to=morozov@novosoft.ru \
    --cc=devel@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git