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

how to write a Requires: for an imported rpm?



so I have some inhouse packages that require a specific java...no problem, we download the jdk rpm from SUN and add a Requires: jdk >= 1.5.0_12 line to my inhouse rpm...and...

	Unresolvable chain of dependencies:
	newstuff                    requires jdk >= 1.5.0_12

checking the jdk rpm, it's there and ready to go..I can install it manually and the inhouse packages sees it as installed and completes, but it (the jdk rpm) refuses to be seen during up2date runs.


checking the rpm I get

	# rpm -qpi jdk-1_5_0_12-linux-i586.rpm
	Name        : jdk                          Relocations: /usr/java
Version : 1.5.0_12 Vendor: Sun Microsystems, Inc. Release : fcs Build Date: Wednesday 02,May,2007 08:38:40 AM EDT
	Install Date: (not installed)               Build Host: tiger-linux
Group : Development/Tools Source RPM: jdk-1.5.0_12- fcs.src.rpm Size : 83683654 License: Sun Microsystems Binary Code License (BCL)
	Signature   : (none)

so jdk is the name ..right?

rpm -q --queryformat '%{NAME}-%{PROVIDES}\n' -p jdk-1_5_0_12-linux- i586.rpm

	jdk-jre

Great....does that confuses things?

 	up2date -u jre --dry-run

	All packages are currently up to date

arg...ok. how do I determine what the package wants to be referenced as or is there some reason I'm not aware of why this won't work? like sun jdk rpms are broken and I have to roll my own....


thanks

-zaq


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