Re: Catch-22 on an old Red Hat Linux 7.2 box

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Dear Gurus,
Hello Andrew,

>With the limited Linux knowledge I have, I have tried all that I can but seem to have hit a brickwall >that I can't seem to get over. I hope someone out there can help me out.
It's not that hard, because you've got all the information needed to solve your problem, it's just a matter of read and understand them.

>I refer to this page --> http://fedoralegacy.org/docs/quickstart.php
>
>I am trying to install yum on a very old RHL 7.2 box so that I can update it. However, I seem to be at >a Catch-22 stuation.
Fortunately it's not - read the explanation below.

>Here's why:-
>
># rpm -U yum-1.0.3-6.0.7.x.legacy.noarch.rpm
>error: failed dependencies:
>        rpm-python >= 0:4.0.4 is needed by yum-1.0.3-6.0.7.x.legacy
>        rpm >= 0:4.0.4 is needed by yum-1.0.3-6.0.7.x.legacy
Yes, you have to install several packages before you will install yum: if I remember, the legacy updates apply to the system with all updates originally issued by redhat - it also applies to yum.

>From here, I go and download rpm-python and rpm from --> >http://download.fedoralegacy.org/redhat/7.2/updates/i386/
OK - it's apropriate place to get the packages from.

>Here are the results I get from trying to install both the RPMs:-
And below there's explanation what does the displayed messages mean.

>rpm -U rpm-4.0.4-7x.i386.rpm
>error: failed dependencies:
>        popt = 1.6.4 is needed by rpm-4.0.4-7x
you need to install new (1.6.4) version of popt and there is updated package (at the place you indicated above): popt-1.6.4-7x.i386.rpm

>        rpm = 4.0.3 is needed by rpm-python-4.0.3-1.03
when you update rpm package you also have to update it's subpackages (almost always, the part of the name is the same - here we have part 'rpm') - the existence of older rpm-python package makes not possible to replace older rpm package with newer version, so you have to also upgrade rpm-python package, and there is the needed package: rpm-python-4.0.4-7x.i386.rpm

>        rpm = 4.0.3 is needed by rpm-build-4.0.3-1.03
as above, new package name: rpm-build-4.0.4-7x.i386.rpm

>        rpm = 4.0.3 is needed by rpm-devel-4.0.3-1.03
as above, new package name: rpm-devel-4.0.4-7x.i386.rpm

>        rpm = 4.0.3 is needed by rpm-perl-4.0.3-1.03
as above, new package name: rpm-perl-4.0.4-7x.i386.rpm

>        librpm-4.0.3.so   is needed by gnorpm-0.96-11
the gnorpm package you already have, need older version of rpm (and thus librpm also) and won't let you replace rpm package with newer version, so you have to install an updated gnorpm package which will work with newer rpm package, the package name: gnorpm-0.96-12.7x.i386.rpm

>        librpm-4.0.3.so   is needed by kdeadmin-2.2-8
as above, new package name: kdeadmin-2.2.2-3.i386.rpm

>        librpm-4.0.3.so   is needed by rpm-python-4.0.3-1.03
>        librpm-4.0.3.so   is needed by rpm-build-4.0.3-1.03
>        librpm-4.0.3.so   is needed by rpm-perl-4.0.3-1.03
these three I explained above.

>        librpm-4.0.3.so   is needed by rpm2html-1.7-1
as above, new package name: rpm2html-1.7-3.7x.i386.rpm

>        librpm-4.0.3.so   is needed by rpmfind-1.7-2
as above, new package name: rpmfind-1.7-4.7x.i386.rpm

>        librpmbuild-4.0.3.so   is needed by kdeadmin-2.2-8
>        librpmbuild-4.0.3.so   is needed by rpm-build-4.0.3-1.03
>        librpmdb-4.0.3.so   is needed by gnorpm-0.96-11
>        librpmdb-4.0.3.so   is needed by kdeadmin-2.2-8
>        librpmdb-4.0.3.so   is needed by rpm-python-4.0.3-1.03
>        librpmdb-4.0.3.so   is needed by rpm-build-4.0.3-1.03
>        librpmdb-4.0.3.so   is needed by rpm-perl-4.0.3-1.03
>        librpmdb-4.0.3.so   is needed by rpm2html-1.7-1
>        librpmdb-4.0.3.so   is needed by rpmfind-1.7-2
>        librpmio-4.0.3.so   is needed by gnorpm-0.96-11
>        librpmio-4.0.3.so   is needed by kdeadmin-2.2-8
>        librpmio-4.0.3.so   is needed by rpm-python-4.0.3-1.03
>        librpmio-4.0.3.so   is needed by rpm-build-4.0.3-1.03
>        librpmio-4.0.3.so   is needed by rpm-perl-4.0.3-1.03
>        librpmio-4.0.3.so   is needed by rpm2html-1.7-1
>        librpmio-4.0.3.so   is needed by rpmfind-1.7-2
all these were explained above.

>rpm -U rpm-python-4.0.4-7x.i386.rpm
>error: failed dependencies:
>        rpm = 4.0.4 is needed by rpm-python-4.0.4-7x
>        popt = 1.6.4 is needed by rpm-python-4.0.4-7x
>        librpm-4.0.4.so   is needed by rpm-python-4.0.4-7x
>        librpmdb-4.0.4.so   is needed by rpm-python-4.0.4-7x
>        librpmio-4.0.4.so   is needed by rpm-python-4.0.4-7x
yes, it may look like a catch-22 situation, but if you tell the rpm to upgrade all packages at once, it will solve this dependencies problems. So the complete command you have to issue is (of course after downloading apropriate packages):
rpm -U rpm-4.0.4-7x.i386.rpm popt-1.6.4-7x.i386.rpm rpm-python-4.0.4-7x.i386.rpm rpm-build-4.0.4-7x.i386.rpm rpm-devel-4.0.4-7x.i386.rpm rpm-perl-4.0.4-7x.i386.rpm gnorpm-0.96-12.7x.i386.rpm kdeadmin-2.2.2-3.i386.rpm rpm2html-1.7-3.7x.i386.rpm rpmfind-1.7-4.7x.i386.rpm

>So it seems that I'm in a catch-22 situation here as the system does not allow me to install any of >the dependent rpms.
You have to install all the packages at once. And remembering the 7.2 times (when there weren't yum), when I wanted to to massive update I was downloading all the updates to one directory and the I was issuing a command: 'rpm -F *' which was installing all the provided new versions of installed packages (-F it's different than -U, because the latter will succeed also when you don't have an older package version installed, so 'rpm -U *' would install all the updated, even if the older version of the packages weren't installed).

>Can anyone tell me what I can do to resolve this?
I think, I explained all the things clearly. I hope you will manage to do an update. But speaking of updates, woldn't it be better to install newer redhat (or fedora) version?

>Thank you in advance.
Good luck.

>Best Regards,
Also regards,

>Andrew
Krzysiek.


----------------------------------------------------------------------
Znajdz swoja milosc na wiosne... >>> http://link.interia.pl/f187a


--

fedora-legacy-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-legacy-list

[Index of Archives]     [Fedora Development]     [Fedora Announce]     [Fedora Legacy Announce]     [Fedora Config]     [PAM]     [Fedora General Discussion]     [Big List of Linux Books]     [Gimp]     [Yosemite Questions]

  Powered by Linux