LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Apt4RPM (https://www.linuxquestions.org/questions/linux-software-2/apt4rpm-58662/)

WMCrazyOne 05-07-2003 08:00 PM

Apt4RPM
 
Ok, Here it goes.... I have dl apt4rpm. But just need help installing it. And configuring it, on my system......
Having RPM dependentcy Hell......
I have looked for threads here , on the subject but haven't had any luck so far......Was wondering if anyone could direct me to a site that could help.......or help me out......Thanks for any help in advance.........:D

iceman47 05-07-2003 08:07 PM

well, you need to modify /etc/apt/sources.list.
add a repository (just add this to /etc/apt/sources.list, commenting out any other entries):
rpm ftp://apt-rpm.tuxfamily.org/apt redhat/8.0/en/i386 os updates extra
rpm-src ftp://apt-rpm.tuxfamily.org/apt redhat/8.0/en/i386 os updates extra
then run apt-get update
if you want to install something, run apt-get install <name of program>
edit for installing help: http://apt4rpm.sourceforge.net/

fancypiper 05-07-2003 08:14 PM

May the source be with you. See the Manual section.

My /etc/apt/sources.list (as you can see, I use rh7.3)
Code:

# Freshrpms.net apt-rpm package repository URLs
#
# http://apt.freshrpms.net/ will always have the most current version
# of this file.
#
# $Id: sources.list,v 1.5 2003/02/22 13:52:27 dude Exp $
#


# Red Hat Linux 8.0
#rpm http://apt.freshrpms.net redhat/8.0/en/i386 os updates freshrpms
#rpm-src http://apt.freshrpms.net redhat/8.0/en/i386 os updates freshrpms


# Red Hat Linux 7.3
rpm http://apt.freshrpms.net redhat/7.3/en/i386 os updates freshrpms
rpm-src http://apt.freshrpms.net redhat/7.3/en/i386 os updates freshrpms


# Red Hat Linux 7.2
#rpm http://apt.freshrpms.net redhat/7.2/en/i386 os updates freshrpms
#rpm-src http://apt.freshrpms.net redhat/7.2/en/i386 os updates freshrpms

# Red Hat Linux 7.2 ja
#rpm http://apt.freshrpms.net redhat/7.2/ja/i386 os
#rpm-src http://apt.freshrpms.net redhat/7.2/ja/i386 os


# Red Hat Linux 7.1
#rpm http://apt.freshrpms.net redhat/7.1/en/i386 os powertools dma updates freshrpms
#rpm-src http://apt.freshrpms.net redhat/7.1/en/i386 os powertools dma updates freshrpms

# Red Hat Linux 7.1 ia64
#rpm http://apt.freshrpms.net redhat/7.1/en/ia64 os updates
#rpm-src http://apt.freshrpms.net redhat/7.1/en/ia64 os updates


# Red Hat Linux 7.0
#rpm http://apt.freshrpms.net redhat/7.0/en/i386 os powertools dma updates freshrpms
#rpm-src http://apt.freshrpms.net redhat/7.0/en/i386 os powertools dma updates freshrpms

# Red Hat Linux 7.0 ja
#rpm http://apt.freshrpms.net redhat/7.0/ja/i386 os updates
#rpm-src http://apt.freshrpms.net redhat/7.0/ja/i386 os updates

# Red Hat Linux 7.0 tc
#rpm http://apt.freshrpms.net redhat/7.0/tc/i386 os
#rpm-src http://apt.freshrpms.net redhat/7.0/tc/i386 os


# Red Hat Linux 6.2
#rpm http://apt.freshrpms.net redhat/6.2/en/i386 os updates freshrpms
#rpm-src http://apt.freshrpms.net redhat/6.2/en/i386 os updates freshrpms



HTH

WMCrazyOne 05-07-2003 10:22 PM

Hello, I don't even have a etc/apt/source.list file. How do i install apt? I have tried double cliking on the rpm of the actual file....and also on the source file. and nothing happens, and each time, I went to look for the etc/apt/source.list file and its still not there. Is there something I'm doing wrong? Please , help if possible. Thanks, William.

WMCrazyOne 05-07-2003 10:28 PM

I thought I had it there for a min. But , I keep getting , a dependentcy issue. Again. It goes and trys to install Apt.. Then I get the same stinking , dependentcy issue. What , Am I doing wrong? Would anyone know? Is there any help out there.? Thanks , in advance for any given.

fancypiper 05-07-2003 10:33 PM

Download the rpm for your distro then open an x terminal and issue these commands:
Code:

[phil@tinwhistle phil]$ su -
Password:
[root@tinwhistle root]#

Now you are root and can install the rpm. Command:
Code:

[root@tinwhistle root]# rpm -i /path/to/rpm_package_name.rpm
# Guides to software and installation
Compiling Software Help File
LNAG - How do I install a program I downloaded from the Internet?
Rute Guide's software explanation

fancypiper 05-07-2003 10:35 PM

Find the dependencies at rpmfind.

# Redhat links
RedHat Linux Manuals
Maximum RPM
rpmfind
Easier software management: apt4rpm - Red Carpet
RedHat 8.0 Tips & Tricks

# Redhat 8.0 configuration commands
Configure soundcard:
redhat-config-soundcard
Configure X server:
redhat-config-xfree86
Configure network:
redhat-config-network

WMCrazyOne 05-07-2003 11:16 PM

This is what I got , when I installed the package....

RPM version 4.2
Copyright (C) 1998-2002 - Red Hat, Inc.
This program may be freely redistributed under the terms of the GNU GPL

Usage: rpm [-a|--all] [-f|--file] [-g|--group] [-p|--package] [--specfile]
[--whatrequires] [--whatprovides] [-c|--configfiles] [-d|--docfiles]
[--dump] [-l|--list] [--queryformat=QUERYFORMAT] [-s|--state]
[--nomd5] [--nofiles] [--nodeps] [--noscript] [--addsign]
[-K|--checksig] [--import] [--resign] [--nodigest] [--nosignature]
[--initdb] [--rebuilddb] [--aid] [--allfiles] [--allmatches]
[--badreloc] [-e|--erase <package>+] [--excludedocs]
[--excludepath=<path>] [--force] [-F|--freshen <packagefile>+]
[-h|--hash] [--ignorearch] [--ignoreos] [--ignoresize] [-i|--install]
[--justdb] [--nodeps] [--nomd5] [--noorder] [--nosuggest]
[--noscripts] [--notriggers] [--oldpackage] [--percent]
[--prefix=<dir>] [--relocate=<old>=<new>] [--repackage]
[--replacefiles] [--replacepkgs] [--test]
[-U|--upgrade <packagefile>+] [-D|--define 'MACRO EXPR']
[-E|--eval 'EXPR'] [--macros=<FILE:...>] [--nodigest] [--nosignature]
[--rcfile=<FILE:...>] [-r|--root ROOT] [--querytags] [--showrc]
[--quiet] [-v|--verbose] [--version] [-?|--help] [--usage]
[--scripts] [--setperms] [--setugids] [--conflicts] [--obsoletes]
[--provides] [--requires] [--info] [--changelog] [--triggers]
[--last] [--filesbypkg] [--fileclass] [--filecolor] [--fileprovide]
[--filerequire] [--redhatprovides] [--redhatrequires]
[--buildpolicy=<policy>] [--with=<option>] [--without=<option>]
Is that correct.? I actually had to cd , to the right destination folder. If this is right, I looked in my etc/ folder for an apt/ ...and its still not there.

Will, keep on working on it.
Thats what makes it , enjoyable, and worth the work.

iceman47 05-08-2003 05:16 AM

get

http://ftp.freshrpms.net/pub/freshrp...h80.4.i386.rpm
http://prdownloads.sourceforge.net/a...h.rpm?download

install them:
rpm -ivh apt-0.5.5cnc4.1-fr1.20030325a.0.rh80.4.i386.rpm
rpm -ivh apt4rpm-0.64.3-0.noarch.rpm

if /etc/apt/sources.list still doesn't exist, make it

edit the sources.list file and put some repositories in it.

run apt-get update twice

hope this helped, those are links to the exact rpm's I just tried on my RedHat webserver, so it should work.

fancypiper 05-08-2003 08:54 AM

I think he is using rh9.0.

Red Hat 9: main os, updates and extra (apt package) (+sources)
rpm ftp://apt-rpm.tuxfamily.org/apt redhat/9/en/i386 os updates extra
rpm-src ftp://apt-rpm.tuxfamily.org/apt redhat/9/en/i386 os updates extra

WMCrazyOne 05-10-2003 04:27 PM

I tried, but it keeps telling me I have failed dependencies. Even when I tried installing the program apt . Dont know what I'm doing wrong. Or whats going on. But will stick to it. To figure it out, or try to find some information on the subject....Thanks, for all the help. And Yes , I'm using RH9.0.

fancypiper 05-10-2003 04:40 PM

You did notice that you needed to download two files, I presume. If you didn't notice that, go get the other file that you will need to install apt4rpm.

Download both of the rpms that you need into one directory. cd to that directory and command:

rpm -Uvh *.rpm

If you get another dependency listed, go to rpmfind, find and download into the same directory, repeat install attempt until you succeed.

Paste the errors that you get in your reply if you can't figure it out that way.

WMCrazyOne 05-13-2003 07:14 PM

I keep on getting this error. When trying to command the two files. I did as you stated. bash: rpm-Uvh: command not found
I've tried it , alot of different ways as in typing it . Have no idea what I'm doing wrong. Thanks for your help.

WMCrazyOne 05-13-2003 07:18 PM

Also , got this one. When trying to command. The other file. The apt4rpm-0.64.3-0.noarch.rpm file. rpm -Uvh apt4rpm-0.64.3-0.noarch.rpm
error: Failed dependencies:
apt is needed by apt4rpm-0.64.3-0
perl-XML-LibXML is needed by apt4rpm-0.64.3-0

vous 05-15-2003 06:52 AM

Hey guys, have any of you tried to upgrade your box via APT in SuSE (from 8.1 to 8.2)? Is it "supported"?


All times are GMT -5. The time now is 12:16 AM.