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 1Ng5E7-0000uR-3U for garchives@archives.gentoo.org; Fri, 12 Feb 2010 23:47:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94404E0878; Fri, 12 Feb 2010 23:46:42 +0000 (UTC) Received: from outbound.icp-qv1-irony-out2.iinet.net.au (outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107]) by pigeon.gentoo.org (Postfix) with ESMTP id BC9B1E0878 for ; Fri, 12 Feb 2010 23:46:41 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAMt2dUvLpuOp/2dsb2JhbACbDnS+dIRYBIMR X-IronPort-AV: E=Sophos;i="4.49,463,1262534400"; d="scan'208";a="605544466" Received: from unknown (HELO moriah.localdomain) ([203.166.227.169]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 13 Feb 2010 07:46:39 +0800 Received: from localhost (localhost [127.0.0.1]) by moriah.localdomain (Postfix) with ESMTP id DD1AD1C1FF07 for ; Sat, 13 Feb 2010 07:46:38 +0800 (WST) X-Virus-Scanned: amavisd-new at localdomain Received: from moriah.localdomain ([127.0.0.1]) by localhost (moriah.localdomain [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hxVQ4DRXyyks for ; Sat, 13 Feb 2010 07:46:35 +0800 (WST) Received: from [192.168.44.2] (rattus [192.168.44.2]) by moriah.localdomain (Postfix) with ESMTP id C02A71C1FF04 for ; Sat, 13 Feb 2010 07:46:35 +0800 (WST) Subject: Re: [gentoo-user] How should I clean up my broken system? From: William Kenworthy To: gentoo-user@lists.gentoo.org In-Reply-To: <20100212195529.GD1560@muc.de> References: <20100212195529.GD1560@muc.de> Content-Type: text/plain Organization: Home in Perth! Date: Sat, 13 Feb 2010 07:46:33 +0800 Message-Id: <1266018394.825.18.camel@rattus> 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 X-Mailer: Evolution 2.26.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9a8ed352-6458-417c-952b-726781597efd X-Archives-Hash: 5817dffbb6d0f969c4841100c620f6c8 "equery check package" compares current with the as installed checksum (or something like that!) for the packages files. emerge -ep world > a edit "a" to add "equery check " before each package name run "sh a > b" and got hrough the list in b to see whats broke - lots of debris - config files etc will show as failing a checksum, so ignore them. Also ".a" libraries may not be broke, but a side effect of lafilefixer - need to check that one. prelink apparently doesnt affect (or maybe updates) the checksum. I am sure someone probably has a utility able to automate the process - anyone? BillK e.g., myth2 ~ # equery check gcc [ Checking sys-devel/gcc-4.3.4 ] !!! /usr/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/f951 has incorrect md5sum !!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/libgfortran.so.3.0.0 has incorrect md5sum !!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libgcc.a has incorrect md5sum !!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/libmudflapth.so.0.0.0 has incorrect md5sum !!! /usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/locale/tr/LC_MESSAGES/gcc.mo has incorrect md5sum !!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/32/libgfortran.a has incorrect md5sum !!! /etc/env.d/gcc/x86_64-pc-linux-gnu-4.3.4 has incorrect md5sum !!! /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.4/include/g ++-v4/bits/boost_concept_check.h has incorrect md5sum !!! /usr/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/tree1 has incorrect md5sum !!! /usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/locale/es/LC_MESSAGES/gcc.mo has incorrect md5sum * 944 out of 954 files good myth2 ~ # Yeah my gcc is broke and wont rebuild :( On Fri, 2010-02-12 at 19:55 +0000, Alan Mackenzie wrote: > Hi, Gentoo! > > As reported in other threads, my new PC had a broken RAM stick in it. > As a result, an unknown proportion of installed binaries are flaky. One > non-functioning binary is probably GCC. > > What I'd like to do is reinstall every binary, yet without erasing any > configuration info, whose creation was so arduous. > > Where does portage keep it's list of installed packages? What do I have > to do to persuade portage it has _no_ installed packages before doing > 'rm -rf *' in /bin, /sbin, /usr/bin, /usr/sbin? > > Has anybody any other tips to offer me for this operation? > -- William Kenworthy Home in Perth!