ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] R-base upgrade (was: cpio...)
Date: Tue, 30 Jan 2007 22:22:21 +0300
Message-ID: <20070130192221.GB13081@basalt.office.altlinux.org> (raw)
In-Reply-To: <20070130191529.GR24981@localhost.localdomain>

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

On Tue, Jan 30, 2007 at 10:15:29PM +0300, Alexey Tourbin wrote:
[...]
> Кажется я начинаю понимать, в чем здесь может быть дело.
> То есть в соответствии с со стадиями обновления, описанными здесь:
> /usr/share/doc/rpm-4.0.4/manual/triggers
> дело обстоит так:
> 1) rpm сначала распаковывает все новые файлы;
> 2) чрезе некоторое время после этого rpm удаляет все старые файлы.
> 
> Если рассмотреть это на уровне системных вызовов, то происходит вот что:
> 1)
> 	mkdir /etc/R
> 	unlink /etc/R/ldpaths		-- like install(1)
> 	open /etc/R/ldpaths O_WRONLY
> 	...
> 	symlink ../../etc/R /usr/lib/R/etc
> 2)
> 	unlink /usr/lib/R/etc/ldpaths
> 
> Вся трудность в последнем unlink'е.  Симлинк уже стоит и
> /usr/lib/R/etc/ldpaths фактически разрешается в /etc/R/ldpahts.
> Следовательно, будет удален новый файл /etc/R/ldpahts.

Именно так оно и происходит.


-- 
ldv

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

  reply	other threads:[~2007-01-30 19:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-29 21:54 [devel] cpio: rename failed - Is a directory Alexey Tourbin
2007-01-29 22:06 ` Michael Shigorin
2007-01-29 23:03   ` Alexey I. Froloff
2007-01-29 23:02 ` Alexey I. Froloff
2007-01-30 18:55 ` [devel] R-base upgrade (was: cpio...) Alexey Tourbin
2007-01-30 19:00   ` Dmitry V. Levin
2007-01-30 19:15     ` Alexey Tourbin
2007-01-30 19:22       ` Dmitry V. Levin [this message]
2007-01-30 20:01         ` Alexey Tourbin
2007-01-30 20:04           ` Alexey Tourbin
2007-01-30 20:10           ` Alexey Tourbin
2007-01-30 20:23             ` Michael Shigorin
2007-01-30 20:35               ` Alexey Tourbin

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=20070130192221.GB13081@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --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