LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help needed updating RPM (https://www.linuxquestions.org/questions/linux-newbie-8/help-needed-updating-rpm-25350/)

drmartin 07-08-2002 03:53 PM

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

Mara 07-08-2002 05:24 PM

It is like this... It's much better idea to to compile rpm from source : http://www.rpm.org/

Phonics3k 07-08-2002 05:47 PM

so u r tryin to install rpm via rpm?

neo77777 07-08-2002 09:48 PM

why don't try out up2date? You just need to register at RH site and off you go.

Mara 07-09-2002 02:36 AM

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.

neo77777 07-09-2002 08:12 AM

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.

Mara 07-09-2002 01:03 PM

The problem is that there might be too many updates :)

drmartin 07-09-2002 02:10 PM

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?

neo77777 07-09-2002 02:19 PM

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.

Mara 07-09-2002 03:11 PM

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.

drmartin 07-10-2002 10:48 AM

Ok I guess I have another question then

How do I create a symlink?

Thanks to everyone has helped so far.

Mara 07-10-2002 10:53 AM

From command line:
ln -s source linkname


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