Re: Somehow deleted RPM and YUM... help!



In comp.os.linux.misc Jim <brian@xxxxxxxxxxxxx>:
> Hi,

> Obviously I'm a new user of linux. Here's what I did:
> I wanted to remove mysql, so I opened yumex and filtered on "sql". I
> then deselected all that appeared (slated for uninstall). The OS did as
> I requested and it now appears that any thing that used a database is
> now gone from my computer.

First, never ever use 'yum remove' with '-y' unless you are 100%
sure you know what you are doing. Dunno yumex, presuming some
GUI, I'd be careful. You can render the system useless in a
second, this is unix, it assumes the guy with UID 0 knows what
he's doing.

> I can no longer access RPM or YUM, so I can' t install RPM or YUM (nice
> paradox).

> I am sure it is not a path issue. I searched my machine (locate
> command) for rpm and could not find the executable anywhere.

> What I need to know is how can I reinstall RPM and/or YUM (YUM relies
> on RPM, no?)

Yep, it does. Easiest way, would be to recover from backup.
Hopefully you still have 'yum.log' it shouldn't have been deleted
and should contain info until yum was removed what you are
missing. Is your rpm db still in place (/var/lib/rpm)?

> My OS is Fedora Core 4.


--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo zvpunry@xxxxxxxxxx | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 21: POSIX compliance problem
.



Relevant Pages

  • Re: A Problem using yum on Linux Fedora Core 4
    ... > required to run yum. ... there is something wrong with your python installation. ... That directory and those files are placed there by the yum rpm. ... home site of the package. ...
    (comp.os.linux.setup)
  • Re: A Problem using yum on Linux Fedora Core 4
    ... > required to run yum. ... there is something wrong with your python installation. ... That directory and those files are placed there by the yum rpm. ... home site of the package. ...
    (comp.os.linux)
  • Re: A Problem using yum on Linux Fedora Core 4
    ... > required to run yum. ... there is something wrong with your python installation. ... That directory and those files are placed there by the yum rpm. ... home site of the package. ...
    (alt.os.linux)
  • Somehow deleted RPM and YUM... help!
    ... I wanted to remove mysql, so I opened yumex and filtered on "sql". ... I can no longer access RPM or YUM, so I can' t install RPM or YUM (nice ...
    (comp.os.linux.setup)
  • Somehow deleted RPM and YUM... help!
    ... I wanted to remove mysql, so I opened yumex and filtered on "sql". ... I can no longer access RPM or YUM, so I can' t install RPM or YUM (nice ...
    (comp.os.linux.misc)