Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge --sync dosn't work [solved]
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
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Wed Jul 02, 2008 2:00 pm    Post subject: emerge --sync dosn't work [solved] Reply with quote

Hi,

if i try to use emerge --sync, like it's decribed in the Manual I got the error Message "no md5sum present on this mirror..." but my resole.conf is in the dev/ directory and my Internet conection is working. (I can use links etc)
If I try to use --webrsync I got "Temporary failure in name resolution"


Last edited by Punami on Fri Jul 04, 2008 10:25 am; edited 1 time in total
Back to top
View user's profile Send private message
kevstar31
Guru
Guru


Joined: 22 Nov 2006
Posts: 449
Location: Ohio

PostPosted: Wed Jul 02, 2008 3:01 pm    Post subject: Reply with quote

post your make.conf
_________________
while(true) std::cout << "Jesus I trust in you." << std::endl;
My Political Compass
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Wed Jul 02, 2008 3:41 pm    Post subject: Reply with quote

Code:
CFLAGS="-02 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linus/gentoo/ ...

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="ftp://ftp.arcticnetwork.ca/pub/gentoo/ http://...

SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"

GENTOO_MIRRORS="ftp://mirrors.terrabyte.com/pub/gentoo/ http://...

SYNC="rsync://rsync.gentoo.org/gentoo-portage"


the "..." stand for more data, which I can't see in nano, because my screen is to small.
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Wed Jul 02, 2008 4:02 pm    Post subject: Reply with quote

I'm not sure why you have separate lines for GENTOO_MIRRORS or RSYNC servers. Could you also please post the output of emerge --info?
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Wed Jul 02, 2008 4:21 pm    Post subject: Reply with quote

Could you tell what espacialy? I've to copy it by writtig (Keyboard...)

Just a part of it:
Code:

GENTOO_MIRRORS="ftp://mirrors.terrabyte.com/pub/gentoo http://gentoo.mirrors.tre ...
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
PORTDIR="/usr/portage/"
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Thu Jul 03, 2008 11:12 am    Post subject: Reply with quote

another question: What Ports are used by emerge? I'm behind a router so just the http: (Port 80) and the ftp: (Port 21-23) are directed to me and not firewalled.

Is it using another Port as 21-23 or 80?
Back to top
View user's profile Send private message
Clad in Sky
l33t
l33t


Joined: 04 May 2007
Posts: 894
Location: Germany

PostPosted: Thu Jul 03, 2008 11:59 am    Post subject: Reply with quote

Hello... could it be you are from Germany using a FritzBox (and perhaps 1&1 as your ISP)?
If so I can't really help you because I had exactly the same problem about a year ago. Sometimes it worked, sometimes it didn't.
Perhaps you can tell the FritzBox (if you use one) not to use IPv6 or somthing...

And no, the ports you mentioned(80, 21) are the ones portage uses.


Last edited by Clad in Sky on Thu Jul 03, 2008 12:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Thu Jul 03, 2008 11:59 am    Post subject: Reply with quote

port 873 for rsync.

You could remove the GENTOO_MIRRORS and SYNC fom make.conf. It has defaults it will use and you don't need to add them manualy. Of course you could change them later if the default mirror you get has problems,

"no md5sum present on this mirror..."
This just sounds like a bad mirror.
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Thu Jul 03, 2008 2:24 pm    Post subject: Reply with quote

Hmmm... I could not ping rsync.gentoo.org, but if I enter the IP Adress (134.68.220.74), I got an result of 120ms...

Can I tell him somewhere to use this IP, or how to resolve his URL??


Last edited by Punami on Thu Jul 03, 2008 2:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
AnimAlf
Apprentice
Apprentice


Joined: 20 Jun 2008
Posts: 229
Location: tgn

PostPosted: Thu Jul 03, 2008 2:34 pm    Post subject: Reply with quote

Punami wrote:
How coulkd I get the IP of my system? I need it to configure my router


one simple html page
Code:

<html><head></head><body>
<script language=Javascript>
<!--
  var ip = new java.net.InetAddress.getLocalHost();
  var ipStr = new java.lang.String(ip);
  document.writeln( "IP:" + ipStr.substring(ipStr.indexOf("/")+1));
// -->
</script></body></html>

_________________
En busca del TuXeR perdido
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Thu Jul 03, 2008 3:50 pm    Post subject: Reply with quote

Punami wrote:
Hmmm... I could not ping rsync.gentoo.org, but if I enter the IP Adress (134.68.220.74), I got an result of 120ms...

Can I tell him somewhere to use this IP, or how to resolve his URL??

you can specify a nameserver in /etc/conf.d/net and it will update /etc/resolv.conf when it starts. If you are using a static config. something like...
Quote:
dns_servers_eth0="192.168.1.1"
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Thu Jul 03, 2008 4:08 pm    Post subject: Reply with quote

But in the resolv.conf are the nameservers exactly the same as on my Debian System and on my Brothers Ubuntu System. There it work. I could ping gentoo just by using its URL...
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Thu Jul 03, 2008 4:20 pm    Post subject: Reply with quote

Ok, and you are not having other types of network problems? I missed that you said links was working ok in your first post. :) that still works?
What is the error message you get when you try to emerge --sync?
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Thu Jul 03, 2008 4:32 pm    Post subject: Reply with quote

"-3 Temporary Failure in name resolution"
>>>Starting rsync with rsync://rsync.gentoo.org/gentoo-portage
>>>Checking server timestamp ...
failure -3
rsync error: error in Socket IO (code 10) at clientserver.c(104) [reciver=2.6.4....
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Thu Jul 03, 2008 4:46 pm    Post subject: Reply with quote

And you don't have other network problems? I just want to make sure resolv.conf isn't really in /dev as it should be in /etc. can you ping the forum?
ping -c1 forums.gentoo.org
Back to top
View user's profile Send private message
Punami
n00b
n00b


Joined: 02 Jul 2008
Posts: 14
Location: /dev/null

PostPosted: Thu Jul 03, 2008 5:15 pm    Post subject: Reply with quote

Thanks!
I've copied resolv.conf from /dev to /etc...
It worked!
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 981
Location: The Village, Portmeirion

PostPosted: Thu Jul 03, 2008 7:38 pm    Post subject: Reply with quote

Glad to hear.

Thanks for the feedback and sticking to it. :)
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2608

PostPosted: Fri Jul 04, 2008 12:32 am    Post subject: Reply with quote

Firstly, I'm glad that you have found the solution to your problem. If you no longer need assistance on this matter, please add [SOLVED] to the thread title, so that others may easily find your solution. Thank you preemptively.
_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
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