 |
 |
 |
 |
| Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum. |

20th October 2004, 05:34 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Wisconsin, USA
Age: 54
Posts: 20

|
|
|
RPM abort left me with half installed program
I was trying to install Wine tonight with rpm. The program appeared to be making no progress. I thought it was hung so I pressed CTRL-Z to abort the process. When I tried again, RPM told me that the program was already installed. But when I tried it, it didn't work. So I tried to uninstall it using the erase option. Now, RPM tells me the file is not installed.
Any ideas on what I can do to either completely remove Wine and let RPM know it no longer exists?
|

20th October 2004, 07:48 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 1,227

|
|
|
rpm -F packagename.rpm
should do the trick.
|

20th October 2004, 10:10 AM
|
|
Registered User
|
|
Join Date: Apr 2004
Location: Euregio
Posts: 3,613

|
|
|
have you tried a
rpm --rebuilddb
?
|

20th October 2004, 04:57 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Wisconsin, USA
Age: 54
Posts: 20

|
|
Quote:
|
Originally Posted by james_in_denver
rpm -F packagename.rpm
should do the trick.
|
Yes, I have tried that, but it didn't work. I got no response from the command at all. The only thing that happened was a new prompt appears.
Last edited by kenewton; 20th October 2004 at 08:15 PM.
|

20th October 2004, 08:16 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Wisconsin, USA
Age: 54
Posts: 20

|
|
Quote:
|
Originally Posted by ilja
have you tried a
rpm --rebuilddb
?
|
I've tried this, but it didn't work either. Same problem. I guess I'm stuck.
|

21st October 2004, 01:10 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 129

|
|
|
Try rpm --force <package> to install, or rpm -e <package> to run the uninstall script before trying to re-install.
|

21st October 2004, 02:22 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Wisconsin, USA
Age: 54
Posts: 20

|
|
|
I tried all the suggestions (except --rebuilddb) before I posted. I tried to force (-F) the install, but nothing happened. I tried to erase the program (-e), but it kept telling the program was not installed. Even after I tried to rebuild the DB, no luck.
Finally, I decided to try using yum to remove Wine, and that worked!
Thanks for all the suggestions. I appreciate the help.
|

21st October 2004, 02:41 AM
|
|
Registered User
|
|
Join Date: May 2004
Posts: 129

|
|
|
Good to hear that you got the problem fixed... for future reference to the thread, rpm -F freshens (upgrades) a package if it's already installed while rpm --force compels package installation regardless of status or dependencies.
|

21st October 2004, 04:05 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Location: Wisconsin, USA
Age: 54
Posts: 20

|
|
Quote:
|
Originally Posted by rogue
... for future reference to the thread, rpm -F freshens (upgrades) a package if it's already installed while rpm --force compels package installation regardless of status or dependencies.
|
Thanks for the clarification. I've been running Linux for about 2 weeks now and have a lot to learn. Quite a steep learning curve.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 11:12 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|