LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 02-16-2007, 12:09 PM   #1
nitrohuffer2001
Member
 
Registered: Apr 2006
Posts: 165

Rep: Reputation: 19
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
 
Old 02-16-2007, 12:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
rpm -e thenameofthepackage
 
Old 02-16-2007, 01:43 PM   #3
nitrohuffer2001
Member
 
Registered: Apr 2006
Posts: 165

Original Poster
Rep: Reputation: 19
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.
 
Old 02-19-2007, 12:50 PM   #4
rahulk
Member
 
Registered: Mar 2006
Posts: 110

Rep: Reputation: 16
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.
 
Old 02-20-2007, 07:07 PM   #5
comtmr
LQ Newbie
 
Registered: Apr 2006
Location: Ankara \ TURKIYE
Distribution: Red Hat Enterprise 4
Posts: 19

Rep: Reputation: 0
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 ;
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM problem Le_Petit_Lapin Linux - Newbie 3 09-01-2004 03:57 PM
problem with rpm jza Linux - General 1 01-04-2004 10:37 AM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
RPM problem! yenonn Linux - General 4 04-14-2003 07:28 AM
rpm problem suliu Linux - General 3 03-08-2001 09:58 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration