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>
Cc: "Valery V. Inozemtsev" <shrek@altlinux.org>
Subject: Re: [devel] Проблемы при обновлении libicu
Date: Tue, 13 Nov 2012 23:21:16 +0400
Message-ID: <20121113192116.GB1435@altlinux.org> (raw)
In-Reply-To: <20121113230202.78a8d215@deimos.localdomain>

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

On Tue, Nov 13, 2012 at 11:02:02PM +0400, Ivan A. Melnikov wrote:
> On Tue, 13 Nov 2012 22:36:10 +0400 Dmitry V. Levin wrote:
> > On Tue, Nov 13, 2012 at 10:06:45PM +0400, Ivan A. Melnikov wrote:
> > > Сегодня обновлял систему до свежего Сизифа, впервые за несколько
> > > дней, 204 пакета. Поймал вот такую ошибку:
> > > 
> > >  97: libgtk+3
> > > ###################################################################################################
> > > [ 45%] /usr/bin/gtk-query-immodules-3.0: error while loading shared
> > > libraries: libicule.so.48: cannot open shared object file: No such
> > > file or directory error: execution of %post scriptlet from
> > > libgtk+3-3.6.2-alt1 failed, exit status 127
> > > 
> > > И в конце транзакции соответственно:
> > > 
> > > E: Some errors occurred while running transaction
> > > [root@deimos ~]#
> > > 
> > > Теперь у меня в системе две libgtk+3.
> > > 
> > > Это точно баг. Но в каком пакете?
> > 
> > В правильном ли порядке обновлялись пакеты?  Что говорит на эту тему
> > # grep -E
> > 'libicu4\.8|libharfbuzz|libpango|libgtk\+3' /var/log/user/info ?
> 
> Как нетрудно догадаться, действительно, libicu4.8 приехало позже:

Это случилось из-за того, что в пакете libicu поменялись soname'ы,
в результате чего с момента обновления libicu до момента установки
libicu4.8 система находилась в нерабочем состоянии:
Nov 13 21:42:01 deimos apt-get: libicu-1:5.1-alt1 installed 
Nov 13 21:42:01 deimos apt-get: libicu-1:4.8.1.1-alt2 removed 
Nov 13 21:42:23 deimos apt-get: libpango-1.32.1-alt2 installed 
Nov 13 21:42:24 deimos apt-get: libpango-1.32.1-alt1 removed 
Nov 13 21:42:29 deimos apt-get: libpango-gir-1.32.1-alt2 installed 
Nov 13 21:42:29 deimos apt-get: libpango-gir-1.32.1-alt1 removed 
Nov 13 21:43:12 deimos apt-get: libgtk+3-3.6.2-alt1 installed 
Nov 13 21:43:13 deimos apt-get: libgtk+3-gir-3.6.2-alt1 installed 
Nov 13 21:43:13 deimos apt-get: libgtk+3-gir-3.6.1-alt1 removed 
Nov 13 21:44:19 deimos apt-get: libpango-devel-1.32.1-alt2 installed 
Nov 13 21:44:20 deimos apt-get: libpango-devel-1.32.1-alt1 removed 
Nov 13 21:44:37 deimos apt-get: libicu-devel-1:5.1-alt1 installed 
Nov 13 21:44:38 deimos apt-get: libicu-devel-1:4.8.1.1-alt2 removed 
Nov 13 21:45:11 deimos apt-get: libicu4.8-1:4.8.1.1-alt3 installed 

Спасибо apt'у, который не установил libicu4.8 _сразу_ после обновления
пакета libicu, и shrek'у, который реализовал такое обновление,
в очередной раз наступив на грабли, давно описанные в
http://www.altlinux.org/Shared_Libs_Policy

Для того, чтобы такого больше не было, необходимо следовать рекомендациям
http://www.altlinux.org/Shared_Libs_Policy
(в частности, раздел "Переезд со старого именования").


-- 
ldv

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

  reply	other threads:[~2012-11-13 19:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 18:06 [devel] Проблемы при обновлении Ivan A. Melnikov
2012-11-13 18:20 ` Led
2012-11-13 19:05   ` Dmitry V. Levin
2012-11-13 19:34     ` Led
2012-11-13 20:15       ` Ivan A. Melnikov
2012-11-13 21:35         ` Led
2012-11-13 20:31       ` Dmitry V. Levin
2012-11-13 18:36 ` Dmitry V. Levin
2012-11-13 19:02   ` Ivan A. Melnikov
2012-11-13 19:21     ` Dmitry V. Levin [this message]
2012-11-13 19:48       ` [devel] Проблемы при обновлении libicu Ivan A. Melnikov
2012-11-13 20:21         ` Dmitry V. Levin
2012-11-14  3:55     ` [devel] Проблемы при обновлении REAL
2012-11-14  7:14       ` Viacheslav Dubrovskyi
2012-11-14  7:27         ` Yuri N. Sedunov
2012-11-14  7:36           ` Viacheslav Dubrovskyi
2012-11-14 11:06             ` Dmitry V. Levin
2012-11-14  8:19         ` REAL
2012-11-13 19:19 ` Ivan A. Melnikov

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=20121113192116.GB1435@altlinux.org \
    --to=ldv@altlinux.org \
    --cc=devel@lists.altlinux.org \
    --cc=shrek@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