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

Re: Installed version of java should but does not match required version



Hi Frank:

On Tue, Aug 15, 2006 at 10:25:08AM -0700, Frank Cusack wrote:
> On August 15, 2006 12:27:33 PM -0400 John Rouillard 
> <rouilj-rpm renesys com> wrote:
> >On Tue, Aug 15, 2006 at 09:08:59AM -0700, Frank Cusack wrote:
> >>On August 15, 2006 10:15:11 AM -0400 John Rouillard
> >><rouilj-rpm renesys com> wrote:
> >>>  sudo rpm -U pipe-0.2.1-2.i386.rpm
> >>>  error: Failed dependencies:
> >>>        j2sdk = 1.4.2_05 is needed by pipe-0.2.1-2.i386
> >>>
> >>> However rpm -q --qf '%{VERSION}\n' j2sdk reports:
> >>>
> >>>  1.4.2_05
> >>
> >>There might be an epoch.  rpm -q --qf '%{EPOCH}:%{VERSION}\n' j2sdk
> >
> >That returns: 2000:1.4.2_05
> >
> >So yup. good call. Also the serial number of the package (rpm -q --qf
> >'%{SERIAL}\n' is 2000. So I could replace the original dependency line
> >of "j2sdk = 1.4.2_05" with "j2sdk =S 2000" but would that work with
> >yum?
> 
> j2sdk = 2000:1.4.2_05

Cool. That works like a charm. From what I read I thought

   j2sdk =S 2000

(which was an old syntax and caused an error in the current rpm) or

  j2sdk = 2000:

which I sort of picked up from an example in the Max-RPM book
snapshot. But it failed as well, but am not sure why. Is the version
required and the examples in the snapshot
(http://www.rpm.org/max-rpm-snapshot/s1-rpm-depend-manual-dependencies.html)
are wrong? Is this described somewhere? Maybe a newer snapshot/version
of Max-RPM?

Thanks for your help.

-- 
				-- rouilj

John Rouillard
System Administrator
Renesys Corporation
603-643-9300 x 111


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