From: Michael Shigorin <mike@osdn.org.ua>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Помогите разобраться с пакетированием
Date: Fri, 4 Jul 2014 20:20:53 +0300
Message-ID: <20140704172053.GC9798@osdn.org.ua> (raw)
In-Reply-To: <20140704170958.GA11861@altlinux.org>
On Fri, Jul 04, 2014 at 09:09:59PM +0400, Dmitry V. Levin wrote:
> Это еще до вас, насколько я понимаю, неправильно написаны скрипты:
> сперва %post делает ln, а потом %preun делает rm.
См. самый хвост /usr/share/doc/rpm-4.0.4/manual/triggers:
For reference, here's the order in which scripts are executed on a single
package upgrade:
new-%pre for new version of package being installed
... (all new files are installed)
new-%post for new version of package being installed
any-%triggerin (%triggerin from other packages set off by new install)
new-%triggerin
old-%triggerun
any-%triggerun (%triggerun from other packages set off by old uninstall)
old-%preun for old version of package being removed
... (all old files are removed)
old-%postun for old version of package being removed
old-%triggerpostun
any-%triggerpostun (%triggerpostun from other packages set off by old un
install)
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
next prev parent reply other threads:[~2014-07-04 17:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 14:33 Евгений Терешков
2014-07-04 17:09 ` Dmitry V. Levin
2014-07-04 17:20 ` Michael Shigorin [this message]
2014-07-04 17:40 ` Евгений Терешков
2014-07-04 17:39 ` Евгений Терешков
2014-07-04 17:44 ` Led
2014-07-04 17:52 ` Евгений Терешков
2014-07-04 18:21 ` Dmitry V. Levin
2014-07-05 18:31 ` Денис Смирнов
2014-07-08 23:54 ` Денис Смирнов
2014-07-09 0:27 ` Евгений Терешков
2014-07-09 0:48 ` Денис Смирнов
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=20140704172053.GC9798@osdn.org.ua \
--to=mike@osdn.org.ua \
--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