ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@altlinux.ru
Subject: Re: [devel] Re: Symbolic link and replace the dir
Date: Wed, 5 Feb 2003 19:59:16 +0300
Message-ID: <20030205195916.0e56844f.vsu@altlinux.ru> (raw)
In-Reply-To: <20030205194245.51e06220.vyt@vzljot.ru>

On Wed, 5 Feb 2003 19:42:45 +0300
Vitaly Ostanin <vyt@vzljot.ru> wrote:

> On Tue, 4 Feb 2003 09:45:10 +0200
> Alexander Bokovoy <a.bokovoy@sam-solutions.net> wrote:
> 
> > On Mon, Feb 03, 2003 at 09:21:57PM +0300, Vitaly Ostanin wrote:
> > > Hello, All!
> > > 
> > > Совсем торможу: допиливаю website по образу и подобию
> > > docbook-style-xsl на предмет символической ссылки
> > > website на каталог website-%version.
> > > 
> > > В предыдущих сборках website был не ссылкой, а каталогом.
> > > 
> > > Так вот, при обновлении на новую сборку rpm говорит, что
> > > website: cpio: renameне удалось - Is a directory
> > > (именно без пробела внутри renameне)
> > > 
> > > Посоветуйте, pls, варианты - как корректно прибить каталог со
> > > старой версией и сделать из него ссылку на каталог-%version ?
> > Убивайте его в %pre пакета. Такая же ситуация была в tetex,
> > посмотрите в%pre пакета tetex-core.
> 
> Спасибо!
> 
> Посмотрел, сделал %pre (кстати, в tetex.spec для core - %preun).
> 
> Каталог прибивается, новый ставится, только после этого rpm
> выполняет erase файлов от старого пакета (фактически удаляя
> файлы нового). То есть после обновления остаются только те файлы
> новой сборки, которых не было в старой.
> 
> Вывод sudo rpm -Uvvh в аттаче. 
> 
> Так я до конца и не понял, зачем удалять старые файлы _после_
> установки новых, и почему postun старого пакета выполняются
> _после_ post нового... :(
> 
> Можно меня куда-нибудь ткнуть поконкретнее, man что?

/usr/share/doc/rpm-4.0.4/manual/triggers


  reply	other threads:[~2003-02-05 16:59 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-03 18:21 [devel] " Vitaly Ostanin
2003-02-04  7:45 ` Alexander Bokovoy
2003-02-05 16:42   ` [devel] " Vitaly Ostanin
2003-02-05 16:59     ` Sergey Vlasov [this message]
2003-02-05 18:01       ` [devel] Re: rpm packaging (was: Symbolic link and replace the dir) Vitaly Ostanin
2003-02-06 12:46         ` Sergey Vlasov
2003-02-07 17:27           ` Vitaly Ostanin
2003-02-07 17:35             ` Vitaly Ostanin
2003-02-07 17:47             ` Ivan Zakharyaschev
2003-02-07 17:56               ` Vitaly Ostanin
2003-02-07 18:14                 ` Sergey Vlasov
2003-02-07 18:17                   ` Sergey Vlasov
2003-02-07 18:19                 ` Ivan Zakharyaschev
2003-02-07 18:22                   ` Sergey Vlasov
2003-02-07 19:34                   ` Vitaly Ostanin

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=20030205195916.0e56844f.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=devel@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 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