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

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



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@vanderkooij.org		http://hvdkooij.xs4all.nl/
	    Don't meddle in the affairs of sysadmins,
	    for they are subtle and quick to anger.




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