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 |
It is like this... It's much better idea to to compile rpm from source : http://www.rpm.org/
|
so u r tryin to install rpm via rpm?
|
why don't try out up2date? You just need to register at RH site and off you go.
|
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.
|
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.
|
The problem is that there might be too many updates :)
|
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? |
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.
|
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.
|
Ok I guess I have another question then
How do I create a symlink? Thanks to everyone has helped so far. |
From command line:
ln -s source linkname |
All times are GMT -5. The time now is 08:50 AM. |