Solution to problem removing RPM packages

If you tried to remove a RPM package on Linux and got a message like this: “specifies multiple packages“, you probably have 2 packages with the same name, one 32 and other 64 bits.

To check if it is your problem use following command:

rpm -q –queryformat ”%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n” <pacote>

To remove these 2 packages use:

rpm -e –allmatches <pacote>

To remove just one of them:

rpm-e <pacote>.x86_64 (to remove 64 bits package)

rpm -e <pacote>.i386 (to remove 32 bits packages)

Sources:

http://www.wideopen.com/archives/rpm-list/2005-July/msg00088.html

http://forum.soft32.com/linux/delete-RPM-multiple-architectures-ftopict366368.html

Leave a Reply