ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Q: duplicated packages after failed %post execution
Date: Mon, 29 Sep 2003 11:26:33 +0400
Message-ID: <20030929072633.GA18678@basalt.office.altlinux.org> (raw)
In-Reply-To: <00fd01c3860f$e70c72d0$400aa8c0@434ntws>

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

On Mon, Sep 29, 2003 at 10:28:55AM +1200, Anton V. Denisov wrote:
> Приветствую всех.
> 
> При upgrade Master 2.2 до Sisyphus (20030704) происходит следующая ошибка:
> 
> /root/tmp/rpm-tmp.85162: line 1: /usr/sbin/install_info: No such file or
> directory
> error: execution of %post scriptlet from tar-1.13.25-alt2.1 failed, exit
> status
> 127
> E: Sub-process /bin/rpm returned an error code (75)
> 
> После этого в системе остаются оба пакета. От чего произошла эта ошибка, мне
> понятно (пропущена зависимость именно на info-install-4.5-alt2, в котором
> появился /usr/sbin/install_info), а пакет info-install обновился после
> tar'а.

В rpm-4.0.4-alt22 было важное исправление на эту тему.
Кроме того, у tar'а недостаточно точные зависимости.

> Но вот мне не очень понятно - почему из-за ошибки в %post при использовании
> '/bin/rpm -Uvh --fancypercent --oldpackage' в системе остались оба пакета?

Так rpm должен работать.


-- 
ldv

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

      reply	other threads:[~2003-09-29  7:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-28 22:28 Anton V. Denisov
2003-09-29  7:26 ` Dmitry V. Levin [this message]

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