public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* libgcj update troubles on fc6
@ 2007-07-03 10:06 Mark Wielaard
  2007-07-06 15:39 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2007-07-03 10:06 UTC (permalink / raw)
  To: fedora-devel-java-list; +Cc: frysk

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libgcj update troubles on fc6
  2007-07-03 10:06 libgcj update troubles on fc6 Mark Wielaard
@ 2007-07-06 15:39 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2007-07-06 15:39 UTC (permalink / raw)
  To: fedora-devel-java-list; +Cc: frysk

On Tue, 2007-07-03 at 12:06 +0200, Mark Wielaard wrote:
> Seeing there was an updated package for gcc on my FC6 machine I happily
> let the thing update itself. However libgcj breaks while updating:

OK, this seems to be just me. I got 2 people reporting the update worked
fine for them. I don't know what or why things went wrong for me
though :{

Cheers,

Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-06 15:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-03 10:06 libgcj update troubles on fc6 Mark Wielaard
2007-07-06 15:39 ` Mark Wielaard

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).