Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iMac G5 installation - emerge portage times out
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mike_hore
n00b
n00b


Joined: 27 Aug 2006
Posts: 5

PostPosted: Sun Aug 27, 2006 10:46 pm    Post subject: iMac G5 installation - emerge portage times out Reply with quote

Hi folks,

I'm a Gentoo newbie, even a Linux newbie, but I've successfully worked through the initial installation up to 6.b. So the initial installation networking is working fine, and I can do ping and links etc. (Thanks BTW for an excellent installation guide!)

Then I did emerge --sync, and everything ran normally. It told me a portage update was available, so as suggested I did emerge portage.

At that point everything timed out. Whatever mirror it tried to access, all attempts timed out. I cntrl-C cancelled, tried ping again, but it worked. Still emerge portage again timed out on everything. As suggested I've put my local mirrors first on the list.

I'm a bit lost at this point. Any suggestions? (Keep them simple, or I won't understand you!) If it helps, it seems to be resolving the mirror URLs to 1.0.0.0 which doesn't look right to me, but what would I know?

Cheers, Mike.
_________________
----------------------------------------------------------------
Mike Hore mike_hore@aapt.net.au
----------------------------------------------------------------
Back to top
View user's profile Send private message
ksp7498
Apprentice
Apprentice


Joined: 08 Jun 2006
Posts: 225
Location: North Carolina - US

PostPosted: Mon Aug 28, 2006 12:37 am    Post subject: Reply with quote

I've typically found that specifying mirrors in /etc/make.conf for portage to use just causes more problems that it's worth. Try commenting out (putting a # in front of the line) the line in your make.conf where you specified which mirrors to use, and try it again.
_________________
“Isn’t it enough to see that a garden is beautiful without having to believe that there are fairies at the bottom of it too?”
– Douglas Adams
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Aug 28, 2006 2:16 am    Post subject: Reply with quote

Hi.

I think I've come across this issue before, when someone specified a proxy when it wasn't needed. Do you need to use a proxy? Have you set a proxy definition?
If that is not your problem, make sure your /etc/resolv.conf file is correct. Can you solve DNS names? What do you get if you do dig forums.gentoo.org?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
mike_hore
n00b
n00b


Joined: 27 Aug 2006
Posts: 5

PostPosted: Mon Aug 28, 2006 2:28 am    Post subject: Reply with quote

Hi,

No, I don't need a proxy and wouldn't even know how to set one up. This is just the CD installation running, though it's AFTER I've done chroot.

-- Mike.
_________________
----------------------------------------------------------------
Mike Hore mike_hore@aapt.net.au
----------------------------------------------------------------
Back to top
View user's profile Send private message
mike_hore
n00b
n00b


Joined: 27 Aug 2006
Posts: 5

PostPosted: Mon Aug 28, 2006 2:30 am    Post subject: Reply with quote

Whoops, I didn't answer all the questions.

> If that is not your problem, make sure your /etc/resolv.conf file is correct.
I thought it was, but I'll double-check.

>Can you solve DNS names?

I think so, since I did ping www.yahoo.com or something similar and it worked OK.

What do you get if you do dig forums.gentoo.org?

Don't know - what's dig? I'm a newbie. I'll give it a go when I get time.

-- Mike.
_________________
----------------------------------------------------------------
Mike Hore mike_hore@aapt.net.au
----------------------------------------------------------------
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Aug 28, 2006 2:33 am    Post subject: Reply with quote

If you followed the Handbook, at step 3a are you sure you didn't export the proxy variables? Please run the following on a console:
Code:
# echo $http_proxy;
# echo $ftp_proxy;

What is the output of:
Code:
# dig forums.gentoo.org
# ping -c 3 forums.gentoo.org

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
mike_hore
n00b
n00b


Joined: 27 Aug 2006
Posts: 5

PostPosted: Mon Aug 28, 2006 3:44 am    Post subject: Reply with quote

>If you followed the Handbook, at step 3a are you sure you didn't export the proxy variables? Please run the following on a > console:

>Code:
># echo $http_proxy;
> # echo $ftp_proxy;


I'll have to reboot everything to give that a go, but what I did when I installed was that at step 3a everything "just worked", so I went directly to step 4 as directed. I certainly didn't do any proxy stuff (which as I said I know nothing about).

A little while ago I tried again and still got the timeouts. I cancelled, did ping www.airbus.com and got the expected replies.
I did dig ..... and it said dig was an unrecognized command.


-- Mike.
_________________
----------------------------------------------------------------
Mike Hore mike_hore@aapt.net.au
----------------------------------------------------------------
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Mon Aug 28, 2006 3:50 am    Post subject: Reply with quote

mike_hore wrote:

I'll have to reboot everything to give that a go, but what I did when I installed was that at step 3a everything "just worked", so I went directly to step 4 as directed. I certainly didn't do any proxy stuff (which as I said I know nothing about).

A little while ago I tried again and still got the timeouts. I cancelled, did ping www.airbus.com and got the expected replies.
I did dig ..... and it said dig was an unrecognized command.

Well, the live-cd must not have dig. If you can ping, then you can solve DNS names.
Post your /etc/make.conf file and the output of grep -i proxy /etc/wget/wgetrc.
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Mon Aug 28, 2006 4:46 am    Post subject: Reply with quote

You maybe have a firewall that's blocking certain ports?
Back to top
View user's profile Send private message
mike_hore
n00b
n00b


Joined: 27 Aug 2006
Posts: 5

PostPosted: Mon Aug 28, 2006 4:59 am    Post subject: Reply with quote

OK - I have to hand-copy all this stuff since I don't have Gentoo up and running so have to boot back into OSX to do anything -- but hopefully I'll get it right enough.

>Well, the live-cd must not have dig. If you can ping, then you can solve DNS names.
>Post your /etc/make.conf file and the output of grep -i proxy /etc/wget/wgetrc.

make.conf:

# ...
# ...
CFLAGS="-mcpu=970 -mtarget=970 -maltivec -mabi=altivec -O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
GENTOO_MIRRORS="http://public.planet.mirror.com/pub/gentoo http://mirror.pacific.net.au/linux/Gentoo/ http://mirror.isp.net.au/ftp/pub/gentoo"

(end of file)

Note that I got the timeouts both before I added the GENTOO_MIRRORS line and after. Also I pinged a couple of these sites and got a correct response.

The result of the grep: only commented-out lines.

#http_proxy = http://proxy.yoyodyne.com:18023
#ftp_proxy = <same>
# if you do not want to use proxy at all, set this to off.
#use_proxy = on

-----------

Firewall? This would cause the trouble, but I'm just a home user on my own phone line (i.e. no corporate firewall or anything like that). I do have a firewall running in my OSX setup, but of course it wouldn't be active when I'm trying to set up Gentoo.

Cheers, Mike.
_________________
----------------------------------------------------------------
Mike Hore mike_hore@aapt.net.au
----------------------------------------------------------------
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum