Stefan van der Eijk <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> On my box I've discovered that some duplicate rpm's have been installed
> (one got "stuck" while trying to upgrade the package. For instance:
> 
> These rpm's are both installed on my machine:
> 
> gcc-cpp-2.95.2-8mdk
> gcc-cpp-2.95.2-9mdk
> 
> I would like to remove the 8mdk one. This gives:
> 
> rpm -e gcc-cpp-2.95.2-8mdk
> var/tmp/rpm-tmp.74027: line 3: syntax error: unexpected end of file
> execution of gcc-cpp-2.95.2-8mdk script failed, exit status 2
> 
> Is there any way to remove this rpm in an other way?

You were close:

rpm -e --noscripts gcc-cpp-2.95.2-8mdk

I always tend to also remove the other one (rpm -e --nodeps gcc-cpp) and
reinstall it since I am afraid the first uninstall removes some files actually
needed by the second.

=-=
kk1

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

Reply via email to