LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-18-2003, 10:23 PM   #1
EmberWhite
LQ Newbie
 
Registered: Jan 2003
Location: Rochester NY
Distribution: Gentoo
Posts: 11

Rep: Reputation: Disabled
it's installed...but not (amusing)


I'm running RH8 and have been playing around with getting wine working properly. At one point I removed the wine package that installed with RH8, and now I want to install it again. However, when I try to, it tells me the package is already installed. So then I try to remove it with rpm -e, and it tells me the package is not installed!! I searched my hd for any files with "wine" in the name and deleted them all (I'm trying to install it off of a CD) and have rebooted a few times, but to no avail. Does anybody have any clue as to what's causing this?

Still missing DOS 5....

-Jason
 
Old 02-18-2003, 10:50 PM   #2
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
How did you remove wine?

In any case, there should be no problem reinstalling it:

from the man page

rpm {-i|--install} [install-options] PACKAGE_FILE ...

rpm {-U|--upgrade} [install-options] PACKAGE_FILE ...

rpm {-F|--freshen} [install-options] PACKAGE_FILE ...
.
INSTALL AND UPGRADE OPTIONS
.
--force
Same as using --replacepkgs, --replacefiles, and
--oldpackage.
.
--replacefiles
Install the packages even if they replace files
from other, already installed, packages.

--replacepkgs
Install the packages even if some of them are
already installed on this system.

I'ld probably do rpm -Uvh --replacepkgs wine*
 
Old 02-18-2003, 10:50 PM   #3
skidhmor
Member
 
Registered: Feb 2003
Location: Maitland, FL, USA
Distribution: Gentoo
Posts: 38

Rep: Reputation: 15
If you already had it installed, it can safely be assumed that you have already resolved any and all dependencies, therefore the command:
rpm -ivh --force <winerpms>
should do the trick. Just replace <winerpms> with the name(s) of the wine package(s).
 
Old 02-19-2003, 10:04 AM   #4
EmberWhite
LQ Newbie
 
Registered: Jan 2003
Location: Rochester NY
Distribution: Gentoo
Posts: 11

Original Poster
Rep: Reputation: Disabled
Just for reference, I had to delete wine manually because rpm -e wasn't cooperating (it was telling me it wasn't installed). But anyways, I tried the rpm -ivh --force and it seems to have worked fine. Thanks guys, I'll remember that one

-Jason
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Silly, yet amusing forum game, again Joey.Dale General 317 03-19-2005 01:28 AM
Amusing game The_Nerd General 1 10-23-2004 03:47 PM
Amusing computer tip rip General 16 09-14-2004 10:58 AM
Amusing google page Capt_Caveman General 15 07-30-2004 05:13 PM
Silly, yet amusing forum game WorldBuilder General 430 04-20-2004 04:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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