|
You can query an rpm and see the architectures with:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} %{ARCH}\n' packagename
For example:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} %{ARCH}\n' kernel
Unfortunately, I don't know of any way to remove a specific package by architecture, so you will need to use '--allmatches' (and likely with --nodeps, since other package dependancies will be temporarily broken) and then reinstall the one you want.
Before you do that, sometimes an i386 package is needed by an installed program that doesn't have an x86_64 version. Just removing the package may then break other software. Unless you have a reason to do this, it's best to leave the package alone.
Last edited by macemoneta; 10-07-2005 at 02:36 PM.
|