









|
[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[NMLUG] RPM's
On Tuesday, 26 October 2004 11:05, Will Pearson wrote:
> corrupt something else. How can I go about reinstalling the Python
> RPM package without corrupting anything?
Generally, just installing the package(s[1]) again on top of itself will
work fine. Get the RPM[2], and run the following:
$ rpm -Uvh --oldpackage [your_rpm.rpm]
That should do the trick, but if not, the following possibly
option-overkilled command will almost definately work:
$ rpm -ivh --force --replace-packages --replace-files [your_rpm.rpm]
Both of these should have the desired effect of overwriting all of the
package files and re-running the post install scripts (for things like
byte-compiling and whatnot).
Notes:
[1] Most likely, there is more than a single package you need to
reinstall; python itself may be split up into several packages, and any
3rd party modules (e.g. .../site-python/...) that are corrupted will
need to be reinstalled as well.
[2] Make sure it's the CORRECT RPM for your distro, version, etc!
--
Wesley J. Landaker <wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.b9.com/pipermail/nmlug/attachments/20041027/917f3d05/attachment.pgp
- References:
- [NMLUG] RPM's
- From: wpearson at mail.sfps.k12.nm.us (Will Pearson)
|
|