LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2003, 02:18 PM   #1
mhd_Ahmed
Member
 
Registered: May 2003
Posts: 33

Rep: Reputation: 15
removing packages..???


every time am trying to run the wine application this message appears:
" the package "wine" is currently installed "
and when i tried to uninstall or delete this package using this command:
" rpm -e wine-20030508-1rh9winehq "
this error appears:
" error reading information on service wine: No such file or directory
error: %preun(wine-20030508-1rh9winehq) scriptlet failed, exit status 1 "
plzz tell me how can i remove this package from my system....
 
Old 06-27-2003, 02:24 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
To find the exact name of the installed package try:
rpm -qa | grep wine

This should give you the file to uninstall (don't include "-version"):
rpm -e wine-blah
 
Old 06-28-2003, 04:27 PM   #3
mhd_Ahmed
Member
 
Registered: May 2003
Posts: 33

Original Poster
Rep: Reputation: 15
i tried it but still can't to remove or uninstall the package, plzz try to find another way....
 
Old 08-22-2003, 10:53 AM   #4
sbb
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora 4
Posts: 27

Rep: Reputation: 15
I get

[sbb@localhost sbb]$ rpm -e winex-3-1
error: cannot get exclusive lock on /var/lib/rpm/Packages
error: cannot open Packages index using db3 - Operation not permitted (1)
error: cannot open Packages database in /var/lib/rpm
 
Old 08-22-2003, 12:46 PM   #5
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You will need to be logged in as root.
 
  


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
Removing unused packages objorkum Debian 2 04-05-2005 08:32 PM
removing certain packages Smokey Red Hat 1 10-02-2004 07:55 PM
Removing multiple packages tipaul Slackware 8 08-21-2004 09:45 AM
removing unused packages hypermegachi Slackware 3 07-05-2004 03:06 PM
removing packages robson8112 Linux - General 3 01-21-2004 03:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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