Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problemi con l'aggiornamento
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 103

PostPosted: Wed Feb 05, 2025 2:29 pm    Post subject: problemi con l'aggiornamento Reply with quote

Da un paio di giorni mi da errore in fase di aggiornamento.

Code:
>>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'...
 * Using keys from /usr/share/openpgp-keys/gentoo-release.asc
 * Refreshing keys via WKD ...                                           [ ok ]
>>> Starting rsync with rsync://rsync.gentoo.org/gentoo-portage...
rsync: [Receiver] safe_read failed to read 1 bytes: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(283) [Receiver=3.3.0]
>>> Retrying...
!!! Exhausted addresses for rsync.gentoo.org

Action: sync for repo: gentoo, returned code = 1


Che significa "safe_read failed to read 1 bytes"?
Non ho capito, quale sarebbe il byte che non legge?
: /
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31475
Location: here

PostPosted: Wed Feb 05, 2025 2:46 pm    Post subject: Reply with quote

Hai provato a con un mirror?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
luna80
Veteran
Veteran


Joined: 01 Feb 2004
Posts: 1565
Location: switzerland

PostPosted: Thu Feb 06, 2025 3:15 pm    Post subject: Reply with quote

Non è che hai provato a fare il sync diverse volte nelle 24h?
Mi sembra di aver avuto un errore simile una volta, in teoria si viene temporaneamente bannati se si lancia il comando emerge sync troppo spesso.
Non vorrei dire una cavolata ma l'errore era quello mi sembra, ho aspettato un giorno, ho riprovato ed è andato a buon fine.
Adesso sono passata a git, ed il problema non si pone più

Però ripeto, non sono sicura
_________________
*** !f j00 c4n r34D tH15 tH3N j00 n33D t0 l0g Off ***
Back to top
View user's profile Send private message
yayo
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2014
Posts: 103

PostPosted: Thu Feb 06, 2025 9:15 pm    Post subject: Reply with quote

Ho riprovato oggi senza cambiare nulla (non ho avuto il tempo), e adesso funziona.

Anch'io temevo potesse essere un ban temporaneo per abuso. Ma mi pareva un po' strano, oltre che eccessivo. Al secondo giorno mi sono preoccupato...

Generalmente aggiorno la sera quando accendo il pc. Però non spacco il secondo: un giorno alle 19, un altro alle 22...
In tanti anni non ho mai avuto problemi. O_o
Chiaro che se una sera faccio le 22 e un'altra le 20, matematicamente sono meno di 24 ore. Però, insomma, mi pare uno zelo inutile un ban per 2 ore in più o meno... : /

Vabè, nel dubbio in futuro lo farò meno di frequente. Lo faccio ogni giorno appena accendo per non dimenticarmene, e per ridurre al minimo l'impatto su qualsiasi altra cosa mi metta a fare (questo pc è abbastanza veloce, ma per esempio sul vecchio, dove aggiorno più o meno ogni 15gg, come niente mi trovo all'improvviso gcc+clang+llvm+mesa e mi tocca farlo compilare 12 ore!).

In ogni caso, anche dalle risposte che mi date, non mi pare chiarissimo di cosa si tratti. Se è per un ban da abuso, è un po' criptico.

Piuttosto, visto che si può inserire un mirror diverso, posso metterne anche 2-3?
Con gentoo_mirrors in make.conf si può (se ricordo bene basta inserirli tra virgolette separati da spazi).
Se mi confermate che funziona uguale con l'uri di rsync,conf ce li metto, così ho un fallback.

Grazie a entrambi dell'aiuto!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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