LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   RPM - Won't Install, Won't Uninstall (https://www.linuxquestions.org/questions/mandriva-30/rpm-wont-install-wont-uninstall-384183/)

qizhang 11-17-2005 08:18 PM

RPM - Won't Install, Won't Uninstall
 
Hi,

I'm trying to downgrade my installation of gcc since vmware 5.0 won't compile vmmon on my current version of gcc (4.0.1) which I recently installed (and which I now can't uninstall either because of dependencies that I'm surprised even exist, as I've installed nothing else since...)

I've downloaded gcc-3.4.1-4mdk.i586.rpm but when I try to install with urpmi I get this:

[root@localhost jazzman]# urpmi gcc-3.4.1-4mdk
Everything already installed

And when I try to uninstall, I get this:

[root@localhost jazzman]# urpme gcc-3.4.1-4mdk
unknown package: gcc-3.4.1-4mdk


RPMdrake is no better, and a grep of my rpm list gives this:

[root@localhost jazzman]# rpm -qa | grep gcc
gcc-cpp-4.0.1-5mdk
libgcc1-3.4.1-4mdk

Any ideas as to why this might happen?

Thanks in advance,
Neil

Lakota 11-17-2005 11:24 PM

-

tkedwards 11-18-2005 12:02 AM

Quote:

[root@localhost jazzman]# urpmi gcc-3.4.1-4mdk
Everything already installed
Version 4.01 of the gcc package is already installed so that's why it comes back with this. gcc-3.4 (from 2005LE) and gcc-4.0 (from 2006) are the same package - gcc, they are just different versions of it. You can't have 2 versions of the one package installed at the same time like this so if one's already installed it will tell you that.

Quote:

[root@localhost jazzman]# urpme gcc-3.4.1-4mdk
unknown package: gcc-3.4.1-4mdk
Fine, since gcc-3.4.1 was never installed in the first place.

Quote:

Any ideas as to why this might happen?
You're going about it the wrong way :) There are a couple of compatability packages you can try in 2006 to get an old gcc. You can try installing either gcc2.96 or gcc3.3 to get the older gcc in a way that doesn't interfere with your existing gcc version 4 package. Goto http://easyurpmi.zarb.org if your urpmi can't find these - they are in the main and contrib repos respectively.

I'd say try the gcc3.3 first.


All times are GMT -5. The time now is 12:19 AM.