LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-02-2009, 09:40 PM   #1
shibu_sp
Member
 
Registered: Aug 2007
Posts: 57

Rep: Reputation: 15
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
 
Old 03-02-2009, 11:11 PM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,274

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-02-2009, 11:57 PM   #3
linuxlover.chaitanya
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.

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


Reply


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 11:24 AM
rpm installation problem lumba Linux - Software 1 12-10-2006 05:03 PM
Installation of RPM problem borrrden Fedora 1 06-01-2004 12:28 AM
RPM installation problem. AlainG Red Hat 7 04-20-2004 06:29 PM
rpm installation problem nulloverflow Linux - General 1 02-26-2004 07:55 PM


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

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