From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8F3DB138247 for ; Mon, 16 Dec 2013 09:29:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 542C3E09D7; Mon, 16 Dec 2013 09:29:06 +0000 (UTC) Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC80FE09B2 for ; Mon, 16 Dec 2013 09:29:04 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id k14so4375797wgh.32 for ; Mon, 16 Dec 2013 01:29:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=GyEwTzdMBI0YIvarvjVct3ir77dLH9GOpGINai6+TZE=; b=vnWjGfDO2XPJPJ3FW0O14C2UvU2BhdM3gMGs5pqoe44p6H/HP8cKdbApznrBHfn0Jj cN5U8xfTFtgSJi6E/HizRU5TZlYzDiuw4no0bldC9s7MJvLiiSFxXZKxWsgv3OG/W74r VtjVyLDuPVRp0yytjgWJZwPXsaQsrAmJ2S4qDjR/pIA3takuY49rt3TjWYoTYZvyg6Yr /NaS9Ia5B1PWeOMJ9T4JPLrAN12kfIiqzZfgO9pKtpU2+rDmHY28kgUnDpFpNaq8OuZ0 QXwIq/MSMjTq3uRFFJtMWR2LoOfscjwsxLcMET/+9q6pmDbo4U8CD8+U+ViGlhTkhuQZ rp8A== X-Received: by 10.180.37.112 with SMTP id x16mr12928207wij.48.1387186143690; Mon, 16 Dec 2013 01:29:03 -0800 (PST) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id mt2sm24016193wic.7.2013.12.16.01.29.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Dec 2013 01:29:01 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: @preserved-rebuild gone in a loop Date: Mon, 16 Dec 2013 09:28:43 +0000 User-Agent: KMail/1.13.7 (Linux/3.10.17-gentoo; KDE/4.11.2; x86_64; ; ) References: <201312150952.00386.michaelkintzios@gmail.com> <20131215163753.GB9737@zlug.org> <20131216050434.31f370c7@falcon.eroen.eu> In-Reply-To: <20131216050434.31f370c7@falcon.eroen.eu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5160446.3XcyQn6knD"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201312160928.45796.michaelkintzios@gmail.com> X-Archives-Salt: 8f165594-5a65-4b9c-af80-d5220bae05fe X-Archives-Hash: 04311dc0af1f0814dd6023cf41ae8dc1 --nextPart5160446.3XcyQn6knD Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Monday 16 Dec 2013 04:04:34 eroen wrote: > On Sun, 15 Dec 2013 17:37:53 +0100 >=20 > Benjamin Block wrote: > > Most of the times, when some binary packages on my systems do cause > > something like this, then I just unemerge the package that keeps > > recompiling and emerge it again afterwards. This will cause the > > portage to drop the library-references in question and add new ones. > >=20 > > So, this should do the trick: > > emerge -C app-antivirus/avast4workstation > > emerge -1 app-antivirus/avast4workstation >=20 > This will make the message from portage and the old library version go > away, yes. It will also cause the program that used the library > (/opt/avast4workstation/bin/avastgui in OP's case) crash when you try > to run it, due to the old library version not being installed. >=20 > The correct solution to this is to add the specific (old) version of the > library to the dependencies (in the ebuild) of the (binary) package that > uses it. This will prevent an upgrade that uninstalls the old library > version. Sometimes the maintainer of the library will add a slotted > version of it, so that non-binary users of it do not have to use the > outdated version. >=20 > If the binary package is not an ebuild, you can manually add the newer > library version to package.mask, or make sure that the slot for the > older version is installed if the library is slotted. >=20 > Better yet (in all cases), get a more recent version of the binary > package that is built against the newer version of the library. > Complain to the vendor if none is available :-) >=20 > The preserve-libs feature in portage is intended to let things keep on > working short-term for source-distributed packages. In that case, the > currently installed program is linked against the old library version, > and when the program is rebuilt (with @preserved-rebuild) it will be > linked against the newer version. Thank you for a detailed explanation, which makes sense to me. You are rig= ht,=20 uninstalling, running @preserved-rebuild and reinstalling this package brea= ks=20 the avastgui because of the missing libpangox-1.0.so.0 library. Thankfully= ,=20 the command line function is unaffected. I wouldn't want to keep old libraries around unnecessarily, so I may have t= o=20 chase the dev for this package and see if he's still interested to look aft= er=20 it. =2D-=20 Regards, Mick --nextPart5160446.3XcyQn6knD Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJSrsfNAAoJELAdA+zwE4Yehl0H/0ZHiSNLZio+b8WFos08oGG1 xuud/fQyZZA0PJVmdDowHa1T4Pr3+9ye3L1sYsdDG8TSIIYNtRfKnnBtT5iABTDy wbNXvvU+s+XnV0bJB9SmJzlWjk12aE//0Vnfp09dmIZy1e/AAHYYg80jiDLtdC6N zYlEnm7Bq7QhIkTR/Fa3UxVCGLU+GvGJleP8OotoDaA6QroIeUzI6Tw91dzhtO0u bG7VhjdIgx6i7BAb6LE2zkGh2Vi4rqcoopKMlkWg1ODWofNB6+HnRyaxxtPm5b8S l0jPajNu3Q6MkhfGyaN8MIr/7190609Ztw+ZBIePim37zen/KsHP0WzB1d1rqzY= =WiXK -----END PGP SIGNATURE----- --nextPart5160446.3XcyQn6knD--