eclipse & java 5

Paul Howarth paul at city-fan.org
Thu Jan 26 07:44:57 UTC 2006


On Wed, 2006-01-25 at 15:40 -0800, Darlene Wallach wrote:
> There was a typo, correct "querformat" to "queryformat and
> it works:
> 
> $ rpm -q --queryformat="%{name}-%{version}-%{release}.%{arch}" gcc 
> gcc-java java-1.4.2-gcj-compat{,-devel} eclipse-platform
> gcc-3.4.4-2.fc3.i386gcc-java-3.4.4-2.fc3.i386package 
> java-1.4.2-gcj-compat is not installed
> package java-1.4.2-gcj-compat-devel is not installed
> package eclipse-platform is not installed

For future reference, a small tweak to the queryformat should produce
more readable output (each package on a new line):

$ rpm -q --queryformat="%{name}-%{version}-%{release}.%{arch}\n" \
	gcc gcc-java java-1.4.2-gcj-compat{,-devel} eclipse-platform
gcc-4.0.2-8.fc4.i386
gcc-java-4.0.2-8.fc4.i386
java-1.4.2-gcj-compat-1.4.2.0-40jpp_31rh.FC4.2.i386
package java-1.4.2-gcj-compat-devel is not installed
package eclipse-platform is not installed

Paul.




More information about the fedora-list mailing list