LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problem install rpm (https://www.linuxquestions.org/questions/linux-software-2/problem-install-rpm-236120/)

neonico 09-28-2004 03:56 AM

problem install rpm
 
hi!
i have Mandrake 10 and i try to install the compilator gcc 3.4. I am trying to install the rpm: gcc-3.4.1-3mdk.i586.rpm but i am stuck with the following problems:
Code:

[root@nico gcc]# rpm -i gcc-3.4.1-3mdk.i586.rpm
attention: gcc-3.4.1-3mdk.i586.rpm: signature V3 DSA: NOKEY, key ID 26752624
erreur: Dépendances requises:
        gcc-cpp = 3.4.1-3mdk est nécessaire pour gcc-3.4.1-3mdk
[root@nico gcc]# rpm -i gcc-cpp-3.4.1-3mdk.i586.rpm
attention: gcc-cpp-3.4.1-3mdk.i586.rpm: signature V3 DSA: NOKEY, key ID 26752624
        le fichier /usr/share/man/man1/cpp.1.bz2 de l'installation de gcc-cpp-3.4.1-3mdk entre en conflit avec le fichier du paquetage gcc-cpp-3.3.2-6mdk

To sum up, gcc-3.4.1-3mdk need gcc-cpp-3.4.1-3mdk. When i try to install gcc-cpp-3.4.1-3mdk, it is in conflict with gcc-cpp-3.3.2-6mdk. And i want to keep gcc-cpp-3.3.2-6mdk. How to do to solve this problem?

Thanks a lot.
Nico

Boby 09-28-2004 04:57 AM

I don't think you can keep your old packacke when upgrading from RPM.
To upgrade gcc-3.4.1 and gcc-cpp-3.4.1 use
rpm -Uhv gcc-3.4.1-3mdk.i586.rpm gcc-cpp-3.4.1-3mdk.i586.rpm

Boby

neonico 09-28-2004 07:25 AM

Code:

[root@nico gcc]# rpm -Uhv gcc-3.4.1-3mdk.i586.rpm gcc-cpp-3.4.1-3mdk.i586.rpm
attention: gcc-3.4.1-3mdk.i586.rpm: signature V3 DSA: NOKEY, key ID 26752624
erreur: Dépendances requises:
        gcc = 3.3.2-6mdk est nécessaire pour (déjà installé) gcc-c++-3.3.2-6mdk
        gcc = 3.3.2-6mdk est nécessaire pour (déjà installé) gcc-objc-3.3.2-6mdk
        gcc = 3.3.2-6mdk est nécessaire pour (déjà installé) gcc-java-3.3.2-6mdk
        gcc = 3.3.2-6mdk est nécessaire pour (déjà installé) gcc-g77-3.3.2-6mdk

To sum up, here, the modules gcc-c++-3.3.2-6mdk, gcc-objc-3.3.2-6mdk, gcc-java-3.3.2-6, gcc-g77-3.3.2-6mdk need gcc-3.3.2-6mdk which is installed!!
Any ideas on this problem? or is there other means to install the compilator 3.4 keeping the 3.3?
Thanks.


All times are GMT -5. The time now is 11:38 PM.