I usually do the following...
rpm -Uvh --force --nodeps packagename.rpm (to upgrade a package)
rpm -i --force --nodeps
I am not sure this will solve your problem though, when RPM stops working
(unlike apt), it tends to lie down and die. Give it a go though.
Beware excessive use of "the force" you may be turned to the dark side.
From: Stephane Dudzinski [mailto:stephane at antefacto.com]
Sent: Monday, July 30, 2001 1:17 PM
To: ilug at linux.ie
Subject: Re: [ILUG] RPM Failing
Seen that when the RPM which it is trying to remove/upgrade is not
installed correctly or some info files are missing. Try to force-install
the rpm from the distro before.
On 30 Jul 2001 09:20:38 -0400, Anton McKee wrote:
> Hi guys,
>> Having a strange problem with RPM. Anytime I try to install a package it
> dumps a core. Nothing else. And it won't istall anything. the md5sum of
> binary is okay as is the one of the rpm binary. It used to work fine.
>> Any ideas? (RedHat 7.1 Box)
>> Thanks in advance
>http://www.nevermindthebollox.com> Talking bollox has never been this easy
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for (un)subscription
> List maintainer: listmaster at linux.ie--
Stephane Dudzinski Systems Administrator
a n t e f a c t o t: +353 1 8586009
www.antefacto.com f: +353 1 8586014
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!