From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NHidQ-0000sG-0G for garchives@archives.gentoo.org; Mon, 07 Dec 2009 18:48:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3F86E072E; Mon, 7 Dec 2009 18:47:52 +0000 (UTC) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by pigeon.gentoo.org (Postfix) with ESMTP id 74557E072E for ; Mon, 7 Dec 2009 18:47:52 +0000 (UTC) Received: by ewy10 with SMTP id 10so1387161ewy.10 for ; Mon, 07 Dec 2009 10:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=NzU3QPTBugKtbJ/3NQO4z7jyJfKGOfqqTxTq4ASU68g=; b=xWyxQXQiigRK76Ney5Pj9c5BGoD9Z8cmQQTegpEQV/NUOLxqXwnJuTtGI71icJFxGC MSTnVNNImejAnisIjgr1WOL6ifc8xuNZ89C+F8ADRmR89exuEFMNRPrder2lKdtWCyX7 M3Z+J9+0lUopoAwnTFR/oF+Xndw9TJldWTU0Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=KjhU3xjYF0W9hQli5Izv7RftqY+KM4QHRyh31ouTyEPLtURzNpAZ7lteX6pJdD+bEU qyQrejFB1i5KnAJeItiofSRQa42ekH8M+CprYvn/EwDQMB43rKX6grSIJPM7t6NgkAjn QaIz9dAdoT483ffgwSGwaCc3NiHE2ydzSXDqs= Received: by 10.213.8.28 with SMTP id f28mr14880034ebf.39.1260211671364; Mon, 07 Dec 2009 10:47:51 -0800 (PST) Received: from nazgul.localnet (196-210-140-29-rrdg-esr-2.dynamic.isadsl.co.za [196.210.140.29]) by mx.google.com with ESMTPS id 15sm3546103ewy.12.2009.12.07.10.47.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Dec 2009 10:47:50 -0800 (PST) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] How can I solve "emerge @preserved-rebuild" loop? Date: Mon, 7 Dec 2009 20:46:34 +0200 User-Agent: KMail/1.12.4 (Linux/2.6.31-zen9; KDE/4.3.4; x86_64; ; ) Cc: Jarry References: <4B1D4517.2010506@gmail.com> In-Reply-To: <4B1D4517.2010506@gmail.com> 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: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200912072046.34378.alan.mckinnon@gmail.com> X-Archives-Salt: 34a6e4c1-b96f-44d8-b900-99e66a35dda8 X-Archives-Hash: 8d36c684c751e732101d32244b3e24c4 On Monday 07 December 2009 20:10:31 Jarry wrote: > Hi, > I update my server quite frequently without any problem, but > today after running "emerge -uDN world" I got these messages: > > ----- > > !!! existing preserved libs: > >>> package: sys-libs/e2fsprogs-libs-1.41.9 > > * - /lib64/libuuid.so > * used by /bin/mount (sys-apps/util-linux-2.16.1) > * used by /bin/umount (sys-apps/util-linux-2.16.1) > * used by /sbin/blkid (sys-apps/util-linux-2.16.1) > * used by 16 other files > * - /lib64/libblkid.so > * used by /bin/mount (sys-apps/util-linux-2.16.1) > * used by /bin/umount (sys-apps/util-linux-2.16.1) > * used by /sbin/blkid (sys-apps/util-linux-2.16.1) > * used by 8 other files > Use emerge @preserved-rebuild to rebuild packages using these libraries > ----- > > So I did run "emerge @preserved-rebuild", but at the end > of it I got the very same messages. How can I solve this? An old version of e2fsprogs-libs provided some libs that the programs in util- linux linked to. Portage realised after updating e2fsprogs-libs that these libs are still in use so have not deleted them until everything using them no longer does. Sometimes it gets itself confused. Others report that running emerge @preserved-rebuild multiple times fixes it, but I'm not so sure. It think it's more a case of the various ld* utils don't do the right thing at the right time - just yesterday I had b0rked @preserved-rebuild output fix itself after a reboot with no extra emerging done. Try this: Run ldd on a few of the listed binaries using old libs, eyeball the output and apply brainpower, followed by: emerge -av1 util-linux emerge -avC e2fsprogs-libs ; emerge -av1 e2fsprogs-libs revdep-rebuild won't help you here, as the binaries are not broken. It will only confirm internal consistency once preserved-rebuild appears to have sorted itself out. -- alan dot mckinnon at gmail dot com