LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-24-2012, 06:39 AM   #1
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
How to UNinstall a RPM - unixODBC


I installed the 93 version of unixODBC through rpm -i command.

Now, I wish to install the newer version of the same.
The below command show that files are conflicting, but at the same time, it also says that 93 version isn't installed!

Code:
anisha@linux-y3pi:~> uname -a && cat /etc/issue
Linux linux-y3pi 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux
Welcome to openSUSE 11.3 "Teal" - Kernel \r (\l).
Yes, I know 11.3 is old.

Code:
linux-y3pi:/home/anisha/Desktop/R # rpm -i unixODBC-2.2.12-206.1.x86_64.rpm 
     file /etc/unixODBC/odbc.ini from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /etc/unixODBC/odbcinst.ini from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/bin/dltest from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/bin/isql from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/bin/iusql from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/bin/odbc_config from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/bin/odbcinst from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/libboundparam.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/libgtrtst.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/libodbc.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/libodbccr.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/libodbcinst.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libesoobS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libmimerS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libnn.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcdrvcfg1S.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcdrvcfg2S.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcminiS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcmyS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcnnS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcpsql.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcpsql.so.2.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbcpsqlS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libodbctxtS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/liboplodbcS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/liboraodbcS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libsapdbS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libtdsS.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
     file /usr/lib64/unixODBC/libtemplate.so.1.0.0 from install of unixODBC-2.2.12-206.1.x86_64 conflicts with file from package unixODBC-2.2.12-93.1.x86_64
Code:
linux-y3pi:/home/anisha/Desktop/R # rpm -e unixODBC-2.2.12-93.1.x86_64.rpm  
error: package unixODBC-2.2.12-93.1.x86_64.rpm is not installed

Last edited by Aquarius_Girl; 08-24-2012 at 06:51 AM.
 
Old 08-24-2012, 06:59 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
1) The "package id" is not "unixODBC-2.2.12-93.1.x86_64.rpm"
Please use : rpm -qa | grep unixODBC
.. to decide the package name ( unixODBC or unixODBC-2.2.12-93.1 )
Then you can do e.g. # zypper rm unixODBC


2) 'rpm -i' is an not to be used unless :
a) You want two versions of a library installed at the same time.
b) Or you are absolutely sure that no package with <name> is installed.

The normal install command ( also used by zypper ) is 'rpm -Uvh'.

.
 
1 members found this post helpful.
Old 08-24-2012, 07:04 AM   #3
Aquarius_Girl
Senior Member
 
Registered: Dec 2008
Posts: 4,731

Original Poster
Blog Entries: 29

Rep: Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940Reputation: 940
Thanks for the helpful and prompt response.
Code:
anisha@linux-y3pi:~/Desktop/R> sudo rpm -qa | grep unixODBC
unixODBC-2.2.12-93.1.x86_64
anisha@linux-y3pi:~/Desktop/R> sudo rpm -e unixODBC-2.2.12-93.1.x86_64
warning: /etc/unixODBC/odbcinst.ini saved as /etc/unixODBC/odbcinst.ini.rpmsave
warning: /etc/unixODBC/odbc.ini saved as /etc/unixODBC/odbc.ini.rpmsave
anisha@linux-y3pi:~/Desktop/R> sudo rpm -i unixODBC-2.2.12-206.1.x86_64.rpm 
anisha@linux-y3pi:~/Desktop/R>
Will take take care w.r.t -i in future.
 
  


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
unixODBC 2.3.0 RPM building problem... RajinderJoat Red Hat 3 11-12-2010 11:23 AM
unixODBC rpm and its dependencies muvendrann Linux - Software 1 02-06-2010 03:43 AM
How to uninstall without RPM? HighLife Linux - Newbie 12 10-06-2005 03:20 AM
cannot uninstall rpm jaina2 Linux - Newbie 5 07-24-2003 11:41 PM
can't uninstall all RPM once all !! hitesh_linux Linux - Software 1 07-08-2003 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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