LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rpm installation have a problem (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-installation-have-a-problem-708725/)

shibu_sp 03-02-2009 09:40 PM

rpm installation have a problem
 
Hi


i want to update my current version of gcc gcc-3.4.3-9.EL4 and i want to upgrade to gcc-3.4.3-22.1.

i downloaded a rpm name: gcc-3.4.3-22.1.src.rpm.


when i execute rpm

Code:

[root@mail opt]# rpm -ivh gcc-3.4.3-22.1.src.rpm
warning: gcc-3.4.3-22.1.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
  1:gcc                    ########################################### [100%]
[root@mail opt]# rpm -qa gcc
gcc-3.4.3-9.EL4

still there is no changes and i feel i have a problem on my rpm execution(because it said warning)


i search for the same.

solution: without "src" rpm required

where can i get the same package.

Pl help me

wbr

shibu

kirukan 03-02-2009 11:11 PM

Here you have existing version of gcc at your system so if you want to upgrade use
#rpm -Uvh name.rpm (I think gcc-3.4.3-22.1.src.rpm will require some other dependancies for gcc updrade,its difficult to get and upgrade one by one).yum is the easiest way to upgrade gcc.

Warning denote about checksum so makesure whether the checksum is correct or not(At gcc site you can get real checksum)
#md5sum name.rpm

linuxlover.chaitanya 03-02-2009 11:57 PM

This will help you installing src.rpm package.
It is not a pre compiled package and hence it will not get installed as a package but you will have a source and you will need to compile it manually.

http://www.linuxquestions.org/questi...src.rpm-78937/


All times are GMT -5. The time now is 07:16 AM.