[CentOS] Question about stubborn RPM

Sat Mar 3 13:57:24 UTC 2007
Tim Verhoeven <tim.verhoeven.be at gmail.com>

On 3/3/07, Mário Gamito <gamito at gmail.com> wrote:
>
> > First delete the rpm you installed with "rpm -e --force <rpmname>".
> > That should do it. If not report back the error it gives when
> > executing that command.
> > Then you can install the rpm again.
> [root at mail rpms]# rpm -e --force mysql-5.0.33-1.i386.rpm
> rpm: only installation, upgrading, rmsource and rmspec may be forced
> [root at mail rpms]#
>
> I tried
> [root at mail rpms]# rpm -ivh -e --force mysql-5.0.33-1.i386.rpm
> Preparing...                ###########################################
> [100%]
>     1:mysql                  ###########################################
> [100%]
>
>
> but in fact it doesn't get installed.

First do "rpm -e mysql". Then everything should be gone, so check that.
Then the "rpm -ivh mysql..." should work. You can't delete and install
at the same time.

Regards,
Tim

-- 
Tim Verhoeven - dj at rootshell.be - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)