[Rpm-maint] strange dependency issue

Ville Skyttä ville.skytta at iki.fi
Wed Mar 19 18:18:37 UTC 2008


On Wednesday 19 March 2008, Tom Brown wrote:

> # rpm -ivh
> /usr/src/redhat/RPMS/noarch/xxx-sun-java-custom-1.6.0_04-1.noarch.rpm
> error: Failed dependencies:
>     jdk = 1.6.0_04-fcs is needed by xxx-sun-java-custom-1.6.0_04-1.noarch
>
> # rpm -qa | grep jdk
> jdk-1.6.0_04-fcs
>
> and the spec
>
> Requires: jdk = 1.6.0_04-fcs
>
> i also tried
>
> Requires: jdk = 1.6.0_04

Sun's jdk packages have their Epoch set to 2000, so you'll probably need:

Requires: jdk = 2000:1.6.0_04-fcs



More information about the Rpm-maint mailing list