ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] I: rpm-4.0.4-alt96.12
Date: Thu, 13 Nov 2008 06:26:19 +0300
Message-ID: <20081113032619.GN31993@altlinux.org> (raw)
In-Reply-To: <75e139a00811121835y1d6d1d33m84e946892eac9e85@mail.gmail.com>

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

On Thu, Nov 13, 2008 at 08:35:45AM +0600, Slava Semushin wrote:
> > В связи с внедрением post-transaction filetriggers просьба все ручные
> > запуски /sbin/ldconfig, %post_ldconfig, %postun_ldconfig и т.п. из
> > %post*-скриптов всех пакетов удалить.
> 
> Нужно ли при этом добавлять Requires: rpm >= 4.0.4-alt96.11 ?

Кстати, эта зависимость бесполезна: чтобы триггеры сработали,
rpm вот этой версии должен быть уже установлен до начала транзакции.
А обычная зависимость этого гарантировать не может -- если rpm
устанавливается в той же самой транзакции, то зависимость оказывается
удовлетворенной.

Зависимость такого рода может быть реализована только на уровне
rpmlib(...).  Для пакетов с триггерами я реализовал автоматическую
зависимость rpmlib(PosttransFiletriggers).  Она гарантирует, что
триггер по крайней мере будет запущен сразу же после установки или
обновления пакета с триггером.  

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

  parent reply	other threads:[~2008-11-13  3:26 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-13  1:43 ` Dmitry V. Levin
2008-11-13  1:50   ` Led
2008-11-13  2:04     ` Dmitry V. Levin
2008-11-13  6:55       ` Vladimir V. Kamarzin
2008-11-13  7:12       ` Alexander Myltsev
2008-11-13  7:23         ` [devel] [JT] " Andrey Rahmatullin
2008-11-13  1:55   ` [devel] " Alexey Tourbin
2008-11-13 10:30     ` Dmitry V. Levin
2008-11-13 11:14         ` Dmitry V. Levin
2008-11-13 11:33           ` Sergey V Turchin
2008-11-13 13:17             ` Igor Vlasenko
2008-11-13 20:04           ` Igor Vlasenko
2008-11-13 20:12             ` Pavlov Konstantin
2008-11-13 20:20               ` Igor Vlasenko
2008-11-13 20:25                 ` Pavlov Konstantin
2008-11-13 20:42                 ` Led
2008-11-13 20:28             ` Alexey I. Froloff
2008-11-13 20:42               ` Igor Vlasenko
2008-11-13 21:51             ` Dmitry V. Levin
2008-11-14 20:05               ` Alexey Tourbin
2008-11-15  4:19                 ` Yuri N. Sedunov
2008-11-15  4:25                   ` Alexey Tourbin
2008-11-15  4:30                     ` Yuri N. Sedunov
2008-11-17 11:41                   ` [devel] UA: libgtk+2-common in 4.1/branch Dmitry V. Levin
2008-11-18  0:36                     ` Dmitry V. Levin
2008-11-18  0:50                       ` Alexey Tourbin
2008-11-18 18:17                         ` Dmitry V. Levin
2008-11-16 17:17                 ` [devel] I: rpm-4.0.4-alt96.12 Dmitry V. Levin
2008-11-16 17:46                   ` Alexey Tourbin
2008-11-16 17:55                     ` Anton Farygin
2008-11-16 17:58                       ` Alexander Bokovoy
2008-11-16 18:06                     ` [devel] [jt] " Dmitry V. Levin
2008-11-13  2:35   ` [devel] " Slava Semushin
2008-11-13  3:13     ` Alexey Tourbin
2008-11-13  4:05       ` Alexey Tourbin
2008-11-13  3:26     ` Alexey Tourbin [this message]
2008-11-13  5:39   ` Sergey Y. Afonin
2008-11-13  6:05     ` Motsyo Gennadi aka Drool
2008-11-13  7:28       ` Sergey Y. Afonin
2008-11-13 13:37         ` Sergey Y. Afonin
2008-11-14 20:10           ` Alexey Tourbin
2008-11-13  8:16   ` Stanislav Ievlev
2008-11-13 13:19   ` Igor Vlasenko
2008-11-13 18:58     ` Денис Смирнов
2008-11-13 19:03       ` Mikhail Gusarov
2008-11-13 20:00       ` Igor Vlasenko
2008-11-13 13:28   ` Sergey Y. Afonin
2008-11-13 18:28     ` Dmitry V. Levin
2008-11-13 21:58   ` Vitaly Lipatov
2008-11-13 22:20     ` Dmitry V. Levin
2008-11-14 11:01       ` Sergey V Turchin
2008-11-14 20:33       ` Vitaly Lipatov
2008-11-14 20:50         ` Alexey Tourbin
2008-11-14 21:20           ` Dmitry Afanasov
2008-11-18 21:53       ` Alexey Tourbin
2008-11-18 22:07         ` Dmitry V. Levin
2008-11-13 22:22     ` Igor Vlasenko
2008-11-14  0:00       ` Денис Смирнов
2008-11-14 22:24         ` Igor Vlasenko
2008-11-14 21:14       ` 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=20081113032619.GN31993@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