From: Mark Wielaard <mark@klomp.org>
To: fedora-devel-java-list@redhat.com
Cc: frysk@sourceware.org
Subject: libgcj update troubles on fc6
Date: Tue, 03 Jul 2007 10:06:00 -0000 [thread overview]
Message-ID: <1183457192.3599.25.camel@dijkstra.wildebeest.org> (raw)
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]
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 ‘java.lang’. 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
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
next reply other threads:[~2007-07-03 10:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-03 10:06 Mark Wielaard [this message]
2007-07-06 15:39 ` Mark Wielaard
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=1183457192.3599.25.camel@dijkstra.wildebeest.org \
--to=mark@klomp.org \
--cc=fedora-devel-java-list@redhat.com \
--cc=frysk@sourceware.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).