Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-02-2009, 10:40 PM   #1
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
rpm installation have a problem


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

[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
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


Old 03-03-2009, 12:11 AM   #2
Senior Member
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,275

Rep: Reputation: 148Reputation: 148
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
Old 03-03-2009, 12:57 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RPM installation problem yspatro Linux - Software 1 09-12-2007 12:24 PM
rpm installation problem lumba Linux - Software 1 12-10-2006 06:03 PM
Installation of RPM problem borrrden Fedora 1 06-01-2004 01:28 AM
RPM installation problem. AlainG Red Hat 7 04-20-2004 07:29 PM
rpm installation problem nulloverflow Linux - General 1 02-26-2004 08:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration