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 01-06-2004, 05:39 AM   #1
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Rep: Reputation: 30
wine isn't installed. wine is installed. which is it?


I'm in the process of trying to formulate a way of removing the current Wine install so I can install it again. However, according to konsole, wine isn't installed and is installed.

Quote:
[root@44ba0d45 trinity]# rpm -i wine-20031016-1rh9winehq.i686.rpm
warning: cannot get shared lock on /var/lib/rpm/Packages
package wine-20031016-1rh9winehq is already installed
[root@44ba0d45 trinity]# rpm -e wine-20031016-1rh9winehq.i686.rpm
warning: cannot get shared lock on /var/lib/rpm/Packages
error: package wine-20031016-1rh9winehq.i686.rpm is not installed
I think my computer is heavily confused on this, since Notepad works fine and yet Wine doesn't show up at all under Synaptic.

I can't install a newer version over it because it butts horns with the already/not installed Wine 200310616.

Does anyone have any suggestion? I'll take anything short of reinstalling the OS.

Trinity
 
Old 01-06-2004, 06:38 AM   #2
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Quote:
[root@44ba0d45 trinity]# rpm -e wine-20031016-1rh9winehq.i686.rpm
warning: cannot get shared lock on /var/lib/rpm/Packages
error: package wine-20031016-1rh9winehq.i686.rpm is not installed
Well... why don't you try rpm -e wine-20031015-1rh9wineh1 (without i686.rpm)
 
Old 01-06-2004, 09:41 AM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
no that wont' work ...
there is some unclaimed process still locking the database, so you'll have to find it and kill it ...
type : fuser /var/lib/rpm/Packages
and see what it is, and then kill it ..
p.s. you have to be root, and its located in /sbin, so if you get command not found, then type the whole path...
 
Old 01-06-2004, 10:27 AM   #4
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
I was curious about the locking message... however, the second part of the error tells that the package isn't installed, so perhaps he is writing the name incorrectly (i.e. adding .i686.rpm) try rpm -qa|grep wine and then try rpm -e <whatever output it shall return>. However, you should be able to do rpm -U, so that it will update instead of uninstall + install.
 
Old 01-06-2004, 06:31 PM   #5
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
When uninstalling an rpm (rpm -e) you don't use the full file name.

try

rpm -e wine-20031016

or just

rpm -e wine

I think the first one should work.



after this you should be able to install wine again


rpm -ivh wine.blahblah.i686.rpm

Last edited by pezplaya; 01-06-2004 at 06:32 PM.
 
Old 01-06-2004, 06:56 PM   #6
Trinity22
Member
 
Registered: Jul 2003
Location: oregon coast
Distribution: Fedora Core 3
Posts: 280

Original Poster
Rep: Reputation: 30
thank you all. the fuser command wouldn't work since I got a "command not found" with it.

I did try Ciccio's method though and that uninstalled it well Saving this whole thread so I know how to do this in the future.

Thanks again to all.

Trinity
 
Old 01-07-2004, 11:21 AM   #7
Ciccio
Member
 
Registered: Nov 2002
Location: Paraguay
Distribution: Mandrake 10
Posts: 573

Rep: Reputation: 30
Did you try it as root? It works in my RH9 and in mi MDK9.1
 
  


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
Installed WINE, but how to launch? Archaic Ubuntu 2 07-07-2005 09:44 AM
Wine is installed LinuxNoob1234 Linux - Newbie 1 05-09-2005 01:51 PM
Wine half installed Fredstar Mandriva 5 02-09-2005 05:20 PM
Wine is installed, now what? ryedunn Linux - Software 16 04-16-2004 04:58 PM
Is my WINE installed? mynameisjoe Linux - Software 1 04-05-2004 08:46 AM

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

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