LinuxQuestions.org
Review your favorite Linux distribution.
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-11-2003, 06:54 PM   #1
supermax
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 40

Rep: Reputation: 15
Uninstalling ~!


Hi,
I just wanted ot know how to uninstall a program ( in my case winex ) ? I'm using mandrake 9.1
 
Old 08-11-2003, 06:59 PM   #2
flump
Member
 
Registered: Jan 2003
Distribution: SuSE 8.2
Posts: 73

Rep: Reputation: 15
if you compiled winex from source you could try
make uninstall
from the directory.
 
Old 08-11-2003, 07:05 PM   #3
supermax
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 40

Original Poster
Rep: Reputation: 15
It was a RPM package, is there a RPM manager in mandrake, cose I know there is none in newer redhat.
 
Old 08-11-2003, 07:16 PM   #4
supermax
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 40

Original Poster
Rep: Reputation: 15
look what I get when I try to uninstall with rpm:

[supermax@localhost download]$ rpm -e winex3.1.i586.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open /var/lib/rpm/packages.rpm
[supermax@localhost download]$

by the way packages.rpm dosent even exist
 
Old 08-11-2003, 07:36 PM   #5
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
Quote:
Originally posted by supermax
look what I get when I try to uninstall with rpm:

[supermax@localhost download]$ rpm -e winex3.1.i586.rpm
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open /var/lib/rpm/packages.rpm
[supermax@localhost download]$

by the way packages.rpm dosent even exist
su into root and try it. plus the you don't use the rpm filename to uninstall, you use the package name. if you need the package name use:

rpm -q winex

and then run "rpm -e package_name" where you use the output of rpm -q as the package_name.

Last edited by megaspaz; 08-11-2003 at 07:38 PM.
 
Old 08-11-2003, 07:47 PM   #6
Allen614
Member
 
Registered: Dec 2002
Location: Plains
Distribution: Slackware 13
Posts: 465

Rep: Reputation: 30
What happened with the Configuration/Packaging/Remove Software in the menu. (KDE)?
 
Old 08-11-2003, 08:27 PM   #7
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
The Mandrake RPM management software is called RpmDrake.

However, if you are talking about kpackage, many distribution no longer include it.
 
Old 08-12-2003, 02:46 AM   #8
l0f33t
Member
 
Registered: May 2003
Location: Washington State
Distribution: Gentoo
Posts: 145

Rep: Reputation: 15
Megaspaz has your answer.

Your lucky you didn't compile that app from source.

When your uninstalling RPM's, 99% percent of the time there's going to be dependcies that have to go with it.

If your unsure of the full name of the package installed but some of it, you can login as root and cd to the / directory and issue "find / -name apach* (Apache-1.3.28 for example is the actual file) but I wasn't sure if it had 2 e's or 1. This will scour the whole file system finding every file that starts with apach.
Now you'll have the correct name and the path to get to the package.
Now you need to find all of its dependencies as well.

cd to the (in my example) Apache-1.3.28 directory and issue rpm -qil <file name) without the .rpm on the end that is
 
  


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
Uninstalling...anything, really. Hal Linux - Newbie 4 11-17-2003 06:08 PM
uninstalling rh 9 term789 Linux - Newbie 5 09-28-2003 07:15 AM
uninstalling help Sisterluck General 6 09-24-2003 09:44 PM
Uninstalling something? trout21 Linux - Newbie 5 07-04-2003 03:21 AM
Uninstalling EchO Linux - Newbie 2 01-16-2002 05:44 PM

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

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