Portál AbcLinuxu, 9. srpna 2025 20:27


Dotaz: emerge --sync konci chybou

20.8.2007 17:49 vsivak
emerge --sync konci chybou
Přečteno: 1340×
Odpovědět | Admin
Ahoj

Nevim jak je to mozne ale z niceho nic mi prestal fungovat emerge --sync

#emerge --sync

Notice: (-2, 'Name or service not known') >>> Starting rsync with rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage... >>> Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(276) [receiver=2.6.9] >>> Retrying... Notice: (-2, 'Name or service not known')

>>> Starting retry 1 of 3 with rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(276) [receiver=2.6.9] >>> Retrying... Notice: (-2, 'Name or service not known')

>>> Starting retry 2 of 3 with rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(276) [receiver=2.6.9] >>> Retrying... Notice: (-2, 'Name or service not known')

>>> Starting retry 3 of 3 with rsync://ftp.fi.muni.cz/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... timed out rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at rsync.c(276) [receiver=2.6.9]

!!! Rsync has not successfully finished. It is recommended that you keep !!! trying or that you use the 'emerge-webrsync' option if you are unable !!! to use rsync due to firewall or other restrictions. This should be a !!! temporary problem unless complications exist with your network !!! (and possibly your system's filesystem) configuration.
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

Luboš Doležel (Doli) avatar 20.8.2007 17:50 Luboš Doležel (Doli) | skóre: 98 | blog: Doliho blog | Kladensko
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
DNS vám funguje?
20.8.2007 18:30 vsivak
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Nameservery v resolv.conf nastavene mam, co je ale zvlastni kdyz jsem ted zadal links www.google.com tak ho skutecne nemuze resolvnout. Na iptables pres OUTPUT poustim uplne vse a INPUT zahazuju krome --dportu portu 20, 21, 22, 25, 80, 110, 443. Hral jsem si vcera s iptables to je pravda. Jeste podivnejsi je ze nemuzu v netu pingnout vubec zadnou ip adresu.

Tak nastavil jsem provizorne iptables -P INPUT ACCEPT a pokrocil jsem dal k chybe 10:

localhost / # emerge --sync

>>> Starting rsync with rsync://147.251.48.205/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage... >>> Checking server timestamp ... rsync: getaddrinfo: 147.251.48.205/pub/linux/gentoo/ rsync 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9] >>> Retrying...

>>> Starting retry 1 of 3 with rsync://147.251.48.205/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... rsync: getaddrinfo: 147.251.48.205/pub/linux/gentoo/ rsync 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9] >>> Retrying...

>>> Starting retry 2 of 3 with rsync://147.251.48.205/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... rsync: getaddrinfo: 147.251.48.205/pub/linux/gentoo/ rsync 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9] >>> Retrying...

>>> Starting retry 3 of 3 with rsync://147.251.48.205/pub/linux/gentoo/ rsync://gentoo.mirrors.tds.net/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage >>> Checking server timestamp ... rsync: getaddrinfo: 147.251.48.205/pub/linux/gentoo/ rsync 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]

!!! Rsync has not successfully finished. It is recommended that you keep !!! trying or that you use the 'emerge-webrsync' option if you are unable !!! to use rsync due to firewall or other restrictions. This should be a !!! temporary problem unless complications exist with your network !!! (and possibly your system's filesystem) configuration.
20.8.2007 19:05 pasty | skóre: 4
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
zkus jiný port emerge -websync nebo změň pravidla pro iptables
“Práce mě přímo fascinuje! Celé hodiny se na ni vydržím dívat.”
David Watzke avatar 20.8.2007 19:27 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Měls asi na mysli emerge-webrsync, kterej ovšem tyhle hrátky s iptables nezachrání :-D Takže autorovi doporučuju rozchodit si net. Pro začátek bych zkusil:
/etc/init.d/iptables stop
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F -t filter
iptables -F -t nat
iptables -X
:-D
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
20.8.2007 21:55 vsivak
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Moc vtipne net mi chodi dobre. Hledal jsem popis te chyby co se mi vraci ale nikde nic. emerge-webrsync taky kolabuje.

localhost / # emerge-webrsync

Fetching most recent snapshot Attempting to fetch file dated: 20070819 md5sum: portage-20070819.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070819.tar.bz2 md5sum: portage-20070819.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070819.tar.bz2 Attempting to fetch file dated: 20070818 md5sum: portage-20070818.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070818.tar.bz2 md5sum: portage-20070818.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070818.tar.bz2 Attempting to fetch file dated: 20070817 md5sum: portage-20070817.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070817.tar.bz2 md5sum: portage-20070817.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070817.tar.bz2 Attempting to fetch file dated: 20070816 md5sum: portage-20070816.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070816.tar.bz2 md5sum: portage-20070816.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070816.tar.bz2 Attempting to fetch file dated: 20070815 md5sum: portage-20070815.tar.bz2.md5sum: no properly formatted MD5 checksum lines found md5 failed on portage-20070815.tar.bz2
Luboš Doležel (Doli) avatar 20.8.2007 22:07 Luboš Doležel (Doli) | skóre: 98 | blog: Doliho blog | Kladensko
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Moc vtipne net mi chodi dobre.
To mi teda nepřipadá.
20.8.2007 22:19 vsivak
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Tak jsem rozchodil emerge-webrsync tim ze jsem vymazal tento adresar z /var/tmp. No to je fakt super. Sakra proc mi teda nefunguje obycejny rsync.
H0ax avatar 21.8.2007 05:44 H0ax | skóre: 36 | blog: Odnikud_nikam
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Chtělo by to výpis iptables, protože
pres OUTPUT poustim uplne vse a INPUT zahazuju krome --dportu portu 20, 21, 22, 25, 80, 110, 443
v INPUTU je ti dport k ničemu, protože se tím myslí ty porty co máš otevřené TY. Měl bys tam mít
--sport
Kromě toho bych tam dal raději
iptables -A INPUT -p all -m state --state ESTABLISHED,RELATED -j ACCEPT
a máš vystaráno s příchozíma konexema.
uid=0(root) gid=0(root) skupiny=0(root)
David Watzke avatar 21.8.2007 05:43 David Watzke | skóre: 74 | blog: Blog... | Praha
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Net ti chodí výborně, až na to, že nemůžeš pingnout žádnou adresu a nejde ti rsync. To nebyl vtip. Zkoušels teda zrušit ten firewall?
“Being honest may not get you a lot of friends but it’ll always get you the right ones” ―John Lennon
21.8.2007 10:37 mseed
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nedavno jsem resil u kamarada stejny problem, pomohlo reemergnout rsync (emerge rsync).
21.8.2007 12:07 Jooky (inactive) | skóre: 39 | blog: Jooky | Bratislava
Rozbalit Rozbalit vše Re: emerge --sync konci chybou
Odpovědět | | Sbalit | Link | Blokovat | Admin
Nemas nahodov v /etc/make.conf v SYNC="" viac ako jeden mirror ?

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.