LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-28-2005, 11:58 PM   #1
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
help removing .rpm SuSe 9.2 Pro


hello, i have been trying for the better part of several days to get Quasar installed. it will not work in debian as the packages do not existed that i could find to get the ICU-devel installed that Quasar requires so I am trying my hands at SuSe 9.2 Pro.

from what i understand of rpm commands rpm -e should remove the package installed is that correct? if that is, then why am i getting the following error:

Code:
linux:/home/ray # rpm -e FirebirdSS-1.0.3.972-0.i386.rpm
error: package FirebirdSS-1.0.3.972-0.i386.rpm is not installed
linux:/home/ray # rpm -ivh FirebirdSS-1.0.3.972-0.i386.rpm
Preparing...                ########################################### [100%]
        package FirebirdSS-1.0.3.972-0 is already installed
so first it tells me it is not there to uninstall, yet if i try to install it, it tells me it is already installed. sorry logic tells me that it can not be both. i know it is installed, i know it was running and responding, but it seems to be lacking something so i was going to try the CS (classic server) instead of the SS (super server) vs. to see if that made a difference.

anyways, some help here would be greatly appreciated.
 
Old 07-29-2005, 03:46 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
With rpm -e, you have to specify the package name not the filename. So the command you want is

Code:
rpm -e FirebirdSS-1.0.3.972-0
 
Old 07-29-2005, 08:56 AM   #3
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Original Poster
Rep: Reputation: 45
thank you, now that was simple enough.
 
Old 07-29-2005, 11:48 AM   #4
RossB
Novell Adv. Tech. Training Engineer
 
Registered: Jul 2004
Distribution: Knoppix/Mint
Posts: 47

Rep: Reputation: 15
The easiest way to explain what happened to you is to make sure you understand that packages can exist it two places and ways:

1. On the disk, and the full name should be tab-completed (type part and hit Tab to complete) when installing

2. In the package database, ie: installed on the system and available as a package that can be queried etc.

Typically when you deal with packages you can use the short name after it's installed, the long name is typically of the format:

packagename-version-revision-arch.rpm

The long package name for the above package would be packagename-version-revision, while the short package name would be packagename. When you are interacting with installed packages, you can use the short package name unless there are several versions of the package on the system, in which case queries would show that, and you can't remove multiple packages with the same short name, unless you use the --allmatches options for the rpm command.

So, if you saw that tree-1.2.4 and tree-1.3.5 were both installed on the system with the command:

rpm -q tree
tree-1.2.4
tree-1.3.5

You couldn't remove all of them or any of them without either specifying the long name of each package:

rpm -e tree-1.2.4

You can remove all instances of the tree package from the system with the command:

rpm -e tree --allmatches

Also remember that when you interact with packages on the disk, ie: one that is a file and has an .rpm extension, you should normally use the -p parameter to all queries etc:

rpm -qlip tree-1.2.4-i386.rpm
output shows

HTH,

Rossb
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
suse 9.1 pro yast2 rpm updates brancy Linux - Software 2 09-15-2004 04:44 PM
Problem installing samlib rpm in Yast2 on SuSE 9.1 Pro. korvas Linux - Software 1 08-24-2004 12:21 PM
rpm install in Suse 9.0 pro it won't work... 666thorsten666 Linux - Newbie 2 11-03-2003 04:14 PM
Rpm removing???? jiggywiggy Linux - Software 13 09-28-2003 07:19 PM
Help with Removing an RPM robgo777 Linux - General 6 12-03-2002 08:48 PM

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

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