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 11-25-2002, 02:48 PM   #1
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Rep: Reputation: 15
rpm troubles


Hi,

By mistake I deleted a directory that contained some program files.

I did a couple of things with rpm trying to get the files back but I don't recall those steps leading up to my current state.

The listing below show that if i try to erase the package it tells me that it is not installed BUT if I try to install it it says its already installed. Even when I try to force an install with --replacepkgs I still get wierdness with the erase command.

What can I do to fix it so that I can do an install and a uninstall and have it work the way it should?



[root@C S]# rpm -e x.2-0.i386.rpm
error: package x.2-0.i386.rpm is not installed
[root@C S]# rpm -i x.2-0.i386.rpm
package x.2-0 is already installed


[root@C S]# rpm -i --replacepkgs x.2-0.i386.rpm
[root@C S]# rpm -e x.2-0.i386.rpm
error: package x.2-0.i386.rpm is not installed
 
Old 11-25-2002, 02:57 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you don't uninstall a package by the filename, that doesn't make sense when you stop to think about it. you unisntall by the package name which you seem to have replaced with "x" for some reason.
 
Old 11-25-2002, 03:15 PM   #3
albean
Member
 
Registered: Sep 2002
Distribution: fc2
Posts: 113

Original Poster
Rep: Reputation: 15
oh. Well, I guess you should change my mebership rank back to

-Al
 
  


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
rpm troubles Kreature Linux - Newbie 6 02-08-2005 12:16 PM
RPM and x server troubles ..... fellsin Linux - General 4 01-11-2005 03:12 PM
rpm troubles conrad987 Fedora 4 12-06-2004 05:57 AM
Troubles RPM Gerardoj Linux - Software 3 06-10-2003 03:21 AM
Serious RPM troubles :( Tarantismic Yak Linux - Software 2 05-01-2001 09:55 PM


All times are GMT -5. The time now is 12:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration