From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5124 invoked by alias); 3 Jul 2007 10:06:39 -0000 Received: (qmail 5116 invoked by uid 22791); 3 Jul 2007 10:06:38 -0000 X-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,FORGED_RCVD_HELO,TW_GC X-Spam-Check-By: sourceware.org Received: from wildebeest.demon.nl (HELO gnu.wildebeest.org) (83.160.170.119) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 03 Jul 2007 10:06:36 +0000 Received: from dijkstra.wildebeest.org ([192.168.1.29]) by gnu.wildebeest.org with esmtp (Exim 4.43) id 1I5fJc-0007AR-Fa; Tue, 03 Jul 2007 12:09:01 +0200 Subject: libgcj update troubles on fc6 From: Mark Wielaard To: fedora-devel-java-list@redhat.com Cc: frysk@sourceware.org Content-Type: text/plain; charset=UTF-8 Date: Tue, 03 Jul 2007 10:06:00 -0000 Message-Id: <1183457192.3599.25.camel@dijkstra.wildebeest.org> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.4 (----) X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2007-q3/txt/msg00002.txt.bz2 Hi, Seeing there was an updated package for gcc on my FC6 machine I happily let the thing update itself. However libgcj breaks while updating: Updating : libgcj ######################### [1/2]=20 error: unpacking of archive failed on file /usr/lib/gcj-4.1.2: cpio: rename Updated: libgcj.i386 0:4.1.2-13.fc6 Complete! Notice the happy "Complete!"... Your resulting gcj environment is now complete borked. gcj -C Hello.java Hello.java:0: error: Can't find default package =E2=80=98java.lang=E2=80=99= . Check the CLASSPATH environment variable and the access to the archives 1 error And any attempt to install or update (even after a remove) of libgcj will fail in the same way. For some reason there are multiple /usr/lib/gcj-4.1.2;468a1711 dirs (with the part after ; being some random hex-string) which seem to prevent yum updating or installing anything. In the end the only way to get a working install back was to yum remove libgcj (yes, this takes all the dependencies with it), and then removing the left over directories=20 rm -rf /usr/lib/gcj-4.1.2* /usr/lib64/gcj-4.1.2* And then installing everything again with yum install. There probably is an easier (and safer) way, and I don't really understand why this happened in the first place. Comments and ideas appreciated. Thanks, Mark