PDA

View Full Version : Fedora Core 3 and apt-get


Rami
26th October 2004, 02:53 PM
Hi,

Ive gone to freshrpms and downloaded th latest apt-get rpm and when i try to install it on fedora 2.92 (core 3) i get a failed dependencies message.

RPM im trying to install: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm

This is what i see when i try to install it:

[root@localhost ~]# rpm -Uvh apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm
warning: apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
error: Failed dependencies:
libbeecrypt.so.6 is needed by apt-0.5.15cnc6-1.1.fc2.fr
libelf.so.1 is needed by apt-0.5.15cnc6-1.1.fc2.fr
libncurses.so.5 is needed by apt-0.5.15cnc6-1.1.fc2.fr
libreadline.so.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


any advice?

Cheers.

Igoraus
26th October 2004, 03:03 PM
try yum install apt

Rami
27th October 2004, 05:11 AM

yum wont work either, it just itmes out.

Isnt there another way to get apt-get working without using yum?

Finalzone
27th October 2004, 08:19 AM
The problem is apt-0.5.15cnc6-1.1.fc2.fr.i386.rpm. You try to install the optimized rpm for FC2 in a FC3 data. Try to look for another "apt" package in Fedora.us or Livna. Hope it helps.

cybrjackle
28th October 2004, 04:58 AM
All the 3rd party packages I use on Fc3/rawhide, I rebuild and I would suggest you do the same ;)

Different gcc, just better to rebuild them.

I installed apt from fedora.us by rebuilding the src.rpm. I needed a couple dep's but they were in rawhide so I just used. yum install <filename> and was able to build. You will run into one problem with the apt.spec file, on line 169 its looking for


install -p -m 644 $RPM_SOURCE_DIR/rpmpriorities.%{fcrel} $RPM_BUILD_ROOT/%{_sysconfdir}/apt/rpmpriorities


This part .%{fcrel} means that it will look for the patch under sources for rpmpriorities.1 or .2 (meaning fc1 or fc2) since your running 2.92, the build will bomb out. What i did was change that to just rpmpriorites.2 so it wont think to hard and just grab the fc2 patch ;)

Now that I think about it, you could probably just cp the rpmpriorites.2 to rpmpriorities.2.92 and that "should" work too. in your SOURCE dir.

I know this cause I just did it tonight :)

THe only reason I wanted "apt" is because like I said in the begining, I rebuild all my rpms while running rawhide and "apt-get source <filename> is much handier then running to the ftp server and looking/downloading/installing the .src.rpm.

I'm just waiting for Seth or someone else who knows anything about python and yum to make it use .src.rpm's too. It's been on yum's TODO list for sometime now, but I don't know if anyone has worked on it.

/me ordered a Learning Python book from bookpool today, so I might add the feature my self (in a year or two) :eek:

Shadow Skill
28th October 2004, 05:43 AM
hmm the fc2 one worked for me although I am using fc3t2 and not t3.

Darkmage
28th October 2004, 05:57 AM
Go here Fedora.us (http://download.fedora.us/fedora/fedora/latest/i386/RPMS.stable/)
and download apt, apt-python, synaptic and it works like a charm for FC2, FC3T1-3, FC3r1-r2 :D

cybrjackle
28th October 2004, 04:07 PM
I would still recommend rebuilding anything that wasn't built with your compiler, but thats just me I guess.