LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unable to install apt under fedora core2 (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-install-apt-under-fedora-core2-191319/)

jedimastermopar 06-08-2004 09:45 PM

unable to install apt under fedora core2
 
I am trying to install apt so I can install mplayer. Now I downloaded the
apt-0.5.15.cnc6-1.1.fc2.fr.i386.rpm
and ran

rpm -Uvh apt-0.5.15.cnc6-1.1.fc2.fr.i386.rpm


and it said I need

warning: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpm-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmdb-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmio-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
libselinux.so.1 is needed by apt-0.5.15cnc6-1.1.fc2.fr

Then I downloaded glibc-2.3.2-4.80.8.i386.rpm
and got this

glibc-common = 2.3.2-4.80.8 is needed by glibc-2.3.2-4.80.8
libc.so.6(GLIBC_PRIVATE) is needed by (installed) nscd-2.3.2-101
glibc >= 2.3.2-66 is needed by (installed) XFree86-4.3.0-42


Am I getting closer or whats the deal here? I installed apt on my computer at work with no problems, but I must have missed something when I installed fedora on my home pc. I have searched and searched and I am now tired and goin to bed, so hopefully someone overnight can post me some sort of solution. :)

Thanks for reading.

jedimastermopar 06-09-2004 07:30 AM

Should I have posted this in the OS specific section?

motub 06-09-2004 07:31 AM

Get the RPM for glibc-common, then do

rpm -Uvh glibc-common-2.3.2-4.80.8.i386.rpm glibc-2.3.2-4.80.8.i386.rpm apt-0.5.15.cnc6-1.1.fc2.fr.i386.rpm.

If that's all the dependencies, it should install all 3 rpms in the correct order, but you might need to do a --force-overwrite to get glibc to overwrite the libraries installed that are being used by XFree.

jedimastermopar 06-09-2004 11:59 AM

I am don;t think I am doing this right here s the output

[root@x1-6-00-50-04-0c-72-dd downloads]# ls
apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm glibc-common-2.3.2-4.80.8.i386.rpm
glibc-2.3.2-4.80.8.i386.rpm
[root@x1-6-00-50-04-0c-72-dd downloads]# rpm -Uvh glibc-common-2.3.2-4.80.8.i386.rpm glibc-2.3.2-4.80.8.i386.rpm apt-0.5.15.cnc6-1.1.fc2.fr.i386.rpm
error: open of apt-0.5.15.cnc6-1.1.fc2.fr.i386.rpm failed: No such file or directory
[root@x1-6-00-50-04-0c-72-dd downloads]# rpm -Uvh *
warning: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libc.so.6(GLIBC_2.3.4) is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpm-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmdb-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
librpmio-4.3.so is needed by apt-0.5.15cnc6-1.1.fc2.fr
libselinux.so.1 is needed by apt-0.5.15cnc6-1.1.fc2.fr
libc.so.6(GLIBC_PRIVATE) is needed by (installed) nscd-2.3.2-101
glibc >= 2.3.2-66 is needed by (installed) XFree86-4.3.0-42
[root@x1-6-00-50-04-0c-72-dd downloads]#

jedimastermopar 06-09-2004 04:00 PM

Ok forget it close this thread I am an idiot.
I brought home the wrong CD's and I installed core 1, when I thought it was core 2. once I started using the core 1 binaries everything works just fine.


All times are GMT -5. The time now is 04:42 PM.