LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-08-2002, 04:53 PM   #1
drmartin
LQ Newbie
 
Registered: Jun 2002
Posts: 4

Rep: Reputation: 0
Question help needed updating RPM


Hi

I using RedHat 7.2 and want to update the version of RPM that is included.

Ok so I had to download the new version of RPM which needed a new version of "fill in the blank" which needed a new version of "fill in the blank" which needed a new version of "fill in the blank".......etc

I am using gnorpm to do the updates. Everytime I add a program to be updated I find something else that needs to be updated.

Does this sound right? Am I missing the easy way to do this?

The easy way is probably to scrap everything and just get redhat 7.3.

Any suggestions or comments ...

or HELP!!!

tia

David
 
Old 07-08-2002, 06:24 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
It is like this... It's much better idea to to compile rpm from source : http://www.rpm.org/
 
Old 07-08-2002, 06:47 PM   #3
Phonics3k
Member
 
Registered: Jun 2002
Location: Wales, UK
Distribution: Gentoo 2005.1
Posts: 213

Rep: Reputation: 30
so u r tryin to install rpm via rpm?
 
Old 07-08-2002, 10:48 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
why don't try out up2date? You just need to register at RH site and off you go.
 
Old 07-09-2002, 03:36 AM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
It'll download to many dependencies... Sometimes they are not really needed (library minor version change, etc). That's why, in my opinion, compilation is a better idea.
 
Old 07-09-2002, 09:12 AM   #6
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
No doubt about compilng form source vs installing pre-compiled binaries, I always go with the source. The up2date thingy I found it very convinient when you just installed the system and you ran up2date to get the redhat "latest" updtaes, and then I usually run run up2date on a regular basis to check if I've missed on something.
 
Old 07-09-2002, 02:03 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
The problem is that there might be too many updates
 
Old 07-09-2002, 03:10 PM   #8
drmartin
LQ Newbie
 
Registered: Jun 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Ok so I should compile the source, but won't I have problems because I don't have all the other required programs?

Is there a simple walk-thru on upgrading RPM?
 
Old 07-09-2002, 03:19 PM   #9
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
If you want clean install you should satisfy deps before compiling. But sometimes the deps are just non-essential as an example I upgraded gcc from rh version 2-96 to real gcc version 3.x.x, now when I wanted to install mozilla using binaries it complained about libstdc++ I have one version ahead of required and I keep original libstdc++ (made a backup before upgrading gcc, glibc, libstdc++, etc), so I just went ahead and installed it without deps, it works - means deps problem is bull in this case.
 
Old 07-09-2002, 04:11 PM   #10
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Many deps problems may se satisfied by making symlinks. If there's library version change, I usually just vreate a symlink. It works in 99% cases.
 
Old 07-10-2002, 11:48 AM   #11
drmartin
LQ Newbie
 
Registered: Jun 2002
Posts: 4

Original Poster
Rep: Reputation: 0
Ok I guess I have another question then

How do I create a symlink?

Thanks to everyone has helped so far.
 
Old 07-10-2002, 11:53 AM   #12
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
From command line:
ln -s source linkname
 
  


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
Need help in updating two rpm package. backroger Linux - Enterprise 2 02-21-2005 12:19 AM
Source RPM help needed winsnomore Linux - Software 2 10-25-2004 01:42 PM
updating rpm with tar? tardigrade Linux - Software 2 09-04-2004 01:55 AM
Updating an RPM twinkers Mandriva 1 09-01-2003 08:02 PM
Updating Software when it was originally installed by an RPM jmnovak Linux - General 1 08-22-2003 02:47 PM


All times are GMT -5. The time now is 10:38 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