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

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

 



On August 15, 2006 12:27:33 PM -0400 John Rouillard <rouilj-rpm@xxxxxxxxxxx> 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@xxxxxxxxxxx> 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

If I want to go the epoch route how do I deal with this in the
dependency spec? The Max-RPM book (in pdf) format doesn't really
discuss epoch (at least a search for "epoch" turns up no hits, which
is wierd because I know the concept and I am sure I got it from one of
my 2 reads through the book).

Serial is the deprecated term for Epoch.

-frank

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux