Tuesday, February 26, 2008

rpm with different architecture

to look up the architecture
rpm -q --queryformat "%{NAME} %{ARCH} \n"


to delete
rpm -e libstdc++.i386
rpm -e libstdc++.x86_64

to update 32 bit versions
up2date --arch=i386 -i compat-db

to update 64 bit versions
up2date --arch=x86_64 -i compat-gcc-32-c++