apt-get
apt-get
It was suggested to me that I install apt-get so that i would no longer have to go through the process of installing things one piece at a time. However, when I tried to get apt-get installed it prompted me for this:
# rpm -ivh apt-0.5.15cnc6-4.1.el3.rf.i386.rpm
warning: apt-0.5.15cnc6-4.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495
error: Failed dependencies:
librpm-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
librpmdb-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
librpmio-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
I then tried to install one of the prerequicites for one of the other prerequicites and was propmpted for one of its prerequisites......
It is a neverending hole.......
Please help.
# rpm -ivh apt-0.5.15cnc6-4.1.el3.rf.i386.rpm
warning: apt-0.5.15cnc6-4.1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495
error: Failed dependencies:
librpm-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
librpmdb-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
librpmio-4.2.so is needed by apt-0.5.15cnc6-4.1.el3.rf.i386
I then tried to install one of the prerequicites for one of the other prerequicites and was propmpted for one of its prerequisites......
It is a neverending hole.......
Please help.
Things will get easier after apt is installed and your source repositories configured. To install both of the packages that require each other to be installed do them both at the same time. e.g.
rpm -Uvh package1.rpm package2.rpm
rpm will see that you are installing both and the dependencies will be satisfied. You can install several packages in one shot.
rpm -Uvh package1.rpm package2.rpm
rpm will see that you are installing both and the dependencies will be satisfied. You can install several packages in one shot.
All those libraries seem to be provided by rpm-4.2-0.69.
You can find a copy of it here:
http://www.wesmo.com/rpm2html/contribut ... .i386.html
FYI, pages like this come up pretty consistently if you google for a specific library file. This page was the first hit of a google search for "librpm-4.2.so".
Strangely, the package appear to both provide and require the same libraries. But hey, it's just one package, so give it a go.
You can find a copy of it here:
http://www.wesmo.com/rpm2html/contribut ... .i386.html
FYI, pages like this come up pretty consistently if you google for a specific library file. This page was the first hit of a google search for "librpm-4.2.so".
Strangely, the package appear to both provide and require the same libraries. But hey, it's just one package, so give it a go.
Sorry worker but I would not advise doing what you are suggesting especially with "rpm". This needs to come from his distribution. In his case Red Hat Enterprise Linux v3. He just ran into a case where he needed to install two rpms in one shot because they were dependant on each other.worker201 wrote:All those libraries seem to be provided by rpm-4.2-0.69.
You can find a copy of it here:
http://www.wesmo.com/rpm2html/contribut ... .i386.html
FYI, pages like this come up pretty consistently if you google for a specific library file. This page was the first hit of a google search for "librpm-4.2.so".
Strangely, the package appear to both provide and require the same libraries. But hey, it's just one package, so give it a go.
Ok I have a few questions for you. What version of rpm do you have installed (rpm -q rpm)? Have you updated your EL3 system with all the latest updates? I assume since you are running EL3 you have RHN support. If so just do an "up2date" and update your system. I think the required library will get installed when you do this. If you do not have RHN support then I am curious why you are running that old EL3? I assume you must have some application that requires it? EL3 is based on Redhat 9 if I recall and I think EL4 is based on Fedora Core 3. I never really wanted to support Red Hat's Enterprise linux because I figured people pay Red Hat to do this, however I am perfectly happy supporting Fedora.
I do use Enterprise Linux a lot at work but I have RHN support on all of these servers (we even have a Red Hat Satellite server). But ALL of these EL installations are servers, not desktops. I personally wouldn't install apt and desktop apps such as mplayer on these servers. You may have good reasons I don't know, I'm certainly interested in hearing your story. I use Fedora Core 6 (or close to it) on my desktops and it's not nearly as painful to install these cool 3rd party desktop apps. Again, I'll continue to help, just interested that's all.
I do use Enterprise Linux a lot at work but I have RHN support on all of these servers (we even have a Red Hat Satellite server). But ALL of these EL installations are servers, not desktops. I personally wouldn't install apt and desktop apps such as mplayer on these servers. You may have good reasons I don't know, I'm certainly interested in hearing your story. I use Fedora Core 6 (or close to it) on my desktops and it's not nearly as painful to install these cool 3rd party desktop apps. Again, I'll continue to help, just interested that's all.
Do me a favor, what is the output of "cat /etc/redhat-release"? That looks like the version of RPM for EL4 not EL3. If that is the case then you need to go back and reinstall all of those 3rd party EL3 RPMs with the EL4 version and things should work. Also, what about all the other questions I asked?
That's what I thought. You are running EL4, not EL3. Why are you trying to install EL3 RPMs on EL4? This will cause you all kinds of headaches. You need to install the EL4 versions. You started out by showing me you were trying to install EL3 RPMs so I *assumed* you were in fact running EL3.kovax wrote:cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant)
Fixed
I have updated my apt-get with the proper version. I removed the prior references of EL3 and ran rpm -ivh apt-0.5.15lorg3.1-4.el4.rf.i386.rpm and it seems to work fine.
Sorry for any previous misunderstandings
Thanks
Sorry for any previous misunderstandings
Thanks