LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-23-2003, 08:03 AM   #1
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Rep: Reputation: 30
apt with Red Hat 9


I just got and installed Red Hat 9 yesterday and figured I would get apt to go along with it. Well, I got it and tried to install the RPM and the only thing it did was the little thing that said it was checking for dependancies. then it just stopped. Is there something special you have to do to get it to work?
 
Old 06-23-2003, 01:13 PM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I think you have to run:

apt-get

TWICE after you first install it. Then you can do:

apt-get update
or
apt-get install whatever
 
Old 06-23-2003, 01:21 PM   #3
m00nd0g
Member
 
Registered: Mar 2003
Location: Leuven, Belgium
Distribution: Red Hat, Debian
Posts: 48

Rep: Reputation: 15
Actually you need to run 'apt-get update' once or twice (twice will be the safer bet) after installation.

Then indeed you can install packages with 'apt-get install packagename'
 
Old 06-23-2003, 07:48 PM   #4
Zerodark
Member
 
Registered: Mar 2003
Location: Fort Sill, Oklahoma
Distribution: Gentoo
Posts: 192

Original Poster
Rep: Reputation: 30
actually it doesn't even install,... it just checks for dependancies and then the thing just closes. so i don't know.
 
Old 06-23-2003, 10:04 PM   #5
chem1
Member
 
Registered: Jun 2002
Location: White House, Washignton DC
Distribution: Red Hat 9
Posts: 270

Rep: Reputation: 30
Install Synaptic.....it will sove all your problems. It is based on apt-get

Hope that helps....
 
Old 06-23-2003, 11:17 PM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Installing apt (Advanced Package Tool)
 
Old 06-24-2003, 03:20 AM   #7
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Rep: Reputation: 15
ive had the same thing happen to me, except it wasnt the apt rpm, it was a different rpm and it happens all the time. now it doesnt even bring up that "checking dependencies" dialogue anymore.

my thread about it is here
 
Old 06-24-2003, 11:02 AM   #8
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
I would try wiping out all the apt related stuff like /var/cache/apt (there's more listed in "man apt-get") and maybe even rebuild the rpm database. Then start fresh. You can make sure your rpm installations aren't corrupted with "rpm --verify <package name>"
 
Old 06-24-2003, 04:17 PM   #9
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Rep: Reputation: 15
how would i go about rebuilding the rpm database?

and doesnt "rpm --verify <package name>" only work if they are not third party rpm's?

i have verified rpm's that didnt work in the past, and they always were ok, and still didnt work.
 
Old 06-24-2003, 08:17 PM   #10
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Quote:
Originally posted by warheros
how would i go about rebuilding the rpm database?
rpm --rebuilddb

Quote:
Originally posted by warheros
and doesnt "rpm --verify <package name>" only work if they are not third party rpm's?

i have verified rpm's that didnt work in the past, and they always were ok, and still didnt work.
It should work for any rpm.
 
Old 06-24-2003, 09:40 PM   #11
warheros
Member
 
Registered: Jun 2003
Location: mason, mi, usa
Distribution: rh9
Posts: 87

Rep: Reputation: 15
when i type "rpm --rebuilddb" it does nothing.
 
Old 06-25-2003, 03:29 PM   #12
MrJoshua
Member
 
Registered: Apr 2002
Location: Houston Texas
Distribution: Debian / Gentoo / RHEL
Posts: 209

Rep: Reputation: 31
I think GRAB is a little easier to configure and use, and I think it is close in qaulity, and use. I like GRAB better.
 
Old 06-25-2003, 03:36 PM   #13
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Quote:
Originally posted by warheros
when i type "rpm --rebuilddb" it does nothing.
You mean it returns nothing. Just because it doesn't say anything doesn't mean it didn't do anything. Add a couple of v's in there to get some verbose output:

rpm -vv --rebuilddb
 
Old 06-25-2003, 03:36 PM   #14
twilli227
Member
 
Registered: May 2003
Location: S.W. Ohio
Distribution: Ubuntu, OS X
Posts: 760

Rep: Reputation: 30
Try this link out:
http://24.220.179.115/RH9-UMG.html
I installed it last night and it works pretty good.
 
Old 06-26-2003, 12:24 PM   #15
dav1x
Member
 
Registered: Sep 2002
Posts: 50

Rep: Reputation: 15
Delete the old rpm database under /var/lib/rpm

rm -rf __db* (that is 2 _'s)
There are rpm database problems with both rpm packages installed in rh 9 and rh 8.0. Removing these databases will cause apt not to hang. To test this you can try installing any rpm package and the installation should hang. Do you have a proxy server? This could also cause apt to hang.

If you do you can do an

export http_proxy="http://myproxy:8080"
export ftp_proxy="$http_proxy"

Let me know how it goes...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get apt for Red Hat redhat beginer Red Hat 3 04-20-2005 10:44 AM
Can I use apt-get to migrate from Red Hat 9 to Fedora Core? Lorenzo Swank Fedora 1 05-18-2004 05:15 PM
Red Hat 9 Apt Repositories? ghight Linux - Software 2 04-02-2004 07:13 AM
Red Hat apt-get questions Harp00 Linux - Newbie 1 01-06-2004 08:59 AM
red hat 9 apt-rpm package manager ronss Red Hat 3 09-25-2003 03:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:54 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