LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   RPM problem (https://www.linuxquestions.org/questions/linux-enterprise-47/rpm-problem-529663/)

nitrohuffer2001 02-16-2007 12:09 PM

RPM problem
 
Hello, I have tried to install a 32 bit driver on a 64 bit box via rpm. It failed but it put the entry in the RPM database so I can not install the new driver becasue it thinks it is already installed. How to I delete the entry from the rmp database?

Thanks

unSpawn 02-16-2007 12:55 PM

rpm -e thenameofthepackage

nitrohuffer2001 02-16-2007 01:43 PM

Actually rpm -e is what was throwing th eerror. So I tried a few things....i added .i386 to the end of the file then I was able to remove it and instal lthe correct one.

rahulk 02-19-2007 12:50 PM

Quote:

Originally Posted by nitrohuffer2001
Actually rpm -e is what was throwing th eerror. So I tried a few things....i added .i386 to the end of the file then I was able to remove it and instal lthe correct one.

Try --nodeps with rpm -e command and it wont look for the dependencies and would remove the rpm. Later on you can install the 64 but driver's rpm.

comtmr 02-20-2007 07:07 PM

hi ;

I had the same problem ;
you need to query your rpm database in more specific ;
you can use this command ; lists installed rpms in fully qualified name ;
then you can uninstall the 32 bit verision (*.i386.) then install 64 bit version ;


rpm -qa --queryformat %{name}-%{version}-%{release}.%{arch}n | grep YOURRPMNAME
rpm -e "output of previously command "

have a nice day ;


All times are GMT -5. The time now is 08:02 AM.