









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] RPM's
Try this suggestion:
Managing RPMs:
In any distribution that uses the Red Hat package manager (Red Hat, Caldera,
and TurboLinux are a few) you can just use the rpm command to install it from
your CD. Use rpm -i <filename> to install a package; rpm -U <filename> to
upgrade a package; and rpm -i --force <filename> if you installed a package,
but didn't use rpm to remove it and want to reinstall it. The file name
should end in "*.rpm". If rpm doesn't work on your system then you don't have
it installed.
Found this by googling for "force rpm reinstall corrupted"
http://linuxguide.automatedshops.com/LinuxGuide/linux-basics.html
Sounds like using rpm -i --force should work to reinstall python right on top
of itself.
Hope that works.
Tim
--- Will Pearson <wpearson@mail.sfps.k12.nm.us> wrote:
> Hello,
>
> I've encountered a situation with Python 2.2 on one of my computers. I
> was compiling some software which required Python 2.2 and above.
> Afterwards my Python installation seems to have been corrupted. I
> rebooted and the system wouldn't boot without me fsck'ing it. Fsck
> discovered several problems with files in Python which were screwed up
> and removed them. There aren't any more file system problems but Python
> is corrupted. I did an RPM verification on the Python package and it
> confirmed that those files were now missing. I've tried uninstalling
> Python but other packages require it and I don't feel confident removing
> it and then installing it again because it may corrupt something else.
> How can I go about reinstalling the Python RPM package without
> corrupting anything?
> --
> +---------------------------+------------------------------------------+
> |William Pearson | "My computer crashes too!" |
> |Desk# 505-467-2583 | --Bill Gates, 2001 |
> |Cell# 505-490-3805 +------------------------------------------+
> |Technology Resource Center | "The tree of liberty must be refreshed |
> |Santa Fe Public Schools | from time to time with the blood of |
> | | Patriots & Tyrants" --Thomas Jefferson |
> +---------------------------+------------------------------------------+
> |"They that can give up essential liberty to obtain a little temporary |
> |safety deserve neither liberty nor safety." --Benjamin Franklin |
> +----------------------------------------------------------------------+
> |"I know not with what weapons World War III will be fought, but World |
> |War IV will be fought with sticks and stones." --Albert Einstein |
> +----------------------------------------------------------------------+
> |"The purpose of war is to decide who has justice on his side, the |
> |looser is the guilty one" --Lucan |
> +----------------------------------------------------------------------+
>
>
> _______________________________________________
> NMLUG mailing list
> NMLUG@nmlug.org
> http://www.nmlug.org/mailman/listinfo/nmlug
>
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
- References:
- [NMLUG] RPM's
- From: wpearson at mail.sfps.k12.nm.us (Will Pearson)
|
|