LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-utils and RH9 (https://www.linuxquestions.org/questions/linux-software-2/apt-utils-and-rh9-215663/)

orange400 08-10-2004 02:47 AM

apt-utils and RH9
 
I'm struggling to get apt-utils (specifically apt-get) on a RH9 system. How can I do this?

XavierP 08-10-2004 02:55 AM

Did you follow the instructions here: http://apt4rpm.sourceforge.net/? whenever I have needed to install apt4rpm those instructions have worked for me.

Edited to put in correct url. Apologies.

orange400 08-10-2004 02:57 AM

I think you have the wrong link :D

Edit - Thanks for the link, I'm gonan try it!

orange400 08-10-2004 03:13 AM

I can't seem to get it to work ... how do I install it?

XavierP 08-10-2004 03:18 AM

What doesn't work? What are your errors? Where does it fail? More info is needed.

orange400 08-10-2004 03:20 AM

I'm having trouble installing the RPMs. I just double-click on them in the browser window and most of the time, it just doesn't do anything.

XavierP 08-10-2004 03:22 AM

It may be that they are already installed. Open a console, use su to become root and type in apt-get update. What happens?

If it isn't installed, still as root in the console, cd to where the apt rpms are and type in rpm -ivh <first package name>.rpm what happens then? Repeat with the other rpms.

orange400 08-10-2004 03:28 AM

If I type apt-get update, it says apt-get is not there. I'm sure it isn't anyways.

If I do the rpm thing, it outputs:

error: Failed dependencies:
perl-XML-LibXML is needed by apt4rpm-0.68.2-2
apt-server is needed by apt4rpm-0.68.2-2

This is with the apt4rpm-0.68.2-2.noarch.rpm file.

However, I installed the development tools with RH9, all 174MB of it ... this is a one-hour fresh installation on a friend's machine. I friggin converted him, and now he dual-boots :D

XavierP 08-10-2004 03:41 AM

You need to install the dependencies first (the 2 files referred to in your post).

orange400 08-10-2004 03:45 AM

Okay, I thought I needed to do that. I'll google it.

orange400 08-10-2004 05:12 AM

I got the RPM perl-XML-LibXML but it won't install either! It dose stuff and shows a progress bar, but it only goes to 100% once time real fast and quits (it's supposed to go a couple times). Man, I need this apt-utils prog to work. When I get it, I can update RH9 and download the video drivers I need for the updated stuff ...

orange400 08-10-2004 05:35 AM

Damn! I try compiling from source instead and it can't find my libbz2 library when configuring!

orange400 08-10-2004 05:39 AM

And I try another RPM and it says I need librpm.so.0! It says I need the redhat package management system?? This just plain sucks.

vinny99 08-10-2004 05:42 AM

perl-XML-LibXML is needed by apt4rpm-0.68.2-2
apt-server is needed by apt4rpm-0.68.2-2

You should download and install those two packages, like with:

rpm -ivh <package-name>.rpm

Then you could try to see if they are installed, by doing:

rpm -qa | grep perl-XML-

and

rpm -qa | grep apt-server

eventually you can double check if the files are installed on your system. By using command "rpm" to list the files of a package and see with "locate" if there are installed. (of course you have to do "updatedb" first)

rpm -ql <packagename> (I dont remember exactly what the command was)

Maybe this helps you a bit.

vinny99 08-10-2004 05:52 AM

:D

Yes then you have to find out to which package that belongs...its a bit like a puzzle, sometimes.


All times are GMT -5. The time now is 02:40 AM.