ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] Q: duplicated packages after failed %post execution
@ 2003-09-28 22:28 Anton V. Denisov
  2003-09-29  7:26 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Anton V. Denisov @ 2003-09-28 22:28 UTC (permalink / raw)
  To: devel

Приветствую всех.

При 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'а.

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

Дмитрий (LDV), может вы ответите на этот вопрос?

С уважением, Антон В. Денисов.




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] Q: duplicated packages after failed %post execution
  2003-09-28 22:28 [devel] Q: duplicated packages after failed %post execution Anton V. Denisov
@ 2003-09-29  7:26 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-09-29  7:26 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-29  7:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-28 22:28 [devel] Q: duplicated packages after failed %post execution Anton V. Denisov
2003-09-29  7:26 ` Dmitry V. Levin

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