yum update fails for java-openjdk-headless

Deepak Bhole dbhole at redhat.com
Fri Mar 14 21:51:11 UTC 2014


* Robert P. J. Day <rpjday at crashcourse.ca> [2014-03-14 17:46]:
> On Fri, 14 Mar 2014, Deepak Bhole wrote:
> 
> > * Robert P. J. Day <rpjday at crashcourse.ca> [2014-03-14 14:11]:
> > >
> > > Running transaction
> > > error: lua script failed: [string
> > > "%pretrans(java-1.7.0-openjdk-headless-1:1.7.0.60-2.5.0.11.pre02.fc21.x86_64)"]:11:
> > > invalid use of '%' in replacement string
> > > Error in PRETRANS scriptlet in rpm package
> > > 1:java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.11.pre02.fc21.x86_64
> > >   Verifying  :
> > > 1:java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.11.pre02.fc21.x86_64
> > > 1/2
> > > 1:java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.10.pre02.fc21.x86_64 was
> > > supposed to be removed but is not!
> > >   Verifying  :
> > > 1:java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.10.pre02.fc21.x86_64
> > > 2/2
> > >
> > > Failed:
> > >   java-1.7.0-openjdk-headless.x86_64 1:1.7.0.60-2.5.0.10.pre02.fc21
> > >   java-1.7.0-openjdk-headless.x86_64 1:1.7.0.60-2.5.0.11.pre02.fc21
> > >
> >
> > Hi Robert,
> >
> > Can you please try with the latest?
> > http://koji.fedoraproject.org/koji/buildinfo?buildID=504261
> 
>   be happy to ... what is the proper way to update an rpm from koji
> (since i figure i'll be doing this again sometime)? should i just
> download it and do a local yum update? or what?
> 

I think if you yum update, it should pick it up as the latest rawhide
has the 2.5.0.13 package:
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/x86_64/os/Packages/j/java-1.7.0-openjdk-headless-1.7.0.60-2.5.0.13.pre02.fc21.x86_64.rpm

If not, then downloading from the above link or from brew and 
"yum localinstall <rpm>" should work.

Cheers,
Deepak

> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================


More information about the test mailing list