Re: failed to install java-1.5.0-sun-compat-1.5.0.06-1jpp.i586.rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kazimieras wrote:
On Wed, 2006-04-12 at 08:35 +0100, Paul Howarth wrote:
On Tue, 2006-04-11 at 18:21 -0400, Dan wrote:
Kam Leo wrote:
On 4/11/06, Kazimieras <kazimieras.vaina@xxxxxxxxx> wrote:
Hi,

The
rpm -ivh
http://www.mirrorservice.org/sites/jpackage.org/1.6/generic/non-free/RPMS/java-1.5.0-sun-compat-1.5.0.06-1jpp.i586.rpm

fails with:
error: unpacking of archive failed on
file /usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/i386: cpio: rename
failed - Is a directory

Did anyone get similar error ?


--
Kazimieras <kazimieras.vaina@xxxxxxxxx>

Read the "Build Instructions" at jpackage.org.  Among other items
besides reading the instructions is to install the fedora-rpmdevltools
package from Extras and download the .bin  file from Sun.

I wrote a quick and painless guide to install JPackage's Fedora-sanctioned Sun Java at http://www.fedorasolved.com/viewtopic.php?t=204 . Let me know if anything is confusing.
Very similar to mine :-)
http://www.city-fan.org/tips/JpackageJava

The rpath problem you allude to at the bottom of the guide happened if
you had an old version of fedora-rpmdevtools installed, which was fixed
before FC5 came out and hence that's why you've not seen it on FC5.

Paul.


Both guides look really good. I tried the
java-1.5.0-sun-1.5.0.06-1jpp.nosrc.rpm as well and it works good.

However I didn't like this kind of packaging, because it puts java files
in different locations than jdk-1_5_0_06-linux-i586.rpm does.
This is true, and on purpose; part of the reason for JPackage's nosrc.rpm is for more standard organization of files or something like that.
[snip]

-Dan


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux