Re: version checking problem in rpm build; bad b/c j2sdk version has underscore?

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

 



On Thu, 22 Jan 2004, Paul Johnson wrote:

> I built an rpm that has this requires statement:
>
> Requires: swarm-base, jikes, j2sdk = 1.4.2_03
>
> My system says:
>
> # rpm -q j2sdk
> j2sdk-1.4.2_03-fcs
>
> But the RPM install fails because:
>
> # rpm -Uvh swarm-2.1.148.20040122-1fc1.i386.rpm
> swarm-jdk-2.1.148.20040122-1fc1.i386.rpm
> error: Failed dependencies:
>         j2sdk = 1.4.2_03 is needed by swarm-jdk-2.1.148.20040122-1fc1
>
> I've been staring at this all afternoon and can't see what the problem
> is. Is the problem related to the underscore in the version name?

Does this j2sdk package define an epoch? If so you either hace to --force
the issue or include the epoch info in the version code.

Issues like this makes you realy hate those epoch lines in spec files.

Hugo.

-- 
 All email sent to me is bound to the rules described on my homepage.
    hvdkooij@xxxxxxxxxxxxxxx		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.


_______________________________________________
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