LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-07-2003, 08:00 PM   #1
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Rep: Reputation: 15
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.........
 
Old 05-07-2003, 08:07 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
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/

Last edited by iceman47; 05-07-2003 at 08:09 PM.
 
Old 05-07-2003, 08:14 PM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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

Last edited by fancypiper; 05-07-2003 at 08:21 PM.
 
Old 05-07-2003, 10:22 PM   #4
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 05-07-2003, 10:28 PM   #5
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 05-07-2003, 10:33 PM   #6
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
 
Old 05-07-2003, 10:35 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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
 
Old 05-07-2003, 11:16 PM   #8
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 05-08-2003, 05:16 AM   #9
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
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.
 
Old 05-08-2003, 08:54 AM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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

Last edited by fancypiper; 05-08-2003 at 08:58 AM.
 
Old 05-10-2003, 04:27 PM   #11
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 05-10-2003, 04:40 PM   #12
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
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.

Last edited by fancypiper; 05-10-2003 at 04:44 PM.
 
Old 05-13-2003, 07:14 PM   #13
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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.
 
Old 05-13-2003, 07:18 PM   #14
WMCrazyOne
Member
 
Registered: Feb 2003
Location: illinois
Distribution: FC / Ubuntu
Posts: 113

Original Poster
Rep: Reputation: 15
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
 
Old 05-15-2003, 06:52 AM   #15
vous
Member
 
Registered: Mar 2003
Location: Macondo
Distribution: Mandrake 9.1, 10.1, SuSE 8.1 pro, 10.1, Red Hat 8.0/9.0
Posts: 380

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apt4rpm fhleung Linux - Software 1 08-04-2016 09:20 PM
apt4rpm samspade SUSE / openSUSE 1 08-11-2005 06:01 PM
apt4rpm problem paulmedic555 SUSE / openSUSE 1 11-09-2004 06:18 AM
apt4rpm mercutio Linux - Newbie 2 02-12-2004 05:01 PM
When uninstalling apt4rpm-0.65.2-0 (rpm -e apt4rpm-0.65.2-0), computer hangs jdruin Linux - Software 1 11-19-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration